Box2D exception

Hi !

I develop a platform game with box2D.
Sometimes, during collision between 2 objects, an exception is thrown :

Code:
TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul.
   at Box2D.Collision::b2DynamicTree/GetFatAABB()[/Box2D/Collision/b2DynamicTree.as:158]
   at Box2D.Collision::b2DynamicTreeBroadPhase/TestOverlap()[/Box2D/Collision/b2DynamicTreeBroadPhase.as:50]
   at Box2D.Dynamics::b2ContactManager/Collide()[/Box2D/Dynamics/b2ContactManager.as:259]
   at Box2D.Dynamics::b2World/Step()[/Box2D/Dynamics/b2World.as:578]



The parameter passed-in b2DynamicTree.GetFatAABB() is null !

During the collision I deactived one of these object.

Is it a bug of Box2D or it's me ?

P.S : Sorry for my english 🙂
do you change or remove something in box2d during the collision?

if so, try making the change out-side of the time-step (on next ENTER_FRAME). thats the only time that i have seen a box2d class have a null error.

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