I'm making something of a guess here, but according to the
documentation[
^], the
Central.createSynthesizer()
returns
null
if no synthesizer of the required type exists. I assume you did not bother to check the return value before trying to use the object.