Login  Register

Re: Java 1.6.0 pre12 with JOGL 2.3.1 crashes under OpenSUSE 13.2 with Mesa

Posted by gouessej on Sep 28, 2015; 1:03pm
URL: https://forum.jogamp.org/Java-1-6-0-pre12-with-JOGL-2-3-1-crashes-under-OpenSUSE-13-2-with-Mesa-tp4035401p4035406.html

What have you done with the JARs?

java.io.FileNotFoundException: Could not look-up: com/jogamp/newt/newt/data/jogamp-16x16.png as URL, w/ ClassLoader or as File
        at com.jogamp.common.net.AssetURLContext.resolve(AssetURLContext.java:199)
        at com.jogamp.common.util.IOUtil.getResource(IOUtil.java:552)
        at com.jogamp.common.util.IOUtil.getResource(IOUtil.java:505)
        at com.jogamp.common.util.IOUtil$ClassResources.resolve(IOUtil.java:472)
        at jogamp.newt.driver.opengl.JoglUtilPNGIcon.arrayToX11BGRAImages(JoglUtilPNGIcon.java:48)
        at jogamp.newt.driver.PNGIcon.arrayToX11BGRAImages(PNGIcon.java:76)
        at jogamp.newt.driver.x11.WindowDriver.<clinit>(WindowDriver.java:80)
        at jogamp.newt.driver.x11.DisplayDriver.initIDs0(Native Method)
        at jogamp.newt.driver.x11.DisplayDriver.<clinit>(DisplayDriver.java:55)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.jogamp.newt.NewtFactory.getCustomClass(NewtFactory.java:111)
        at jogamp.newt.DisplayImpl.getDisplayClass(DisplayImpl.java:275)
        at jogamp.newt.DisplayImpl.create(DisplayImpl.java:285)
        at com.jogamp.newt.NewtFactory.createDisplay(NewtFactory.java:203)
        at com.jogamp.newt.NewtFactory.createWindowImpl(NewtFactory.java:309)
        at com.jogamp.newt.NewtFactory.createWindow(NewtFactory.java:234)
        at com.jogamp.newt.opengl.GLWindow.create(GLWindow.java:168)
        at com.jogamp.newt.opengl.GLWindow.main(GLWindow.java:1080)

Edit.: newt/data/jogamp-16x16.png is in jogamp-fat.jar and in jogl-all.jar. You broke something on your side.
Julien Gouesse | Personal blog | Website