![]() |
|
|||||||
| Bug Reports If you've found a bug in World Wind, discuss it here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2012
Posts: 3
![]() |
Hi everybody,
I try to work with WorldWind Java on my MacBook pro (Mac OS 10.7.4) and i have some kind of bugs. For example, when i lauch worlwind with the script ./run-demo.bash gov.nasa.worldwindx.examples.Application Template, the new window opens but the globe is off and i have errors in my console : Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: java.lang.NoClassDefFoundError: apple/awt/ComponentModel at com.sun.opengl.impl.Java2D.invokeWithOGL ContextCurrent(Java2D.java:296) at javax.media.opengl.Threading.invokeOnOpe nGLThread(Threading.java:266) at javax.media.opengl.GLCanvas.maybeDoSingl eThreadedWorkaround(GLCanvas.java:410) at javax.media.opengl.GLCanvas.display(GLCa nvas.java:244) at javax.media.opengl.GLCanvas.paint(GLCanv as.java:277) at sun.awt.RepaintArea.paintComponent(Repai ntArea.java:264) at sun.lwawt.LWRepaintArea.paintComponent(L WRepaintArea.java:54) at sun.awt.RepaintArea.paint(RepaintArea.ja va:240) at sun.lwawt.LWComponentPeer.handleJavaPain tEvent(LWComponentPeer.java:1262) at sun.lwawt.LWComponentPeer.handleEvent(LW ComponentPeer.java:1150) at java.awt.Component.dispatchEventImpl(Com ponent.java:4937) at java.awt.Component.dispatchEvent(Compone nt.java:4687) at java.awt.EventQueue.dispatchEventImpl(Ev entQueue.java:703) at java.awt.EventQueue.access$000(EventQueu e.java:102) at java.awt.EventQueue$3.run(EventQueue.jav a:662) at java.awt.EventQueue$3.run(EventQueue.jav a:660) at java.security.AccessController.doPrivile ged(Native Method) at java.security.ProtectionDomain$1.doInter sectionPrivilege(ProtectionDomain.java:7 6) at java.security.ProtectionDomain$1.doInter sectionPrivilege(ProtectionDomain.java:8 7) at java.awt.EventQueue$4.run(EventQueue.jav a:676) at java.awt.EventQueue$4.run(EventQueue.jav a:674) at java.security.AccessController.doPrivile ged(Native Method) at java.security.ProtectionDomain$1.doInter sectionPrivilege(ProtectionDomain.java:7 6) at java.awt.EventQueue.dispatchEvent(EventQ ueue.java:673) at java.awt.EventDispatchThread.pumpOneEven tForFilters(EventDispatchThread.java:244 ) at java.awt.EventDispatchThread.pumpEventsF orFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsF orHierarchy(EventDispatchThread.java:151 ) at java.awt.EventDispatchThread.pumpEvents( EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents( EventDispatchThread.java:139) at java.awt.EventDispatchThread.run(EventDi spatchThread.java:97) Caused by: java.lang.NoClassDefFoundError: apple/awt/ComponentModel at com.sun.opengl.impl.JAWT_DrawingSurface. GetDrawingSurfaceInfo0(Native Method) at com.sun.opengl.impl.JAWT_DrawingSurface. GetDrawingSurfaceInfo(JAWT_DrawingSurfac e.java:56) at com.sun.opengl.impl.macosx.MacOSXOnscree nGLDrawable$1.run(MacOSXOnscreenGLDrawab le.java:165) at java.security.AccessController.doPrivile ged(Native Method) at com.sun.opengl.impl.macosx.MacOSXOnscree nGLDrawable.lockSurface(MacOSXOnscreenGL Drawable.java:163) at com.sun.opengl.impl.macosx.MacOSXOnscree nGLContext.makeCurrentImpl(MacOSXOnscree nGLContext.java:57) at com.sun.opengl.impl.GLContextImpl.makeCu rrent(GLContextImpl.java:134) at com.sun.opengl.impl.GLDrawableHelper.inv okeGL(GLDrawableHelper.java:182) at javax.media.opengl.GLCanvas$DisplayOnEve ntDispatchThreadAction.run(GLCanvas.java :452) at sun.java2d.opengl.OGLRenderQueue$QueueFl usher.run(OGLRenderQueue.java:234) Caused by: java.lang.ClassNotFoundException: apple.awt.ComponentModel at java.net.URLClassLoader$1.run(URLClassLo ader.java:366) at java.net.URLClassLoader$1.run(URLClassLo ader.java:355) at java.security.AccessController.doPrivile ged(Native Method) at java.net.URLClassLoader.findClass(URLCla ssLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoa der.java:423) at java.lang.ClassLoader.loadClass(ClassLoa der.java:356) And an other when i move my mouse on the globe (that i can't see...) : javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[Java2D Queue Flusher,10,system] at com.sun.opengl.impl.GLContextLock.lock(G LContextLock.java:83) at com.sun.opengl.impl.GLContextImpl.makeCu rrent(GLContextImpl.java:131) at com.sun.opengl.impl.GLDrawableHelper.inv okeGL(GLDrawableHelper.java:182) at javax.media.opengl.GLCanvas$DisplayOnEve ntDispatchThreadAction.run(GLCanvas.java :452) at sun.java2d.opengl.OGLRenderQueue$QueueFl usher.run(OGLRenderQueue.java:234) Did i do something wrong ? or is anybody have the solution ? Thank's |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2012
Posts: 4
![]() |
This looks to be a problem with Jogl 1.1.1 and MacOS JRE 1.7. From what I can tell, MacOS JRE 1.7 (as supplied by Oracle) is not compatible with Jogl 1.1.1. I haven't looked into the details of why, but I have been able to verify the following:
Create a simple Jogl 1.1.1 app. Using eclipse, set my JRE to 1.6, run the app, it works. Set the JRE to 1.7, run the app, and I get similar stack trace problems that you're showing. If I create a Jogl 2.x app, it works fine with both JRE 1.6 and JRE 1.7. Also note that Jogl 1.1.1 does work with the Linux JRE 1.7, so this is probably a MacOS scoped problem. It's a bummer though because I'd like to develop on either system, and we've got a bunch of code now written against 1.7, so it's an issue. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2008
Location: Washington D.C.
Posts: 7
![]() |
I'm running into this too. Here the report: http://bugs.sun.com/view_bug.do?bug_id=7124557
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jun 2012
Posts: 3
![]() |
Thanks for your replies, but is there an issue now ? or should we wait for it ?
|
|
|
|
|
|
#5 |
|
Member
Join Date: Mar 2008
Posts: 91
![]() |
Is there a way to put 'pressure' on the JOGL guys or Oracle to get this fixed? This is becoming irritating waiting on the compatibility between JOGL and the newly released JDKs.
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Nov 2008
Location: Washington D.C.
Posts: 7
![]() |
I believe the fix is for world wind to update to jogl 2.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Jun 2012
Posts: 3
![]() |
I believe too. Does somebody know if WorldWind will be update to jogl 2 soon or not ? or at least if it's planned ?
|
|
|
|
|
|
#8 |
|
Junior Member
Join Date: May 2012
Posts: 4
![]() |
Don't know if we'll get the WW guys to do it, but someone else has taken it upon themselves to help everyone out. Check out the java forum
http://forum.worldwindcentral.com/sh...ad.php?t=33224 |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with WWJ Applet in Mac OS | xenver | Development Help | 5 | 03-15-2011 02:47 PM |
| JSplitPane resize bug | peterdn1 | Development Help | 2 | 12-10-2010 03:18 PM |
| Serious bug with Mac OS X Flickering - found the cause | fabrizio.giudici | Development Help | 8 | 06-20-2010 03:48 PM |
| Bug in the visualization for the terrain of CompoundElevationModel? | mao | Development Help | 8 | 03-20-2009 05:12 AM |
| Possible Bug in WorldWind 0.5.0 IconRenderer | Griff241 | Development Help | 5 | 06-16-2008 11:24 PM |