World Wind Forums

Go Back   World Wind Forums > Support > Bug Reports

Bug Reports If you've found a bug in World Wind, discuss it here.

Reply
 
Thread Tools Display Modes
Old 06-25-2012, 07:54 PM   #1
Jojal
Junior Member
 
Join Date: Jun 2012
Posts: 3
Jojal is on a distinguished road
Default Bug on Mac OS X 10.7.4

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
Jojal is offline   Reply With Quote
Old 07-14-2012, 01:24 AM   #2
swilson007
Junior Member
 
Join Date: May 2012
Posts: 4
swilson007 is on a distinguished road
Default

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.
swilson007 is offline   Reply With Quote
Old 08-09-2012, 08:25 PM   #3
doyle
Junior Member
 
Join Date: Nov 2008
Location: Washington D.C.
Posts: 7
doyle is on a distinguished road
Default

I'm running into this too. Here the report: http://bugs.sun.com/view_bug.do?bug_id=7124557
doyle is offline   Reply With Quote
Old 08-09-2012, 08:43 PM   #4
Jojal
Junior Member
 
Join Date: Jun 2012
Posts: 3
Jojal is on a distinguished road
Default

Thanks for your replies, but is there an issue now ? or should we wait for it ?
Jojal is offline   Reply With Quote
Old 08-20-2012, 04:11 PM   #5
zaknixon
Member
 
Join Date: Mar 2008
Posts: 91
zaknixon is on a distinguished road
Default

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.
zaknixon is offline   Reply With Quote
Old 08-20-2012, 04:33 PM   #6
doyle
Junior Member
 
Join Date: Nov 2008
Location: Washington D.C.
Posts: 7
doyle is on a distinguished road
Default

I believe the fix is for world wind to update to jogl 2.
doyle is offline   Reply With Quote
Old 08-27-2012, 01:09 PM   #7
Jojal
Junior Member
 
Join Date: Jun 2012
Posts: 3
Jojal is on a distinguished road
Default

I believe too. Does somebody know if WorldWind will be update to jogl 2 soon or not ? or at least if it's planned ?
Jojal is offline   Reply With Quote
Old 08-27-2012, 09:05 PM   #8
swilson007
Junior Member
 
Join Date: May 2012
Posts: 4
swilson007 is on a distinguished road
Default

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
swilson007 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 04:49 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.