Bug 434 : size(), beginRecord(), beginRaw(), createGraphics() broken for file-based renderers in 0120
Last modified: 2006-11-06 11:02




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

 

Reporter:
Ira
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2006-11-06 10:07
0120
PPC OSX 10.4.8

import processing.pdf.*;
beginRecord(PDF, "img.pdf");
rect(10, 10, 80, 80);
endRecord();

java.lang.NullPointerException
at processing.core.PApplet.createGraphics(PApplet.java:1039)
at processing.core.PApplet.createGraphics(PApplet.java:952)
at processing.core.PApplet.beginRecord(PApplet.java:6634)
at Temporary_4172_7032.setup(Temporary_4172_7032.java:2)
at processing.core.PApplet.handleDisplay(PApplet.java:1223)
at processing.core.PGraphics.requestDisplay(PGraphics.java:563)
at processing.core.PApplet.run(PApplet.java:1392)
at java.lang.Thread.run(Thread.java:613)
Additional Comment #1 From fry 2006-11-06 11:02
found and fixed for 0121.