kendzi / kendzi3d

3D plugin for JOSM
57 stars 19 forks source link

Unable to start plugin with latest Nvidia drivers (GLException: Profile GL2 is not available on WindowsGraphicsDevice) #41

Closed don-vip closed 10 years ago

don-vip commented 10 years ago

The plugin does not start on my system:

OS: Win 8.1 x64 Graphics: Geforce 331.82 with dual cards (GTX 560 Ti + 9400 GT) JOSM: 6496 Java 7u45 x64

It looks like JOGL must be updated to version 2.1.3, see http://forum.jogamp.org/Profile-GL2-is-not-available-latest-NVidia-QUADRO-drivers-td4030551.html

Here's the log:

INFO: loading plugin 'kendzi3d-jogl' (version 32) INFO: loading plugin 'kendzi3d' (version 263) copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12-natives-linux-amd64.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12-natives-linux-i586.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12-natives-macosx-universal.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12-natives-solaris-amd64.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12-natives-solaris-i586.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12-natives-windows-amd64.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12-natives-windows-i586.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/jogl-all-2.0.2-rc12.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12-natives-linux-amd64.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12-natives-linux-i586.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12-natives-macosx-universal.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12-natives-solaris-amd64.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12-natives-solaris-i586.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12-natives-windows-amd64.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12-natives-windows-i586.jar exist skiping

copying file: /lib/jogl-2.0.2-rc12/gluegen-rt-2.0.2-rc12.jar exist skiping

loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12-natives-linux-amd64.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12-natives-linux-i586.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12-natives-macosx-universal.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12-natives-solaris-amd64.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12-natives-solaris-i586.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12-natives-windows-amd64.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12-natives-windows-i586.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\jogl-all-2.0.2-rc12.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-linux-amd64.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-linux-i586.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-macosx-universal.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-solaris-amd64.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-solaris-i586.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-windows-amd64.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12-natives-windows-i586.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d-jogl\lib\jogl-2.0.2-rc12\gluegen-rt-2.0.2-rc12.jar copying file from jar: /resources/log4j.properties to: log4j.properties end of copying bytes: 600 from file: /resources/log4j.properties at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/resources/log4j.properties copying file from jar: /lib/vecmath.jar to: /lib/vecmath.jar end of copying bytes: 318956 from file: /lib/vecmath.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/vecmath.jar copying file from jar: /lib/swing-layout-1.0.jar to: /lib/swing-layout-1.0.jar end of copying bytes: 140545 from file: /lib/swing-layout-1.0.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/swing-layout-1.0.jar copying file from jar: /lib/ejml-0.20.jar to: /lib/ejml-0.20.jar end of copying bytes: 301269 from file: /lib/ejml-0.20.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/ejml-0.20.jar copying file from jar: /lib/guice-3.0.jar to: /lib/guice-3.0.jar end of copying bytes: 710683 from file: /lib/guice-3.0.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/guice-3.0.jar copying file from jar: /lib/javax.inject.jar to: /lib/javax.inject.jar end of copying bytes: 2497 from file: /lib/javax.inject.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/javax.inject.jar copying file from jar: /lib/aopalliance.jar to: /lib/aopalliance.jar end of copying bytes: 4467 from file: /lib/aopalliance.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/aopalliance.jar copying file from jar: /lib/poly2tri-core-0.1.1-SNAPSHOT.jar to: /lib/poly2tri-core-0.1.1-SNAPSHOT.jar end of copying bytes: 61858 from file: /lib/poly2tri-core-0.1.1-SNAPSHOT.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/poly2tri-core-0.1.1-SNAPSHOT.jar copying file from jar: /lib/slf4j-api-1.5.10.jar to: /lib/slf4j-api-1.5.10.jar end of copying bytes: 23659 from file: /lib/slf4j-api-1.5.10.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/slf4j-api-1.5.10.jar copying file from jar: /lib/slf4j-jdk14-1.5.10.jar to: /lib/slf4j-jdk14-1.5.10.jar end of copying bytes: 8830 from file: /lib/slf4j-jdk14-1.5.10.jar at url: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/lib/slf4j-jdk14-1.5.10.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\vecmath.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\swing-layout-1.0.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\ejml-0.20.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\guice-3.0.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\javax.inject.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\aopalliance.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\poly2tri-core-0.1.1-SNAPSHOT.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\slf4j-api-1.5.10.jar loading lib: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\lib\slf4j-jdk14-1.5.10.jar 3d test INFO: Silent shortcut conflict: 'menu:3D' moved by 'menu:Data' to 'Ctrl+Alt+F2'. reciveFileUrl: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\models\modelsLibraryInternalLayer.xml reciveFileUrl: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\models\modelsLibraryLayer.xml 2356 [main] WARN kendzi.kendzi3d.models.library.service.ModelsLibraryService - cant load point motel configuration from: plugin:/models/modelsLibraryLayer.xml url don't exist: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/models/modelsLibraryLayer.xml reciveFileUrl: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\models\trafficSignsLibraryInternalLayer.xml reciveFileUrl: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\resources\metadata.properties reciveFileUrl: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\textures\wikimetadata.properties 2683 [main] WARN kendzi.josm.kendzi3d.service.MetadataCacheService - cant find url for file: /textures/wikimetadata.properties reciveFileUrl: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\textures\textureLibraryInternal.xml reciveFileUrl: C:\Users\Vincent\AppData\Roaming\JOSM\plugins\kendzi3d\textures\textureLibraryWiki.xml 2699 [main] WARN kendzi.jogl.texture.library.TextureLibraryService - cant load texture configuration from: /textures/textureLibraryWiki.xml url don't exist: jar:file:/C:/Users/Vincent/AppData/Roaming/JOSM/plugins/kendzi3d.jar!/textures/textureLibraryWiki.xml load text libr: 15 tst2 2710 [main] INFO kendzi.josm.kendzi3d.jogl.model.Perspective3D - **-----> 1.0 3060 [main] INFO kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame - is set debug for GraphicsConfiguration: false 3106 [main] INFO kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame - JoglVersion: Implementation-Title = Java Bindings for OpenGL Runtime Environment Implementation-Version = 2.0.2-rc12 Manifest-Version = 1.0 Specification-Vendor = JogAmp Community Created-By = 1.7.0_25-b15 (Oracle Corporation) Implementation-URL = http://jogamp.org/ Ant-Version = Apache Ant 1.8.2 Implementation-Commit = 7761702147a955807d56951b95ca03d0fedf6b7e Implementation-Vendor = JogAmp Community Trusted-Library = true Implementation-Vendor-Id = com.jogamp Permissions = all-permissions Specification-Title = Java Bindings for OpenGL API Specification Implementation-Branch = master Specification-Version = 2.0 Implementation-Build = 2.0-b1027-20130625 Extension-Name = javax.media.opengl Codebase = *.jogamp.org

