i just downloaded 0154 and none of my sketches will run. i was previously using 0148.
i can't think of what's happening, nothing changed just a different version of processing.
so i tried this:
Code:
void setup() {
size(500,500);
}
void draw() {
background(0);
fill(255,0,255);
ellipse(0,0, 300,300);
}
and i got this error:
java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
at java.util.StringTokenizer.<init>(StringTokenizer.java:204)
at processing.core.PApplet.splitTokens(PApplet.java:5161)
at processing.app.preproc.PdePreprocessor.writePrefix(PdePreprocessor.java:241)
at processing.app.Sketch.preprocess(Sketch.java:1271)
at processing.app.Sketch.build(Sketch.java:1478)
at processing.app.Sketch.compile(Sketch.java:1178)
at processing.app.Editor.handleRun(Editor.java:1645)
at processing.app.Editor$15.actionPerformed(Editor.java:551)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at javax.swing.AbstractButton.doClick(AbstractButton.java:282)
at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(BasicMenuItemUI.j
ava:1020)
at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1576)
at javax.swing.JComponent.processKeyBinding(JComponent.java:2772)
at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:656)
at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:664)
at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:664)
at javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:640)
at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:255)
at
(there was more, but it was too long to post)
my specs:
OSX 10.4.11
Dual 2 GHz PowerPC G5
4 GB DDR SDRAM
any help would be appreciated.
thanks.
Ken