Login  Register

Re: Textures - program works on one machine, but not on another.

Posted by ralphrmartin on Mar 01, 2011; 11:23am
URL: https://forum.jogamp.org/Textures-program-works-on-one-machine-but-not-on-another-tp2566528p2602343.html

Turned debugging on, and got this, which I attach here just in case it shows something relevant.

JOGL/Java2D integration disabled
GLProfile.init firstUIActionOnProcess: false, thread: main
-----------------------------------------------------------------------------------------------------
Platform: Mac OS X 10.6.6 (os), x86_64 (arch) 16 cores
Platform: littleEndian true, 32Bit false, a-ptr bit-size 64
Platform: Java 1.6.0_22, Java HotSpot(TM) 64-Bit Server VM, Apple Inc., http://www.apple.com/, is JavaSE: true
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: com.jogamp.common
Extension Name: com.jogamp.common
Specification Title: GlueGen Java Bindings Generator
Specification Vendor: JogAmp Community
Specification Version: 2.0
Implementation Title: GlueGen Run-Time
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.0-b308-20110301
Implementation Branch: master
Implementation Commit: 2557207469fe581cbc9d51861953cdc88f1e9715
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: javax.media.nativewindow
Extension Name: javax.media.nativewindow
Specification Title: Native Window Interface API Specification
Specification Vendor: JogAmp Community
Specification Version: 2.0
Implementation Title: Native Window Interface Runtime Environment
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.0-b338-20110301
Implementation Branch: master
Implementation Commit: 65cd7d4be74539f7c6f5350ff38d02b44b5eb240
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: javax.media.opengl
Extension Name: javax.media.opengl
Specification Title: Java Bindings for OpenGL API Specification
Specification Vendor: JogAmp Community
Specification Version: 2.0
Implementation Title: Java Bindings for OpenGL Runtime Environment
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.0-b338-20110301
Implementation Branch: master
Implementation Commit: 65cd7d4be74539f7c6f5350ff38d02b44b5eb240
-----------------------------------------------------------------------------------------------------
GLDrawableFactory.static - Native OS Factory for: MacOSX: jogamp.opengl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory
java.lang.Throwable: Info: GLProfile.initProfilesForDevice: MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], isSet false
        at javax.media.opengl.GLProfile.initProfilesForDeviceImpl(GLProfile.java:1308)
        at javax.media.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1298)
        at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1266)
        at javax.media.opengl.GLProfile.access$000(GLProfile.java:71)
        at javax.media.opengl.GLProfile$1.run(GLProfile.java:117)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:115)
        at javax.media.opengl.GLProfile.validateInitialization(GLProfile.java:1428)
        at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:1580)
        at javax.media.opengl.GLProfile.get(GLProfile.java:623)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:480)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:486)
        at org.yourorghere.ToyShader2.<init>(ToyShader2.java:83)
        at org.yourorghere.ToyShader2.main(ToyShader2.java:55)