GlueGenVersion: Implementation-Title = GlueGen Run-Time Implementation-Version = 2.0.2-rc12 Manifest-Version = 1.0 Specification-Vendor = JogAmp Community Created-By = 1.7.0_25-b15 (Oracle Corporation) Implementation-URL = http://jogamp.org/ Ant-Version = Apache Ant 1.8.2 Implementation-Commit = e946fe33ab21d907e587402572effac4d9aba000 Implementation-Vendor = JogAmp Community Trusted-Library = true Implementation-Vendor-Id = com.jogamp Permissions = all-permissions Specification-Title = GlueGen Java Bindings Generator Implementation-Branch = master Specification-Version = 2.0 Implementation-Build = 2.0-b694-20130625 Extension-Name = com.jogamp.common Codebase = *.jogamp.org

javax.media.opengl.GLException: Profile GL2 is not available on null, but: [GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL2GL3/GL4.hw]] at javax.media.opengl.GLProfile.get(GLProfile.java:806) at javax.media.opengl.GLProfile.get(GLProfile.java:819) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeCanvas(Kendzi3dGLFrame.java:188) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeRenderPanel(Kendzi3dGLFrame.java:157) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.initUI(Kendzi3dGLFrame.java:105) at kendzi.josm.kendzi3d.Kendzi3DPlugin.openJOGLWindow(Kendzi3DPlugin.java:242) at kendzi.josm.kendzi3d.Kendzi3DPlugin.(Kendzi3DPlugin.java:91) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:299) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:557) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:628) at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:668) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:382) ERROR: An error occurred in plugin kendzi3d java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:299) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:557) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:628) at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:668) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:382) Caused by: java.lang.RuntimeException: error opening kendzi3d window at kendzi.josm.kendzi3d.Kendzi3DPlugin.openJOGLWindow(Kendzi3DPlugin.java:263) at kendzi.josm.kendzi3d.Kendzi3DPlugin.(Kendzi3DPlugin.java:91) ... 9 more Caused by: javax.media.opengl.GLException: Profile GL2 is not available on null, but: [GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL2GL3/GL4.hw]] at javax.media.opengl.GLProfile.get(GLProfile.java:806) at javax.media.opengl.GLProfile.get(GLProfile.java:819) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeCanvas(Kendzi3dGLFrame.java:188) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeRenderPanel(Kendzi3dGLFrame.java:157) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.initUI(Kendzi3dGLFrame.java:105) at kendzi.josm.kendzi3d.Kendzi3DPlugin.openJOGLWindow(Kendzi3DPlugin.java:242) ... 10 more

INFO: Toolbar action 1306318208_rebuild24 overwritten: kendzi.josm.kendzi3d.action.CleanUpAction gets kendzi.josm.kendzi3d.action.PointModelListAction INFO: Toolbar action 1306318261_debugger__24 overwritten: kendzi.josm.kendzi3d.action.GroundToggleAction gets kendzi.josm.kendzi3d.action.DebugToggleAction INFO: Toolbar action 1306318261_debugger24 overwritten: kendzi.josm.kendzi3d.action.DebugToggleAction gets kendzi.josm.kendzi3d.action.TextureFilterToggleAction INFO: Toolbar action 1323558253_wikipedia-icon_24 overwritten: kendzi.josm.kendzi3d.action.WikiTextureLoaderAction gets kendzi.josm.kendzi3d.action.LoadTextureLibraryAction INFO: Toolbar action without name: kendzi.josm.kendzi3d.action.ExportAction INFO: Toolbar action 1323558253_wikipedia-icon_24 overwritten: kendzi.josm.kendzi3d.action.LoadTextureLibraryAction gets kendzi.josm.kendzi3d.action.ShowPluginDirAction

