Bug 1435 : tint() causes crash with with android
Last modified: 2010-02-20 12:44




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

 

Reporter:
fry
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2010-01-14 16:52
- When I use the tint() function I get the following crash:
E/AndroidRuntime( 995): java.lang.NullPointerException
E/AndroidRuntime( 995): at
processing.android.core.PGraphicsAndroid2D.tintFromCalc(PGraphicsAndroid2D.java:1562)
E/AndroidRuntime( 995): at
processing.android.core.PGraphics.tint(PGraphics.java:3873)
E/AndroidRuntime( 995): at
processing.android.core.PApplet.tint(PApplet.java:7280)
E/AndroidRuntime( 995): at
processing.android.test.grassdemo.GrassDemo$Sky.render(GrassDemo.java:194)
E/AndroidRuntime( 995): at
processing.android.test.grassdemo.GrassDemo.draw(GrassDemo.java:62)
E/AndroidRuntime( 995): at
processing.android.core.PApplet.handleDraw(PApplet.java:1610)
E/AndroidRuntime( 995): at
processing.android.core.PGraphicsAndroid2D.requestDraw(PGraphicsAndroid2D.java:161)
E/AndroidRuntime( 995): at
processing.android.core.PApplet.run(PApplet.java:1511)
Additional Comment #1 From fry 2010-02-20 12:44
Fixed for revision 0176.