Hi guys,

I get the following exception now and again with the J3D1.2 alpha1
and JDK1.3 beta.

java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.remove(Unknown Source)
        at
javax.media.j3d.RenderMolecule.removeRenderAtom(RenderMolecule.java:7
81)
        at
javax.media.j3d.RenderBin.processAppearanceChanged(RenderBin.java:916
)
        at javax.media.j3d.RenderBin.processMessages(RenderBin.java:515)
        at
javax.media.j3d.StructureUpdateThread.doWork(StructureUpdateThread.ja
va:58)
        at javax.media.j3d.J3dThread.run(J3dThread.java:248)

In my scene I have collision detection and picking. When an object is
picked I remove it from the scene to clone it and I put the clone in another
Canvas3D. Up to here it looks fine. However sometimes, I get the above
message... Does anyone have a clue on what is going on?

Thanks,

Chris.

PS:
I change the appearance of the object when it collides. If that can help...

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to