PDF export errors
in
Core Library Questions
•
3 years ago
I'm using Processing 1.2.1 on OSX 10.6.4 with Java 5 set as the default.
Trying to run the PDF export examples from http://processing.org/reference/libraries/pdf/index.html I get the following errors:
java.lang.NoSuchMethodException: processing.pdf.PGraphicsPDF.<init>()
at java.lang.Class.getConstructor0(Class.java:2678)
at java.lang.Class.getConstructor(Class.java:1629)
at processing.core.PApplet.makeGraphics(PApplet.java:1322)
at processing.core.PApplet.size(PApplet.java:1149)
at bubbleShapes.setup(bubbleShapes.java:25)
at processing.core.PApplet.handleDraw(PApplet.java:1583)
at processing.core.PApplet.run(PApplet.java:1503)
at java.lang.Thread.run(Thread.java:613)
processing.app.debug.RunnerException: RuntimeException: processing.pdf.PGraphicsPDF needs to be updated for the current release of Processing.
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:583)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "Animation Thread" java.lang.RuntimeException: processing.pdf.PGraphicsPDF needs to be updated for the current release of Processing.
at processing.core.PApplet.makeGraphics(PApplet.java:1375)
at processing.core.PApplet.size(PApplet.java:1149)
at bubbleShapes.setup(bubbleShapes.java:25)
at processing.core.PApplet.handleDraw(PApplet.java:1583)
at processing.core.PApplet.run(PApplet.java:1503)
at java.lang.Thread.run(Thread.java:613)
Trying to run the PDF export examples from http://processing.org/reference/libraries/pdf/index.html I get the following errors:
java.lang.NoSuchMethodException: processing.pdf.PGraphicsPDF.<init>()
at java.lang.Class.getConstructor0(Class.java:2678)
at java.lang.Class.getConstructor(Class.java:1629)
at processing.core.PApplet.makeGraphics(PApplet.java:1322)
at processing.core.PApplet.size(PApplet.java:1149)
at bubbleShapes.setup(bubbleShapes.java:25)
at processing.core.PApplet.handleDraw(PApplet.java:1583)
at processing.core.PApplet.run(PApplet.java:1503)
at java.lang.Thread.run(Thread.java:613)
processing.app.debug.RunnerException: RuntimeException: processing.pdf.PGraphicsPDF needs to be updated for the current release of Processing.
at processing.app.Sketch.placeException(Sketch.java:1543)
at processing.app.debug.Runner.findException(Runner.java:583)
at processing.app.debug.Runner.reportException(Runner.java:558)
at processing.app.debug.Runner.exception(Runner.java:498)
at processing.app.debug.EventThread.exceptionEvent(EventThread.java:367)
at processing.app.debug.EventThread.handleEvent(EventThread.java:255)
at processing.app.debug.EventThread.run(EventThread.java:89)
Exception in thread "Animation Thread" java.lang.RuntimeException: processing.pdf.PGraphicsPDF needs to be updated for the current release of Processing.
at processing.core.PApplet.makeGraphics(PApplet.java:1375)
at processing.core.PApplet.size(PApplet.java:1149)
at bubbleShapes.setup(bubbleShapes.java:25)
at processing.core.PApplet.handleDraw(PApplet.java:1583)
at processing.core.PApplet.run(PApplet.java:1503)
at java.lang.Thread.run(Thread.java:613)
4