Dynamically Adding Bodies [NEVERMIND]

OK, so I have a class I call a Generator that extends MovieClip, and is sitting at the root of my wck.World display list. The Generator dynamically adds a new BodyShape to its display list, producing the following error:

Quote:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at wck::BodyShape/createShapes()[C:\Users\Web PC User 1\Desktop\DAVID\Doughboy\Physics\wck-lib\wck\BodyShape.as:1318]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at wck::World/step()[C:\Users\Web PC User 1\Desktop\DAVID\Doughboy\Physics\wck-lib\wck\World.as:193]


What am I doing wrong here?
I think this is turning out to be another in a series of oops-my-mistake posts. 🙄
The problem appears to be something to do with the dynamic object I'm trying to add, as it works fine with a different object.

[EDIT]
...and now, everything works just fine. Maybe Flash needed a restart? Maybe my machine needed a restart? Maybe I needed a good night's sleep? ... «sigh»
Hi I do get the same error when I try to add a new object to my scene dynamic... but unfourcently I do not know why I do get this error 🙁

Original thread: https://box2d.org/forum/viewtopic.php?t=6425