Administrator
|
On 01/27/2014 01:20 PM, Sven Gothel wrote:
> (Iff this is assumed to be a JOGL bug) If the stack trace matches (please provide one) with: <http://forum.jogamp.org/JOGL-commit-166e5da-causes-deadlock-errors-in-Java-3D-td4031305.html> .. i.e. JAWTWindow's destroy() and subsequent detach() method it is highly likely the same issue. I will answer on the orig. thread. ~Sven signature.asc (894 bytes) Download Attachment |
Administrator
|
In reply to this post by Manu
On 01/27/2014 01:36 PM, Sven Gothel wrote:
> On 01/27/2014 01:20 PM, Sven Gothel wrote: >> (Iff this is assumed to be a JOGL bug) > If the stack trace matches (please provide one) with: > <http://forum.jogamp.org/JOGL-commit-166e5da-causes-deadlock-errors-in-Java-3D-td4031305.html> > .. i.e. JAWTWindow's destroy() and subsequent detach() method > it is highly likely the same issue. > > I will answer on the orig. thread. > > ~Sven > <http://jogamp.org/deployment/archive/master/gluegen_770-joal_519-jogl_1214-jocl_920/> If _not_ working, pls attach the 'jstack -l <pid> > a.log' file, documenting the deadlock. Thank you. ~Sven signature.asc (894 bytes) Download Attachment |
It works for me with Java 6, 7u40 and 7u60. Thanks.
Emmanuel Puybaret
|
Does this mean the last of your location/sizing bugs are now gone? That would be a big deal.
Harvey |
It used to correctly work with JOGL 2.1.2 already.
But not with Java 7u60 where it works too now. On the other side, onscreen canvas 3D still doesn't work with applets with another issue. Here's the stack trace if it can help: java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException at jogamp.nativewindow.NativeWindowFactoryImpl.getAWTNativeWindow(NativeWindowFactoryImpl.java:107) at jogamp.nativewindow.NativeWindowFactoryImpl.getNativeWindowImpl(NativeWindowFactoryImpl.java:66) at javax.media.nativewindow.NativeWindowFactory.getNativeWindow(NativeWindowFactory.java:573) at javax.media.j3d.JoglPipeline.createNewContext(JoglPipeline.java:6374) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:4611) at javax.media.j3d.Canvas3D.createNewContext(Canvas3D.java:2381) at javax.media.j3d.Renderer.doWork(Renderer.java:881) at javax.media.j3d.J3dThread.run(J3dThread.java:271) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at jogamp.nativewindow.NativeWindowFactoryImpl.getAWTNativeWindow(NativeWindowFactoryImpl.java:105) ... 7 more Caused by: java.lang.NullPointerException at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1011) at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1007) at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1002) at java.awt.Toolkit.getEventQueue(Toolkit.java:1730) at java.awt.EventQueue.isDispatchThread(EventQueue.java:1013) at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:48) at com.jogamp.nativewindow.awt.JAWTWindow$JAWTComponentListener.<init>(JAWTWindow.java:166) at com.jogamp.nativewindow.awt.JAWTWindow$JAWTComponentListener.<init>(JAWTWindow.java:127) at com.jogamp.nativewindow.awt.JAWTWindow.<init>(JAWTWindow.java:119) at jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow.<init>(MacOSXJAWTWindow.java:77) But don't worry, I can live with offscreen canvas 3D in applets for a while.
Emmanuel Puybaret
|
Administrator
|
On 01/27/2014 07:08 PM, Manu [via jogamp] wrote:
> On the other side, *onscreen* canvas 3D still doesn't work with applets with > another issue. > Here's the stack trace if it can help: > > Caused by: java.lang.NullPointerException > at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1011) > at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1007) > at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1002) > at java.awt.Toolkit.getEventQueue(Toolkit.java:1730) > at java.awt.EventQueue.isDispatchThread(EventQueue.java:1013) > at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:48) > at com.jogamp.nativewindow.awt.JAWTWindow$JAWTComponentListener.<init>(JAWTWindow.java:166) > at com.jogamp.nativewindow.awt.JAWTWindow$JAWTComponentListener.<init>(JAWTWindow.java:127) > at com.jogamp.nativewindow.awt.JAWTWindow.<init>(JAWTWindow.java:119) > at jogamp.nativewindow.jawt.macosx.MacOSXJAWTWindow.<init>(MacOSXJAWTWindow.java:77) Can you try to run JAWTWindow$JAWTComponentListener.<init> from the current thread ? However this could also cause a deadlock .. Maybe you or Harvey can test this (change .. compile ..) ? > > > But don't worry, I can live with offscreen canvas 3D in applets for a while. So this is 'offscreen' or 'onscreen' ? ~Sven signature.asc (894 bytes) Download Attachment |
The bug is for onscreen canvases, but it doesn't happen for offscreen canvases, so I keep using offscreen canvases until it's fixed.
Emmanuel Puybaret
|
Administrator
|
On 01/27/2014 08:44 PM, Manu [via jogamp] wrote:
> Sven Gothel wrote > > But don't worry, I can live with offscreen canvas 3D in applets for a > while. > > So this is 'offscreen' or 'onscreen' ? > > The bug is for onscreen canvases, but it doesn't happen for offscreen > canvases, so I keep using offscreen canvases until it's fixed. > Emmanuel Puybaret Please file a bug report for Java3D and attach your test case w/ a description of the error and how to reproduce incl. platform. Thank you! ~Sven signature.asc (894 bytes) Download Attachment |
Free forum by Nabble | Edit this page |