[JHV 2.1] ava.lang.UnsatisfiedLinkError: com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/ByteBuffer;)Z

Bug #693193 reported by Daniel Mueller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
JHelioviewer
Fix Committed
High
Andre Dau

Bug Description

Bug report from K. S. Balasubramaniam <email address hidden>:

>I tried to download the Jhelioviewer on my MAC, and install it.
>I got an error message during the install, appended below.
>The error message asked me to go to a website and report the error

Uncaught Exception detected.

Configuration:
JHelioviewer - Version: 2.1.2
JHelioviewer - Revision: 397
Java Virtual Machine - Name: Java HotSpot(TM) 64-Bit Server VM
Java Virtual Machine - Vendor: Apple Inc.
Java Virtual Machine - Version: 17.1-b03-307
JRE Specification - Version: 1.6
Operating System - Name: Mac OS X
Operating System - Architecture: x86_64
Operating System - Version: 10.6.5

Date: Tue Dec 21 18:39:20 GMT 2010
Thread: Thread[AWT-EventQueue-0,6,main]
Message: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]

Stacktrace:
javax.media.opengl.GLException
at com.sun.opengl.impl.GLContextLock.lock(GLContextLock.java:83)
at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:131)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
at sun.awt.RepaintArea.paint(RepaintArea.java:241)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
at java.awt.Component.dispatchEventImpl(Component.java:4790)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Log:
2010-12-21 11:38:08,761 [main] INFO root - JHelioviewer started with command-line options:
2010-12-21 11:38:08,763 [main] INFO root - Create directories...
2010-12-21 11:38:08,766 [main] DEBUG root - >> LogSettings.update() > Log settings modified. Update changes.
2010-12-21 11:38:08,768 [main] INFO root - Store log settings to /Users/bala/JHelioviewer/Settings/log4j.properties
2010-12-21 11:38:08,806 [main] INFO root - >> JHVGlobals.determineVersionAndRevision() > Look for jar file: /Applications/JHelioviewer.app/Contents/Resources/Java/JHelioviewer.jar
2010-12-21 11:38:08,807 [main] INFO root - Initializing JHelioviewer
2010-12-21 11:38:08,808 [main] DEBUG root - Create splash screen
2010-12-21 11:38:10,580 [main] DEBUG root - Number of progress steps: 10
2010-12-21 11:38:10,581 [main] INFO root - Load settings
2010-12-21 11:38:10,589 [main] DEBUG root - >> Settings.load() > Load default system settings: {API.event.path=http://helioviewer.nascom.nasa.gov/api/, API.dataSources.path=http://helioviewer.nascom.nasa.gov/api/?action=getDataSources&verbose=true, connection.read.timeout=60000, default.remote.lib.path=http://jhelioviewer.org/libjhv/, jvm.arguments=-Xmx1000m -Dapple.laf.useScreenMenuBar=true, default.basicRemote.path=jpip://helioviewer.nascom.nasa.gov:8090, API.jp2images.path=http://helioviewer.nascom.nasa.gov/api/index.php, default.httpRemote.path=http://helioviewer.nascom.nasa.gov/jp2/, jpip.cache.size=0.0, opengl.enabled=true, API.jp2series.path=http://helioviewer.nascom.nasa.gov/api/index.php, connection.connect.timeout=60000, update.check.next=0, default.remote.path=jpip://helioviewer.nascom.nasa.gov:8090, display.toolbar=iconandtext, default.date.format=yyyy/MM/dd, startup.loadmovie=true, VSO.showInfo=true, VSO.showAdvanced=false}
2010-12-21 11:38:10,590 [main] INFO root - Use default look and feel
2010-12-21 11:38:10,599 [main] INFO root - OS: mac - arch: x86-64 - java arch: 64
2010-12-21 11:38:10,619 [main] DEBUG root - Instantiate Kakadu engine
2010-12-21 11:38:10,635 [main] INFO root - Try to load Kakadu libraries
2010-12-21 11:38:10,655 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/kakadu.xml
2010-12-21 11:38:10,655 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:10,656 [main] DEBUG root - >> ResourceLoader.loadResource(kakadu, file:/Users/bala/JHelioviewer/Libs/kakadu.xml, Properties systemProperties) > Could not open resource definition file: file:/Users/bala/JHelioviewer/Libs/kakadu.xml (java.io.FileNotFoundException)
2010-12-21 11:38:10,656 [main] DEBUG root - >> ResourceLoader.loadResource(kakadu, http://jhelioviewer.org/libjhv/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/LastConfig/, Properties systemProperties) > Failed to load resources with custom resource definition file. Try default definiton file.
2010-12-21 11:38:10,667 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/kakadu.xml
2010-12-21 11:38:11,091 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:11,305 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/libkdu_jni-mac-x86-64.jnilib
2010-12-21 11:38:11,306 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:11,307 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/kakadu/libkdu_jni-mac-x86-64.jnilib, file:/Users/bala/JHelioviewer/Libs/libkdu_jni-mac-x86-64.jnilib) > Destination does not exist yet.
2010-12-21 11:38:11,307 [main] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/kakadu/libkdu_jni-mac-x86-64.jnilib, file:/Users/bala/JHelioviewer/Libs/libkdu_jni-mac-x86-64.jnilib) > Begin download of file.
2010-12-21 11:38:11,310 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/kakadu/libkdu_jni-mac-x86-64.jnilib
2010-12-21 11:38:11,364 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:17,356 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/kakadu/libkdu_jni-mac-x86-64.jnilib, file:/Users/bala/JHelioviewer/Libs/libkdu_jni-mac-x86-64.jnilib) > Calculate MD5 sum of downloaded file
2010-12-21 11:38:17,356 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/kakadu/libkdu_jni-mac-x86-64.jnilib, file:/Users/bala/JHelioviewer/Libs/libkdu_jni-mac-x86-64.jnilib) > Successfully downloaded file.
2010-12-21 11:38:17,358 [main] DEBUG root - >> initializeFile(libkdu_jni-mac-x86-64.jnilib, file:/Users/bala/JHelioviewer/Libs/libkdu_jni-mac-x86-64.jnilib) > Load library: libkdu_jni-mac-x86-64.jnilib
2010-12-21 11:38:17,429 [main] INFO root - Successfully loaded Kakadu libraries
2010-12-21 11:38:17,430 [main] DEBUG root - Setup Kakadu message handlers.
2010-12-21 11:38:17,434 [main] INFO root - Use cache directory: /Users/bala/JHelioviewer/Cache/
2010-12-21 11:38:17,450 [main] INFO root - Update settings
2010-12-21 11:38:17,454 [AWT-EventQueue-0] INFO root - Try to load OpenGL libraries
2010-12-21 11:38:17,455 [AWT-EventQueue-0] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/jogl.xml
2010-12-21 11:38:17,455 [AWT-EventQueue-0] DEBUG root - No http connection, try no compression
2010-12-21 11:38:17,455 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.loadResource(jogl, file:/Users/bala/JHelioviewer/Libs/jogl.xml, Properties systemProperties) > Could not open resource definition file: file:/Users/bala/JHelioviewer/Libs/jogl.xml (java.io.FileNotFoundException)
2010-12-21 11:38:17,455 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.loadResource(jogl, http://jhelioviewer.org/libjhv/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/LastConfig/, Properties systemProperties) > Failed to load resources with custom resource definition file. Try default definiton file.
2010-12-21 11:38:17,455 [AWT-EventQueue-0] INFO root - Connect to http://jhelioviewer.org/libjhv/jogl.xml
2010-12-21 11:38:17,496 [AWT-EventQueue-0] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:17,505 [AWT-EventQueue-0] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/libgluegen-rt-mac.jnilib
2010-12-21 11:38:17,505 [AWT-EventQueue-0] DEBUG root - No http connection, try no compression
2010-12-21 11:38:17,506 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libgluegen-rt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libgluegen-rt-mac.jnilib) > Destination does not exist yet.
2010-12-21 11:38:17,506 [AWT-EventQueue-0] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libgluegen-rt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libgluegen-rt-mac.jnilib) > Begin download of file.
2010-12-21 11:38:17,506 [AWT-EventQueue-0] INFO root - Connect to http://jhelioviewer.org/libjhv/jogl/libgluegen-rt-mac.jnilib
2010-12-21 11:38:17,576 [AWT-EventQueue-0] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:17,710 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libgluegen-rt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libgluegen-rt-mac.jnilib) > Calculate MD5 sum of downloaded file
2010-12-21 11:38:17,710 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libgluegen-rt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libgluegen-rt-mac.jnilib) > Successfully downloaded file.
2010-12-21 11:38:17,710 [AWT-EventQueue-0] DEBUG root - >> initializeFile(libgluegen-rt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libgluegen-rt-mac.jnilib) > Load library: libgluegen-rt-mac.jnilib
2010-12-21 11:38:17,722 [AWT-EventQueue-0] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/libjogl-mac.jnilib
2010-12-21 11:38:17,722 [AWT-EventQueue-0] DEBUG root - No http connection, try no compression
2010-12-21 11:38:17,722 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl-mac.jnilib) > Destination does not exist yet.
2010-12-21 11:38:17,722 [AWT-EventQueue-0] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl-mac.jnilib) > Begin download of file.
2010-12-21 11:38:17,722 [AWT-EventQueue-0] INFO root - Connect to http://jhelioviewer.org/libjhv/jogl/libjogl-mac.jnilib
2010-12-21 11:38:17,783 [AWT-EventQueue-0] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:22,293 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl-mac.jnilib) > Calculate MD5 sum of downloaded file
2010-12-21 11:38:22,293 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl-mac.jnilib) > Successfully downloaded file.
2010-12-21 11:38:22,294 [AWT-EventQueue-0] DEBUG root - >> initializeFile(libjogl-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl-mac.jnilib) > Load library: libjogl-mac.jnilib
2010-12-21 11:38:22,321 [AWT-EventQueue-0] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/libjogl_awt-mac.jnilib
2010-12-21 11:38:22,321 [AWT-EventQueue-0] DEBUG root - No http connection, try no compression
2010-12-21 11:38:22,322 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl_awt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl_awt-mac.jnilib) > Destination does not exist yet.
2010-12-21 11:38:22,322 [AWT-EventQueue-0] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl_awt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl_awt-mac.jnilib) > Begin download of file.
2010-12-21 11:38:22,322 [AWT-EventQueue-0] INFO root - Connect to http://jhelioviewer.org/libjhv/jogl/libjogl_awt-mac.jnilib
2010-12-21 11:38:22,370 [AWT-EventQueue-0] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:22,441 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl_awt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl_awt-mac.jnilib) > Calculate MD5 sum of downloaded file
2010-12-21 11:38:22,441 [AWT-EventQueue-0] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/libjogl_awt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl_awt-mac.jnilib) > Successfully downloaded file.
2010-12-21 11:38:22,441 [AWT-EventQueue-0] DEBUG root - >> initializeFile(libjogl_awt-mac.jnilib, file:/Users/bala/JHelioviewer/Libs/libjogl_awt-mac.jnilib) > Load library: libjogl_awt-mac.jnilib
2010-12-21 11:38:22,499 [AWT-EventQueue-0] INFO root - Successfully loaded OpenGL libraries
2010-12-21 11:38:22,499 [main] INFO root - Try to install CG Compiler
2010-12-21 11:38:22,500 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/cgc.xml
2010-12-21 11:38:22,500 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:22,500 [main] DEBUG root - >> ResourceLoader.loadResource(cgc, file:/Users/bala/JHelioviewer/Libs/cgc.xml, Properties systemProperties) > Could not open resource definition file: file:/Users/bala/JHelioviewer/Libs/cgc.xml (java.io.FileNotFoundException)
2010-12-21 11:38:22,500 [main] DEBUG root - >> ResourceLoader.loadResource(cgc, http://jhelioviewer.org/libjhv/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/LastConfig/, Properties systemProperties) > Failed to load resources with custom resource definition file. Try default definiton file.
2010-12-21 11:38:22,500 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/cgc.xml
2010-12-21 11:38:22,547 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:22,550 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/cgc-mac
2010-12-21 11:38:22,551 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:22,551 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/cgc-mac, file:/Users/bala/JHelioviewer/Libs/cgc-mac) > Destination does not exist yet.
2010-12-21 11:38:22,551 [main] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/cgc-mac, file:/Users/bala/JHelioviewer/Libs/cgc-mac) > Begin download of file.
2010-12-21 11:38:22,576 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/jogl/cgc-mac
2010-12-21 11:38:22,636 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:44,612 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/cgc-mac, file:/Users/bala/JHelioviewer/Libs/cgc-mac) > Calculate MD5 sum of downloaded file
2010-12-21 11:38:44,612 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/jogl/cgc-mac, file:/Users/bala/JHelioviewer/Libs/cgc-mac) > Successfully downloaded file.
2010-12-21 11:38:44,633 [main] DEBUG root - >> initializeFile(cgc-mac, file:/Users/bala/JHelioviewer/Libs/cgc-mac) > Register executable: cgc-mac
2010-12-21 11:38:44,633 [main] DEBUG root - >> FileUtils.registerExecutable(cgc, /Users/bala/JHelioviewer/Libs/cgc-mac) > Trying to use execFile.setExecutable from JDK 1.6+
2010-12-21 11:38:44,766 [main] INFO root - Successfully installed CG Compiler
2010-12-21 11:38:44,767 [main] INFO root - Install FFmpeg
2010-12-21 11:38:44,768 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/ffmpeg.xml
2010-12-21 11:38:44,768 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:44,768 [main] DEBUG root - >> ResourceLoader.loadResource(ffmpeg, file:/Users/bala/JHelioviewer/Libs/ffmpeg.xml, Properties systemProperties) > Could not open resource definition file: file:/Users/bala/JHelioviewer/Libs/ffmpeg.xml (java.io.FileNotFoundException)
2010-12-21 11:38:44,768 [main] DEBUG root - >> ResourceLoader.loadResource(ffmpeg, http://jhelioviewer.org/libjhv/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/LastConfig/, Properties systemProperties) > Failed to load resources with custom resource definition file. Try default definiton file.
2010-12-21 11:38:44,768 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/ffmpeg.xml
2010-12-21 11:38:44,849 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:44,853 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/ffmpeg-mac-x86-64
2010-12-21 11:38:44,853 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:44,853 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/ffmpeg/ffmpeg-mac-x86-64, file:/Users/bala/JHelioviewer/Libs/ffmpeg-mac-x86-64) > Destination does not exist yet.
2010-12-21 11:38:44,853 [main] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/ffmpeg/ffmpeg-mac-x86-64, file:/Users/bala/JHelioviewer/Libs/ffmpeg-mac-x86-64) > Begin download of file.
2010-12-21 11:38:44,854 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/ffmpeg/ffmpeg-mac-x86-64
2010-12-21 11:38:44,916 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:59,330 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/ffmpeg/ffmpeg-mac-x86-64, file:/Users/bala/JHelioviewer/Libs/ffmpeg-mac-x86-64) > Calculate MD5 sum of downloaded file
2010-12-21 11:38:59,330 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/ffmpeg/ffmpeg-mac-x86-64, file:/Users/bala/JHelioviewer/Libs/ffmpeg-mac-x86-64) > Successfully downloaded file.
2010-12-21 11:38:59,375 [main] DEBUG root - >> initializeFile(ffmpeg-mac-x86-64, file:/Users/bala/JHelioviewer/Libs/ffmpeg-mac-x86-64) > Register executable: ffmpeg-mac-x86-64
2010-12-21 11:38:59,375 [main] DEBUG root - >> FileUtils.registerExecutable(ffmpeg, /Users/bala/JHelioviewer/Libs/ffmpeg-mac-x86-64) > Trying to use execFile.setExecutable from JDK 1.6+
2010-12-21 11:38:59,376 [main] INFO root - Successfully installed FFmpeg tool
2010-12-21 11:38:59,378 [main] INFO root - Install MP4Box
2010-12-21 11:38:59,378 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/mp4box.xml
2010-12-21 11:38:59,379 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:59,381 [main] DEBUG root - >> ResourceLoader.loadResource(mp4box, file:/Users/bala/JHelioviewer/Libs/mp4box.xml, Properties systemProperties) > Could not open resource definition file: file:/Users/bala/JHelioviewer/Libs/mp4box.xml (java.io.FileNotFoundException)
2010-12-21 11:38:59,381 [main] DEBUG root - >> ResourceLoader.loadResource(mp4box, http://jhelioviewer.org/libjhv/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/, file:/Users/bala/JHelioviewer/Libs/LastConfig/, Properties systemProperties) > Failed to load resources with custom resource definition file. Try default definiton file.
2010-12-21 11:38:59,381 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/mp4box.xml
2010-12-21 11:38:59,422 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:38:59,425 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/mp4box-mac
2010-12-21 11:38:59,425 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:38:59,426 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/mp4box/mp4box-mac, file:/Users/bala/JHelioviewer/Libs/mp4box-mac) > Destination does not exist yet.
2010-12-21 11:38:59,426 [main] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/mp4box/mp4box-mac, file:/Users/bala/JHelioviewer/Libs/mp4box-mac) > Begin download of file.
2010-12-21 11:38:59,427 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/mp4box/mp4box-mac
2010-12-21 11:38:59,504 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:39:08,181 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/mp4box/mp4box-mac, file:/Users/bala/JHelioviewer/Libs/mp4box-mac) > Calculate MD5 sum of downloaded file
2010-12-21 11:39:08,181 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/mp4box/mp4box-mac, file:/Users/bala/JHelioviewer/Libs/mp4box-mac) > Successfully downloaded file.
2010-12-21 11:39:08,200 [main] DEBUG root - >> initializeFile(mp4box-mac, file:/Users/bala/JHelioviewer/Libs/mp4box-mac) > Register executable: mp4box-mac
2010-12-21 11:39:08,200 [main] DEBUG root - >> FileUtils.registerExecutable(mp4box, /Users/bala/JHelioviewer/Libs/mp4box-mac) > Trying to use execFile.setExecutable from JDK 1.6+
2010-12-21 11:39:08,201 [main] INFO root - Successfully installed MP4Box tool
2010-12-21 11:39:08,201 [main] INFO root - Initialize GUI
2010-12-21 11:39:09,999 [ObservationSetup] INFO root - Connect to http://helioviewer.nascom.nasa.gov/api/?action=getDataSources&verbose=true
2010-12-21 11:39:10,290 [ObservationSetup] DEBUG root - Created http connection with encoding null
2010-12-21 11:39:13,514 [JHV Update Checker] TRACE root - Start cheching for updates
2010-12-21 11:39:13,515 [JHV Update Checker] INFO root - Connect to http://jhelioviewer.org/updateJHV.txt
2010-12-21 11:39:13,515 [main] DEBUG root - Installing Overlap Watcher
2010-12-21 11:39:13,526 [main] INFO root - Load plugin settings
2010-12-21 11:39:13,546 [ObservationSetup] INFO root - Connect to http://helioviewer.nascom.nasa.gov/api/index.php?action=getJP2Image&observatory=SDO&instrument=AIA&detector=AIA&measurement=171&date=2010-12-21T18:39:13Z&json=true&jpip=true
2010-12-21 11:39:13,564 [JHV Update Checker] DEBUG root - Created http connection with encoding null
2010-12-21 11:39:13,565 [JHV Update Checker] INFO root - Running the newest version of JHelioviewer
2010-12-21 11:39:13,598 [main] INFO root - Add internal plugin: FilterPlugin
2010-12-21 11:39:13,625 [main] INFO root - Download default plugins
2010-12-21 11:39:13,625 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Plugins/default-plugins.xml
2010-12-21 11:39:13,626 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:39:13,626 [main] DEBUG root - >> ResourceLoader.loadResource(default-plugins, file:/Users/bala/JHelioviewer/Plugins/default-plugins.xml, Properties systemProperties) > Could not open resource definition file: file:/Users/bala/JHelioviewer/Plugins/default-plugins.xml (java.io.FileNotFoundException)
2010-12-21 11:39:13,626 [main] DEBUG root - >> ResourceLoader.loadResource(default-plugins, http://jhelioviewer.org/libjhv/, file:/Users/bala/JHelioviewer/Plugins/, file:/Users/bala/JHelioviewer/Plugins/, file:/Users/bala/JHelioviewer/Plugins/LastConfig/, Properties systemProperties) > Failed to load resources with custom resource definition file. Try default definiton file.
2010-12-21 11:39:13,626 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/default-plugins.xml
2010-12-21 11:39:13,679 [ObservationSetup] DEBUG root - Created http connection with encoding null
2010-12-21 11:39:14,663 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:39:14,667 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Plugins/HEKPlugin.jar
2010-12-21 11:39:14,668 [main] DEBUG root - No http connection, try no compression
2010-12-21 11:39:14,668 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/default-plugins/HEKPlugin.jar, file:/Users/bala/JHelioviewer/Plugins/HEKPlugin.jar) > Destination does not exist yet.
2010-12-21 11:39:14,668 [main] INFO root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/default-plugins/HEKPlugin.jar, file:/Users/bala/JHelioviewer/Plugins/HEKPlugin.jar) > Begin download of file.
2010-12-21 11:39:14,668 [main] INFO root - Connect to http://jhelioviewer.org/libjhv/default-plugins/HEKPlugin.jar
2010-12-21 11:39:14,716 [main] DEBUG root - Created http connection with encoding null
2010-12-21 11:39:20,079 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/default-plugins/HEKPlugin.jar, file:/Users/bala/JHelioviewer/Plugins/HEKPlugin.jar) > Calculate MD5 sum of downloaded file
2010-12-21 11:39:20,079 [main] DEBUG root - >> ResourceLoader.downloadFile(ResourceFile, http://jhelioviewer.org/libjhv/default-plugins/HEKPlugin.jar, file:/Users/bala/JHelioviewer/Plugins/HEKPlugin.jar) > Successfully downloaded file.
2010-12-21 11:39:20,082 [main] INFO root - Successfully downloaded default plugins.
2010-12-21 11:39:20,082 [main] INFO root - Search for plugins in /Users/bala/JHelioviewer/Plugins/
2010-12-21 11:39:20,082 [main] DEBUG root - Found Plugin Jar File: file:/Users/bala/JHelioviewer/Plugins/HEKPlugin.jar
2010-12-21 11:39:20,083 [main] INFO root - PluginManager is trying to load the plugin located at file:/Users/bala/JHelioviewer/Plugins/HEKPlugin.jar
2010-12-21 11:39:20,103 [main] DEBUG root - Found Manifest: Main-Class:org.helioviewer.jhv.plugins.hekplugin.HEKPlugin
2010-12-21 11:39:20,104 [main] INFO root - PluginManager: Load plugin class :org.helioviewer.jhv.plugins.hekplugin.HEKPlugin
2010-12-21 11:39:20,112 [main] INFO root - Start main window
2010-12-21 11:39:20,416 [Thread-4] FATAL root - Runtime exception
javax.media.opengl.GLException: java.lang.UnsatisfiedLinkError: com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/ByteBuffer;)Z
 at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
 at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
 at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
 at com.sun.opengl.util.Animator.display(Animator.java:144)
 at com.sun.opengl.util.Animator$MainLoop.run(Animator.java:181)
 at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.UnsatisfiedLinkError: com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/ByteBuffer;)Z
 at com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT0(Native Method)
 at com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT(JAWTFactory.java:38)
 at com.sun.opengl.impl.JAWT$1.run(JAWT.java:99)
 at java.security.AccessController.doPrivileged(Native Method)
 at com.sun.opengl.impl.JAWT.getJAWT(JAWT.java:95)
 at com.sun.opengl.impl.macosx.MacOSXOnscreenGLDrawable.lockSurface(MacOSXOnscreenGLDrawable.java:144)
 at com.sun.opengl.impl.macosx.MacOSXOnscreenGLContext.makeCurrentImpl(MacOSXOnscreenGLContext.java:57)
 at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:134)
 at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
 at javax.media.opengl.GLCanvas$DisplayOnEventDispatchThreadAction.run(GLCanvas.java:452)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
