Bug 477 - TestGearsNewtAWTWrapper & TestGearsNEWT crashes on getAvailableGLVersionsSet
Summary: TestGearsNewtAWTWrapper & TestGearsNEWT crashes on getAvailableGLVersionsSet
Status: VERIFIED WORKSFORME
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: pc_x86_32 linux
: --- normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2011-02-25 18:31 CET by Sylvestre Ledru
Modified: 2011-02-25 23:42 CET (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvestre Ledru 2011-02-25 18:31:29 CET
Trying the example TestGearsNewtAWTWrapper & TestGearsNEWT with jogl2.0 rc1, I get the following exception:
Info: XInitThreads() called for concurrent Thread support
E
Time: 0,774
There was 1 failure:
1) TestGearsNewtAWTWrapper
java.lang.NullPointerException
	at javax.media.opengl.GLContext.getAvailableGLVersionsSet(GLContext.java:569)
	at javax.media.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1203)
	at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1172)
	at javax.media.opengl.GLProfile.access$000(GLProfile.java:66)
	at javax.media.opengl.GLProfile$1.run(GLProfile.java:107)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:105)
	at TestGearsNewtAWTWrapper.initClass(TestGearsNewtAWTWrapper.java:54)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.junit.runners.Suite.runChild(Suite.java:128)
	at org.junit.runners.Suite.runChild(Suite.java:24)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
	at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
	at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
	at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
	at TestGearsNewtAWTWrapper.main(TestGearsNewtAWTWrapper.java:111)
Comment 1 Sven Gothel 2011-02-25 23:42:43 CET
pls retry with an updated build, plus read the FAQ to produce a usable bug report, thank you.

http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing

IF bug still exist and you can give us the required data,
please reopen this bug with the info - thank you.