I have a class that extends BodyShape which is responsible for dynamically generating new BodyShapes. I'm overriding the create() function, and from there attempting to add a listener to the world for a StepEvent. Even after super.create() is called, world is still null -- despite the fact that the parent object is the world. So, I end up getting "Cannot access a property or method of a null object reference." ...huh?
[EDIT] Ugh... Not enough sleep last night. My ShapeBase code was conditionally calling super.create(); ...doh!
[EDIT] Ugh... Not enough sleep last night. My ShapeBase code was conditionally calling super.create(); ...doh!