Bug 984 : hint(DISABLE_DEPTH_TEST) throws NullPointerException with OpenGL
Last modified: 2008-11-03 06:00




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
justind
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-10-26 09:08
Processing Rev 152 on Windows XP pro. Lenovo T400.

import processing.opengl.*;

void setup(){
size(200, 200, OPENGL);
}

void draw(){
background(255);
hint(DISABLE_DEPTH_TEST);
fill(100);
rect(30, 30, 50, 70);
}


com.sun.jdi.AbsentInformationException
at
com.sun.tools.jdi.ReferenceTypeImpl.baseSourceName(ReferenceTypeImpl.java:735)
at com.sun.tools.jdi.BaseLineInfo.liSourceName(BaseLineInfo.java:32)
at com.sun.tools.jdi.LocationImpl.sourceName(LocationImpl.java:173)
at com.sun.tools.jdi.LocationImpl.sourceName(LocationImpl.java:168)
at com.sun.tools.jdi.LocationImpl.sourceName(LocationImpl.java:163)
at processing.app.debug.Runner.reportException(Runner.java:640)
at processing.app.debug.Runner.exception(Runner.java:622)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:387)
at processing.app.debug.EventThread.handleEvent(EventThread.java:275)
at processing.app.debug.EventThread.run(EventThread.java:110)
Exception in thread "Animation Thread" java.lang.NullPointerException
at java.util.Arrays.fill(Unknown Source)
at processing.core.PGraphics3D.hint(PGraphics3D.java:502)
at processing.opengl.PGraphicsOpenGL.hint(PGraphicsOpenGL.java:443)
at processing.core.PApplet.hint(PApplet.java:6728)
at sketch_081027a.draw(sketch_081027a.java:27)
at processing.core.PApplet.handleDraw(PApplet.java:1395)
at processing.core.PApplet.run(PApplet.java:1300)
at java.lang.Thread.run(Unknown Source)
Additional Comment #1 From fry 2008-11-03 06:00
fixed for 0155, thanks for the report.