Fwd: Java3D and VisAD
Begin forwarded message:
From: gerard ziemski <gziemski@xxxxxxxxx>
Date: April 27, 2005 12:57:12 PM CDT
To: java-dev@xxxxxxxxxxxxxxx
Cc: Bruce Flynn <bmflynn@xxxxxxxxx>
Subject: Re: Java3D and VisAD
hi Bruce,
This particular exception is caused by a bug in our JAWT code that is used internally by Java3D. We have fixed this and the next release of Java we release should solve this.
cheers
On Apr 27, 2005, at 8:35 AM, java-dev-request@xxxxxxxxxxxxxxx wrote:
- Here's an oldie but a goodie....
Every once in a while I get one of 3 Exceptions listed below. I have
tried to reproduce the errors with some consistency but cannot find
the code that is specifically causing the exception.
#1
java.lang.IllegalMonitorStateException: current thread not owner
at javax.media.j3d.DrawingSurfaceObjectAWT.unlockAWT(Native Method)
at javax.media.j3d.DrawingSurfaceObjectAWT.unLock(DrawingSurfaceObjectAWT.java:82)
at javax.media.j3d.Renderer.doWork(Renderer.java:771)
at javax.media.j3d.J3dThread.run(J3dThread.java:250)
#2
2005-04-24 20:04:00.682 java[3026] _initWithWindowNumber: error
creating graphics ctxt object for ctxt:69359, window:1093664768
#3
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.IllegalMonitorStateException: current thread not owner
java.lang.IllegalMonitorStateException: current thread not owner
at javax.media.j3d.DrawingSurfaceObjectAWT.getDrawingSurfaceWindowIdAWT(Native
Method)
at javax.media.j3d.DrawingSurfaceObjectAWT.getDrawingSurfaceObjectInfo(DrawingSurfaceObjectAWT.java:106)
at javax.media.j3d.Canvas3D.paint(Canvas3D.java:1255)
at sun.awt.RepaintArea.paint(RepaintArea.java:194)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:281)
at java.awt.Component.dispatchEventImpl(Component.java:3744)
at java.awt.Component.dispatchEvent(Component.java:3543)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
On more of a positive note I did get the box zooming working like a
charm and since the target platform for my app is XP it's very nice to
see the anit-aliasing working.