2010-12-21 11:39:20,422 [AWT-EventQueue-0] FATAL root - Runtime exception
javax.media.opengl.GLException: Attempt to make the same context current twice on thread Thread[AWT-EventQueue-0,6,main]
 at com.sun.opengl.impl.GLContextLock.lock(GLContextLock.java:83)
 at com.sun.opengl.impl.GLContextImpl.makeCurrent(GLContextImpl.java:131)
 at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:182)
 at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
 at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
 at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
 at sun.awt.RepaintArea.paintComponent(RepaintArea.java:276)
 at sun.awt.RepaintArea.paint(RepaintArea.java:241)
 at apple.awt.ComponentModel.handleEvent(ComponentModel.java:263)
 at java.awt.Component.dispatchEventImpl(Component.java:4790)
 at java.awt.Component.dispatchEvent(Component.java:4544)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Tags: jhv2.1

Related branches

Changed in jhelioviewer:
status: New → Fix Committed
Revision history for this message
Daniel Mueller (dmueller-esa) wrote :
Download full text (20.6 KiB)

The user tried the fix, but the error seems to persist. See Bala's log file below.
Any idea?

Thanks,
Daniel

Uncaught Exception detected.

Configuration:
JHelioviewer - Version: 2.1.2
JHelioviewer - Revision: 400
Java Virtual Machine - Name: Java HotSpot(TM) 64-Bit Server VM
Java Virtual Machine - Vendor: Apple Inc.
Java Virtual Machine - Version: 17.1-b03-307
JRE Specification - Version: 1.6
Operating System - Name: Mac OS X
Operating System - Architecture: x86_64
Operating System - Version: 10.6.6

