Alan Hudson wrote:
I get the following crash sometimes(1 in 15 maybe) in Xj3D when inside a browser. Any thoughts? Does the findOrderedCollection call have something todo with orderedGroups? Ie is this code basically saying I have a bad index in an orderedGroup children list?This is with the 1.3 released version. I'll switch to the beta for a bit to see if this still pops up. java.lang.IndexOutOfBoundsException: Index: -1, Size: 2 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.get(ArrayList.java:320) at javax.media.j3d.RenderBin.findOrderedCollection(RenderBin.java:4447) at javax.media.j3d.RenderBin.findEnvironmentSet(RenderBin.java:4801) at javax.media.j3d.RenderBin.insertRenderAtom(RenderBin.java:4268) at javax.media.j3d.RenderBin.processGeometryAtom(RenderBin.java:3745) at javax.media.j3d.BHTree.select(BHTree.java:171) at javax.media.j3d.BHTree.select(BHTree.java:184) at javax.media.j3d.BHTree.select(BHTree.java:184) at javax.media.j3d.BHTree.select(BHTree.java:181) at javax.media.j3d.BHTree.select(BHTree.java:181) at javax.media.j3d.BHTree.select(BHTree.java:181) at javax.media.j3d.BHTree.select(BHTree.java:190) at javax.media.j3d.BHTree.select(BHTree.java:201) at javax.media.j3d.BHTree.select(BHTree.java:198) at javax.media.j3d.BHTree.select(BHTree.java:201) at javax.media.j3d.BHTree.getVisibleBHTrees(BHTree.java:145) at javax.media.j3d.GeometryStructure.getVisibleBHTrees(GeometryStructure.java:580) at javax.media.j3d.RenderBin.processMessages(RenderBin.java:1776) at javax.media.j3d.StructureUpdateThread.doWork(StructureUpdateThread.java:83) at javax.media.j3d.J3dThread.run(J3dThread.java:250) -- Alan Hudson President: Yumetech, Inc. http://www.yumetech.com/ Web3D Open Source Chair http://www.web3d.org/TaskGroups/source/
This bug 4798443 - RenderBin findOrderedCollection throws IndexOutOfBoundsException is fixed in the next v1.3.1 release. (can't make into v1.3.1 beta1) - Kelvin -------------- Java 3D Team Sun Microsystems Inc. =========================================================================== 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".
