Bug 635

Summary: Unexpected random NullPointerException
Product: [JogAmp] Jogl Reporter: Nazmul Alam <razib017>
Component: windowsAssignee: Sven Gothel <sgothel>
Status: RESOLVED INVALID    
Severity: major    
Priority: ---    
Version: 2   
Hardware: pc_x86_64   
OS: windows   
Type: --- SCM Refs:
Workaround: ---

Description Nazmul Alam 2012-11-06 10:03:34 CET
I used jogl 1.1 until now for our application without any error. But since I have updated my code to adapt jogl 2 it gives some unexpected random NullPointerException. Sometimes it works fine sometime it doesn't. I have tried to debug but found no error. and it happens only with my application. I have tried the jogl examples but those works fine. One difference is I use GLUtessellator and the examples doesn't. And ofcourse the error occurs at beginData(int type, Object data) in GLUtessellatorCallback. I guess that it might be a problem with the mismatch of variable 'type'. Since the error occurs randomly, I am not sure if exactly this is the problem but I guess once i noticed the value of 'type' was not as expected and that caused the error.

Thanx in advance.
Nazmul
Comment 1 Sven Gothel 2012-11-09 02:05:10 CET
Please add a unit test to reproduce the problem you claim to experience, thank you.

If possible, pls use on of the existing unit test from the JOGL repository close to your goals,
copy and modify it.
You may deliver it as a git patch or pull request - or, attach it to this bug report.
Comment 2 Sven Gothel 2012-11-21 18:54:28 CET
bug report rejected, due to lack of requested unit test / code snippet.

if you still experience this bug, pls provide a small example code and attach it here,
while you reopen this bug.

you also should add more information, see wiki/FAQ/bugreport.