ok, i do know that it has been a long time this problem is solved, however, i have the following similar error:
TypeError: Error #2007: Parameter type must be non-null.
now, i know we're discussing about the same error, however due to endless researching n going around in circles, it turns out that Error #2007 has tons of forms....
i would paste my code here, but let's face it, i really don't know which part of the code to paste (EventDispatcher's code? ResourceManagerImp's code?... and so on)...
please, i would love that someone would reply and help out... even if you don't have a solution, i'd be greatful if i got some directions to certain sites so that i'd take the research from there!...