GLProfile.init map decon, desktopCtxUndef true, eglCtxUndef true
GLProfile.init map GLProfile[GL4bc/GL4bc] on devide decon
GLProfile.init map default GLProfile[GL4bc/GL4bc] on device decon
GLProfile.init map GLProfile[GL3bc/GL3bc] on devide decon
GLProfile.init map GLProfile[GL2/GL2] on devide decon
GLProfile.init map GLProfile[GL2GL3/GL2] on devide decon
GLProfile.init map GLProfile[GL4/GL4] on devide decon
GLProfile.init map GLProfile[GL3/GL3] on devide decon
GLProfile.init map GLProfile[GL2ES2/GL2] on devide decon
GLProfile.init map *** no mapping for GLES2 on device decon
GLProfile.init map GLProfile[GL2ES1/GL2] on devide decon
GLProfile.init map *** no mapping for GLES1 on device decon
GLProfile.initProfilesForDevice: MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0]: desktop Shared Ctx false
GLProfile.init map decon, desktopCtxUndef false, eglCtxUndef false
GLProfile.init map *** no mapping for GL4bc on device decon
GLProfile.init map *** no mapping for GL3bc on device decon
GLProfile.init map GLProfile[GL2/GL2] on devide decon
GLProfile.init map default GLProfile[GL2/GL2] on device decon
GLProfile.init map GLProfile[GL2GL3/GL2] on devide decon
GLProfile.init map *** no mapping for GL4 on device decon
GLProfile.init map *** no mapping for GL3 on device decon
GLProfile.init map GLProfile[GL2ES2/GL2] on devide decon
GLProfile.init map *** no mapping for GLES2 on device decon
GLProfile.init map GLProfile[GL2ES1/GL2] on devide decon
GLProfile.init map *** no mapping for GLES1 on device decon
main: !!! createContextARB: SET mappedVersionsAvailableSet MacOSX_decon_0
GLProfile.initProfilesForDevice: decon: added profile(s): desktop true, egl false
GLProfile.initProfilesForDevice: decon: GLAvailability[Native[GL4bc false, GL4 false, GL3bc false, GL3 false, GL2 true[1.5 (compatibility profile, any, old)], GL2ES1 true, GLES1 false, GL2ES2 true, GLES2 false], Profiles[GLProfile[GL2ES2/GL2], GLProfile[GL2ES1/GL2], GLProfile[GL2/GL2], GLProfile[GL2/GL2], GLProfile[GL2GL3/GL2], , default GLProfile[GL2/GL2]]]
GLProfile.dumpGLInfo: shared context n/a
GLProfile.init isAWTAvailable       true
GLProfile.init has desktopFactory   true
GLProfile.init hasDesktopGL         true
GLProfile.init hasGL234Impl         true
GLProfile.init has eglFactory       true
GLProfile.init hasGLES1Impl         false
GLProfile.init hasGLES2Impl         false
GLProfile.init defaultDesktopDevice MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0]
GLProfile.init defaultEGLDevice     EGLGraphicsDevice[type EGL, connection decon, unitID 0, handle 0x0]
GLProfile.init defaultDevice        MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0]
Animator add: 1009042595 - Thread[main,5,main]
Info: GLCanvas display - skipped GL render, drawable not valid yet
Info: GLCanvas display - skipped GL render, drawable not valid yet
Info: GLCanvas display - skipped GL render, drawable not valid yet
java.lang.Exception: main - Info: addNotify - start, bounds: java.awt.Rectangle[x=0,y=0,width=1000,height=1000]
        at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:503)
        at java.awt.Container.addNotify(Container.java:2622)
        at javax.swing.JComponent.addNotify(JComponent.java:4685)
        at java.awt.Container.addNotify(Container.java:2622)
        at javax.swing.JComponent.addNotify(JComponent.java:4685)
        at java.awt.Container.addNotify(Container.java:2622)
        at javax.swing.JComponent.addNotify(JComponent.java:4685)
        at javax.swing.JRootPane.addNotify(JRootPane.java:739)
        at java.awt.Container.addNotify(Container.java:2622)
        at java.awt.Window.addNotify(Window.java:663)
        at java.awt.Frame.addNotify(Frame.java:470)
        at java.awt.Window.pack(Window.java:704)
        at org.yourorghere.ToyShader2.<init>(ToyShader2.java:201)
        at org.yourorghere.ToyShader2.main(ToyShader2.java:55)
MacOSXAWTCGLGraphicsConfigurationFactory: got AWTGraphicsScreen[AWTGraphicsDevice[type AWT[subType null], connection \Display0, unitID 0, awtDevice CGraphicsDevice[screen=0], handle 0x0], idx 0]
MacOSXAWTCGLGraphicsConfigurationFactory: made DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0]
Exception in thread "main" java.lang.NullPointerException
        at javax.media.opengl.awt.GLCanvas.toString(GLCanvas.java:748)
        at java.lang.String.valueOf(String.java:2826)
        at java.lang.StringBuilder.append(StringBuilder.java:115)
        at jogamp.nativewindow.jawt.JAWTWindow.toString(JAWTWindow.java:274)
        at java.lang.String.valueOf(String.java:2826)
        at java.lang.StringBuilder.append(StringBuilder.java:115)
        at jogamp.opengl.GLDrawableFactoryImpl.createGLDrawable(GLDrawableFactoryImpl.java:107)
        at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:524)
        at java.awt.Container.addNotify(Container.java:2622)
        at javax.swing.JComponent.addNotify(JComponent.java:4685)
        at java.awt.Container.addNotify(Container.java:2622)
        at javax.swing.JComponent.addNotify(JComponent.java:4685)
        at java.awt.Container.addNotify(Container.java:2622)
        at javax.swing.JComponent.addNotify(JComponent.java:4685)
        at javax.swing.JRootPane.addNotify(JRootPane.java:739)
        at java.awt.Container.addNotify(Container.java:2622)
        at java.awt.Window.addNotify(Window.java:663)
        at java.awt.Frame.addNotify(Frame.java:470)
        at java.awt.Window.pack(Window.java:704)
        at org.yourorghere.ToyShader2.<init>(ToyShader2.java:201)
        at org.yourorghere.ToyShader2.main(ToyShader2.java:55)
Info: GLCanvas display - skipped GL render, drawable not valid yet
Info: GLCanvas display - skipped GL render, drawable not valid yet
Info: GLCanvas display - skipped GL render, drawable not valid yet
...