I looked at the testcases under 4900656, and I suspect one of the the common themes to be TransformGroups under an OrderedGroup. In my case, I don't have any TGs under the OrderedGroup, and all of my OrderedGroups do work fine until I introduce a SharedGroup a couple of levels above the OrderedGroup. I'm wondering if there is this danger of trying to club possibly not-so-related problems under the same BugID.
I'll see if I can hack a quick testcase. Vaidya >On Mon, 15 Mar 2004 21:03:18 -0800, Chien Yang <[EMAIL PROTECTED]> wrote: >Vaidya, > Based on the trace, I believe you've hit a known j3d bug. As alway, >a test program will >be very helpful to us. > >BugId : 4900656 - IndexOutOfBoundsException while create scene with >OrderedGroup. > >thanks, > >- Chien Yang > Java 3D, Sun Microsystems Inc. > > > >N. Vaidya wrote: > >>I get the following trace when I try to add an OrderedGroup as >>an element of a subgraph under a SharedGroup - is it permissible >>at all to do this ? Couldn't get anything to the contrary from the >>API docs ! >> >>java.lang.ArrayIndexOutOfBoundsException: -1 >> at java.util.ArrayList.get(ArrayList.java:326) >> at javax.media.j3d.RenderBin.findOrderedCollection(RenderBin.java:4450) >> at javax.media.j3d.RenderBin.findEnvironmentSet(RenderBin.java:4804) >> at javax.media.j3d.RenderBin.insertRenderAtom(RenderBin.java:4271) >> at javax.media.j3d.RenderBin.processGeometryAtom(RenderBin.java:3748) >> at javax.media.j3d.BHTree.select(BHTree.java:171) >> 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.getVisibleBHTrees(BHTree.java:145) >> at >>javax.media.j3d.GeometryStructure.getVisibleBHTrees(GeometryStructure.java:580) >> at javax.media.j3d.RenderBin.processMessages(RenderBin.java:1771) >> at >>javax.media.j3d.StructureUpdateThread.doWork(StructureUpdateThread.java:83) >> at javax.media.j3d.J3dThread.run(J3dThread.java:250) >> >>=========================================================================== >>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". >> >> > > ========================================================================== >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". =========================================================================== 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".