> X-Sun-Charset: US-ASCII
> Date: Mon, 28 Feb 2000 09:48:20 -0800
> Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
> Sender: Discussion list for Java 3D API <[EMAIL PROTECTED]>
> From: Uma Sabada <[EMAIL PROTECTED]>
>
> Please send us a test program for this bug.
>
>
> Thanks
> Uma
> Java3D Team
>
> ----- Begin Included Message -----
>
> >From [EMAIL PROTECTED] Fri Feb 25 21:28:11 2000
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
> Date: Thu, 24 Feb 2000 13:22:04 +0200
> From: Pasi Paasiala <[EMAIL PROTECTED]>
> Subject: [JAVA3D] java.lang.IndexOutOfBoundsException occurs when using
> multiple
> universes
> To: [EMAIL PROTECTED]
>
> Hello,
>
> I start getting the following exceptions, when I'm having multiple virtual
> universes with the Java3D 1.2beta1
>
> java.lang.IndexOutOfBoundsException: Index: -1, Size: 68
> at java.util.ArrayList.RangeCheck(ArrayList.java:490)
> at java.util.ArrayList.remove(ArrayList.java:372)
> at javax.media.j3d.RenderBin.processMessages(RenderBin.java:688)
> at
> javax.media.j3d.StructureUpdateThread.doWork(StructureUpdateThread.java:79)
> at javax.media.j3d.J3dThread.run(J3dThread.java:256)
>
> java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
> at java.util.ArrayList.RangeCheck(ArrayList.java:490)
> at java.util.ArrayList.remove(ArrayList.java:372)
> at
> javax.media.j3d.RenderMolecule.addRenderAtom(RenderMolecule.java:851)
> at javax.media.j3d.RenderBin.findRenderMolecule(RenderBin.java:3115)
> at javax.media.j3d.RenderBin.reInsertRenderAtom(RenderBin.java:2627)
> at javax.media.j3d.RenderBin.reInsertTextureBin(RenderBin.java:2621)
> at
> javax.media.j3d.RenderBin.reInsertAttributeBin(RenderBin.java:2613)
> at
> javax.media.j3d.RenderBin.processAppearanceChanged(RenderBin.java:1140)
> at javax.media.j3d.RenderBin.processMessages(RenderBin.java:784)
> at
> javax.media.j3d.StructureUpdateThread.doWork(StructureUpdateThread.java:79)
> at javax.media.j3d.J3dThread.run(J3dThread.java:256)
>
> Is this something new or have these bugs already been fixed.
>
> Pasi
I am experiencing the same problem with J3D1.2b1. Some days ago I
posted a question about what I thought was a bug in the
cloneTree()-method. In short, I want to duplicate a child of a Switch
node and put it in its own window, which means a simple JFrame. While
in J3D1.1 the cloneTree()-method throws an exception, in J3D1.2b1
cloneTree() works, but I basically get the same exception as Pasi when
I call the addBranchGraph()-method. A little bit mysterious seems to
me, that I can call my duplicateWindow()-routine one and sometimes two
times without an error, so two virtual universes pose no problem.
My question is, if it is recommended to use only one virtual universe
and attach different locales to it. Will this be "error free"? If so,
is it possible to attach more than one Locale to a SimpleUniverse or
do I have to construct my own virtual universe with its own View,
PhysicalBody, etc.?
Thanks in advance,
Ingo Brunberg
===========================================================================
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".