Hi there,

 

Following on from my last email (RE: [JAVA3D] Canvas3D in JInternalFrames on JDesktopPane: Explain the stacktrace / BUG)  I thought I might send some code which generates the error. Basically I have stripped out most stuff and what I have left will still cause the error.

 

java.lang.ArrayIndexOutOfBoundsException

      at javax.media.j3d.GeometryArrayRetained.getDlistTimeStamp(GeometryArrayRetained.java:7682)

        at javax.media.j3d.RenderBin.updateDlistCanvasResource(RenderBin.java:768)

        at javax.media.j3d.RenderBin.updateObject(RenderBin.java:633)

        at javax.media.j3d.MasterControl.updateMirrorObjects(MasterControl.java:2367)

        at javax.media.j3d.MasterControl.runMonitor(MasterControl.java:2975)

        at javax.media.j3d.MasterControl.doWork(MasterControl.java:2592)

        at javax.media.j3d.MasterControlThread.run(MasterControlThread.java:28)

 

INSTRUCTIONS.

 

Java RenderFrame

Goto menu:   FILE ->> OPEN ,   4 frames should be created.

Goto menu:  WINDOW ->> TILE ______    so you can see them all

Goto menu:   FILE ->> OPEN to create some more.  Program Crashes… fatally.

 

Also I’ve noticed twice (ever) that randomly I can sometimes create more than 4 frames. Today I got upto 20 before it crashed. But was completely random as I didn’t change any code.  I think perhaps it’s related to the way in which I create generate my objects…. any comments would be useful

I hope that someone can help – Thanks in advance.

 

 

Regards,

Spencer Goh

 

~~~~~~~~~~~~~~~~~~~~~~~~
Postgraduate
Computer Science
University of Birmingham
07747 600 436
www.spencergoh.com

[EMAIL PROTECTED]

 

 

 

Canvas3DintFrame.java

RenderFrame.java

Reply via email to