INFO: Open file: D:\Users\Vincent\Desktop\JOSM_work\3d.osm (386508 bytes)

8992 [AWT-EventQueue-0] INFO kendzi.josm.kendzi3d.jogl.model.Perspective3D - **-----> 0.7241121533295408 15277 [AWT-EventQueue-0] INFO kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame - is set debug for GraphicsConfiguration: false 15277 [AWT-EventQueue-0] INFO kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame - JoglVersion: Implementation-Title = Java Bindings for OpenGL Runtime Environment Implementation-Version = 2.0.2-rc12 Manifest-Version = 1.0 Specification-Vendor = JogAmp Community Created-By = 1.7.0_25-b15 (Oracle Corporation) Implementation-URL = http://jogamp.org/ Ant-Version = Apache Ant 1.8.2 Implementation-Commit = 7761702147a955807d56951b95ca03d0fedf6b7e Implementation-Vendor = JogAmp Community Trusted-Library = true Implementation-Vendor-Id = com.jogamp Permissions = all-permissions Specification-Title = Java Bindings for OpenGL API Specification Implementation-Branch = master Specification-Version = 2.0 Implementation-Build = 2.0-b1027-20130625 Extension-Name = javax.media.opengl Codebase = *.jogamp.org

GlueGenVersion: Implementation-Title = GlueGen Run-Time Implementation-Version = 2.0.2-rc12 Manifest-Version = 1.0 Specification-Vendor = JogAmp Community Created-By = 1.7.0_25-b15 (Oracle Corporation) Implementation-URL = http://jogamp.org/ Ant-Version = Apache Ant 1.8.2 Implementation-Commit = e946fe33ab21d907e587402572effac4d9aba000 Implementation-Vendor = JogAmp Community Trusted-Library = true Implementation-Vendor-Id = com.jogamp Permissions = all-permissions Specification-Title = GlueGen Java Bindings Generator Implementation-Branch = master Specification-Version = 2.0 Implementation-Build = 2.0-b694-20130625 Extension-Name = com.jogamp.common Codebase = *.jogamp.org

javax.media.opengl.GLException: Profile GL2 is not available on WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], but: [GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL2GL3/GL4.hw]] at javax.media.opengl.GLProfile.get(GLProfile.java:806) at javax.media.opengl.GLProfile.get(GLProfile.java:819) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeCanvas(Kendzi3dGLFrame.java:188) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeRenderPanel(Kendzi3dGLFrame.java:157) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.initUI(Kendzi3dGLFrame.java:105) at kendzi.josm.kendzi3d.Kendzi3DPlugin.openJOGLWindow(Kendzi3DPlugin.java:242) at kendzi.josm.kendzi3d.Kendzi3DPlugin.access$000(Kendzi3DPlugin.java:49) at kendzi.josm.kendzi3d.Kendzi3DPlugin$1.actionPerformed(Kendzi3DPlugin.java:135) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) java.lang.RuntimeException: error opening kendzi3d window at kendzi.josm.kendzi3d.Kendzi3DPlugin.openJOGLWindow(Kendzi3DPlugin.java:263) at kendzi.josm.kendzi3d.Kendzi3DPlugin.access$000(Kendzi3DPlugin.java:49) at kendzi.josm.kendzi3d.Kendzi3DPlugin$1.actionPerformed(Kendzi3DPlugin.java:135) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: javax.media.opengl.GLException: Profile GL2 is not available on WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[]], but: [GLProfile[GL2ES2/GL4.hw], GLProfile[GL4/GL4.hw], GLProfile[GL3/GL3.hw], GLProfile[GL4/GL4.hw], GLProfile[GL2GL3/GL4.hw]] at javax.media.opengl.GLProfile.get(GLProfile.java:806) at javax.media.opengl.GLProfile.get(GLProfile.java:819) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeCanvas(Kendzi3dGLFrame.java:188) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.makeRenderPanel(Kendzi3dGLFrame.java:157) at kendzi.josm.kendzi3d.ui.Kendzi3dGLFrame.initUI(Kendzi3dGLFrame.java:105) at kendzi.josm.kendzi3d.Kendzi3DPlugin.openJOGLWindow(Kendzi3DPlugin.java:242) ... 41 more

kendzi commented 10 years ago

I have released upgraded of JOGL library but it seems that this cause some problems under linux and Java 7. I will investigate it

don-vip commented 10 years ago

Thanks, it works !

kendzi commented 10 years ago

It seems the problem is not related to JOGL version. It appear only on dual screen linux with java7. On java6 is working ok.

http://forum.jogamp.org/Linux-Java-7-Dual-screen-issue-td4030862.html#a4030976

So I'm leaving newest JOGL version (2.1.3).