Date: Wed Feb 02 21:52:20 GMT 2011
Thread: Thread[Thread-2,5,main]
Message: java.lang.UnsatisfiedLinkError: com.sun.opengl.impl.JAWTFactory.JAWT_GetAWT0(Ljava/nio/ByteBuffer;)Z

Stacktrace:
javax.media.opengl.GLException
at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:271)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:410)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at com.sun.opengl.util.Animator.display(Animator.java:144)
at com.sun.opengl.util.Animator$MainLoop.run(Animator.java:181)
at java.lang.Thread.run(Thread.java:680)

Log:
2011-02-02 14:52:16,416 [main] INFO root - JHelioviewer started with command-line options:
2011-02-02 14:52:16,417 [main] INFO root - Create directories...
2011-02-02 14:52:16,421 [main] INFO root - >> JHVGlobals.determineVersionAndRevision() > Look for jar file: /Applications/JHelioviewer.app/Contents/Resources/Java/JHelioviewer.jar
2011-02-02 14:52:16,422 [main] INFO root - Initializing JHelioviewer
2011-02-02 14:52:16,423 [main] DEBUG root - Create splash screen
2011-02-02 14:52:17,099 [main] DEBUG root - Number of progress steps: 10
2011-02-02 14:52:17,100 [main] INFO root - Load settings
2011-02-02 14:52:17,102 [main] DEBUG root - >> Settings.load() > Load default system settings: {API.event.path=http://helioviewer.nascom.nasa.gov/api/, API.dataSources.path=http://helioviewer.nascom.nasa.gov/api/?action=getDataSources&verbose=true, connection.read.timeout=60000, default.remote.lib.path=http://jhelioviewer.org/libjhv/, jvm.arguments=-Xmx1000m -Dapple.laf.useScreenMenuBar=true, default.basicRemote.path=jpip://helioviewer.nascom.nasa.gov:8090, API.jp2images.path=http://helioviewer.nascom.nasa.gov/api/index.php, default.httpRemote.path=http://helioviewer.nascom.nasa.gov/jp2/, jpip.cache.size=0.0, opengl.enabled=true, API.jp2series.path=http://helioviewer.nascom.nasa.gov/api/index.php, connection.connect.timeout=60000, update.check.next=0, default.remote.path=jpip://helioviewer.nascom.nasa.gov:8090, display.toolbar=iconandtext, default.date.format=yyyy/MM/dd, startup.loadmovie=true, VSO.showInfo=true, VSO.showAdvanced=false}
2011-02-02 14:52:17,111 [main] INFO root - OS: mac - arch: x86-64 - java arch: 64
2011-02-02 14:52:17,117 [main] DEBUG root - Instantiate Kakadu engine
2011-02-02 14:52:17,142 [main] INFO root - Try to load Kakadu libraries
2011-02-02 14:52:17,147 [main] INFO root - Connect to file:/Users/bala/JHelioviewer/Libs/kakadu.xml
2011-02-02 14:52:17,147 [main] DEBUG root - No http connection, try no compression
2011-02-02 14:52:17,148 [main] DEBUG root - >> ResourceLoader.loadResource(kakadu, file:/Users/bala/JHelioviewer/Libs/kakad...

Changed in jhelioviewer:
status: Fix Committed → Confirmed
Revision history for this message
Markus Langenberg (markus-langenberg) wrote :

By fixing bug #697090, this exception is also caught and as a result, JHV disables the OpenGL mode and starts in software mode. This is not really a solution for this problem, but a least JHV would be able to start...

Changed in jhelioviewer:
milestone: 2.1.3 → 2.1.4
assignee: nobody → Andre Dau (andre-dau)
Changed in jhelioviewer:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.