Page 1 of 1

new JOGL source folder exception

Posted: Wed 26. Sep 2012, 10:40
by gunn
Hi,

I'm using the latest svn repository, in which the class GL has been replaced by GL2.

I'm getting the following exception when I run JRViewer -vr the ** second ** time:

Code: Select all

java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:127)
	at java.util.jar.JarFile.<init>(JarFile.java:135)
	at java.util.jar.JarFile.<init>(JarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:72)
	at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:48)
	at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:55)
	at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
	at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:71)
	at com.jogamp.common.util.JarUtil.getJarFile(JarUtil.java:294)
	at com.jogamp.common.util.cache.TempJarCache.bootstrapNativeLib(TempJarCache.java:346)
	at com.jogamp.common.os.Platform$3.run(Platform.java:312)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.common.os.Platform.loadGlueGenRTImpl(Platform.java:303)
	at com.jogamp.common.os.Platform.<clinit>(Platform.java:214)
	at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:81)
	at de.jreality.jogl.JOGLViewer.initializeFrom(JOGLViewer.java:75)
	at de.jreality.jogl.AbstractViewer.<init>(AbstractViewer.java:109)
	at de.jreality.jogl.AbstractViewer.<init>(AbstractViewer.java:103)
	at de.jreality.jogl.JOGLViewer.<init>(JOGLViewer.java:65)
	at de.jreality.jogl.JOGLViewer.<init>(JOGLViewer.java:62)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at de.jreality.plugin.basic.View.createViewerSwitch(View.java:195)
	at de.jreality.plugin.basic.View.init(View.java:121)
	at de.jreality.plugin.basic.View.install(View.java:242)
	at de.jtem.jrworkspace.plugin.simplecontroller.SimpleController.activatePlugin(SimpleController.java:549)
	at de.jtem.jrworkspace.plugin.simplecontroller.SimpleController.getPlugin(SimpleController.java:581)
	at de.jreality.plugin.scene.Avatar.install(Avatar.java:171)
	at de.jtem.jrworkspace.plugin.simplecontroller.SimpleController.activatePlugin(SimpleController.java:549)
	at de.jtem.jrworkspace.plugin.simplecontroller.SimpleController$1.run(SimpleController.java:352)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:702)
	at java.awt.EventQueue.access$400(EventQueue.java:82)
	at java.awt.EventQueue$2.run(EventQueue.java:663)
	at java.awt.EventQueue$2.run(EventQueue.java:661)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:672)
	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)
The exception is generated from line 75 in JOGLViewer.java:

Code: Select all

		GLCapabilities caps = new GLCapabilities(GLProfile.get("GL2"));