Comment 2 for bug 664300

The stack trace seems to be:

java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:999)
 at java.awt.image.BufferedImage.<init>(BufferedImage.java:324)
 at processing.core.PGraphicsJava2D.allocate(PGraphicsJava2D.java:125)
 at processing.core.PGraphicsJava2D.setSize(PGraphicsJava2D.java:116)
 at processing.core.PApplet.resizeRenderer(PApplet.java:930)
 at processing.core.PApplet.run(PApplet.java:1322)
[catch] at java.lang.Thread.run(Thread.java:680)