TypeError: Error #1009 with rollover

When I import like that:

collada60=new Collada("60sided.dae");

When I assign material, like thtat

var ml48 : MaterialsList = new MaterialsList();
			ml48.addMaterial(mat, "MGLColor0"); 
collada60=new Collada("60sided.dae",ml60,1,0);

Then when I rollover the object with mouse, I got this message:

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 org.papervision3d.core.render.command::RenderTriangle/deepHitTest()
at org.papervision3d.core.render.command::RenderTriangle/hitTestPoint2D()
at org.papervision3d.view::Viewport3D/hitTestPoint2D()
at org.papervision3d.core.utils::InteractiveSceneManager/resolveRenderHitData()
at org.papervision3d.core.utils::InteractiveSceneManager/updateRenderHitData()
at org.papervision3d.view::Viewport3D/updateAfterRender()
at org.papervision3d.render::BasicRenderEngine/doRender()
at org.papervision3d.render::BasicRenderEngine/renderScene()
at Base3D/monEnterFrame()

Any help ?

This looks like a problem relating to papervision 3d, I would recommend checking the papervision 3d forums for more information on this.


Acutally if I just do like that:

collada60=new Collada(“60sided.dae”,ml60);

I don’t have the rollover problem anymore.