Sender: |
|
Date: |
Fri, 12 Oct 2007 17:42:24 -0400 |
MIME-version: |
1.0 (Apple Message framework v752.3) |
Reply-To: |
|
Content-type: |
text/plain; charset=US-ASCII; delsp=yes; format=flowed |
Subject: |
|
From: |
|
In-Reply-To: |
|
Content-transfer-encoding: |
7bit |
Comments: |
|
Parts/Attachments: |
|
|
This has got to be a bug in SparseFieldProtrayal3D's updateModel
method. I can see all sorts of evil places where there's likely a
bug there -- the number one possibility is that globalTG.removeChild
(t) may be operating in the middle of the for-loop over
globalTG.numChildren(), which is probably not wise. :-)
Unfortunately, I do not have enough time to look at this code and
debug it for a week or more (grant proposal deadline). Gabriel might
have time possibly.
Sean
On Oct 12, 2007, at 5:18 PM, Glen E. P. Ropella wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Does this exception look familiar to anyone? As far as I can tell, it
> doesn't even touch my code at all. And even though I'm using a fixed
> seed so that it should be determined, the error only pops up
> sporadically.
>
> - ------------------------------------------------------------
> java.lang.IndexOutOfBoundsException: Index: 820, Size: 797
> at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> at java.util.ArrayList.get(ArrayList.java:322)
> at javax.media.j3d.GroupRetained.getChild
> (GroupRetained.java:423)
> at javax.media.j3d.Group.getChild(Group.java:229)
> at
> sim.portrayal3d.SparseFieldPortrayal3D.updateModel
> (SparseFieldPortrayal3D.java:110)
> at
> sim.portrayal3d.FieldPortrayal3D.getModel(FieldPortrayal3D.java:182)
> at sim.display3d.Display3D.updateSceneGraph(Display3D.java:
> 1142)
> at sim.display3d.Display3D.step(Display3D.java:1098)
> at sim.display.GUIState$Repeat.step(GUIState.java:606)
> at sim.display.GUIState.step(GUIState.java:428)
> at sim.display.Console$56.run(Console.java:2277)
> at java.lang.Thread.run(Thread.java:619)
> - ------------------------------------------------------------
>
> - --
> glen e. p. ropella, 971-219-3846, http://tempusdictum.com
> The only good is knowledge and the only evil is ignorance. -- Socrates
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHD+SJZeB+vOTnLkoRAs95AJ4jaTZfe60d7mTQBHClDAd4vim27gCgvnw5
> UeV7CdlGxQczkltpo2mP2XY=
> =e1ib
> -----END PGP SIGNATURE-----
|
|
|