I'm playing around with the Keystone library example code, and I get the following error every time I try to save the keystone settings. Here's the error log:
NoSuchMethodError: You may be using a library that's incompatible with this version of Processing
Invalid input: `k' (0x6b), SystemID='file:.', Line=1
at processing.xml.XMLUtil.errorInvalidInput(XMLUtil.java:513)
at processing.xml.StdXMLParser.scanData(StdXMLParser.java:239)
at processing.xml.StdXMLParser.parse(StdXMLParser.java:199)
at processing.xml.XMLElement.parseFromReader(XMLElement.java:235)
at processing.xml.XMLElement.<init>(XMLElement.java:224)
at deadpixel.keystone.Keystone.save(Unknown Source)
at deadpixel.keystone.Keystone.save(Unknown Source)
at CornerPin.keyPressed(CornerPin.java:102)
at processing.core.PApplet.handleKeyEvent(PApplet.java:1752)
at processing.core.PApplet.dequeueKeyEvents(PApplet.java:1735)
at processing.core.PApplet.handleDraw(PApplet.java:1437)
at processing.core.PApplet.run(PApplet.java:1327)
at java.lang.Thread.run(Thread.java:613)
Invalid input: `s' (0x73), SystemID='file:.', Line=1
at processing.xml.XMLUtil.errorInvalidInput(XMLUtil.java:513)
at processing.xml.StdXMLParser.scanData(StdXMLParser.java:239)
at processing.xml.StdXMLParser.parse(StdXMLParser.java:199)
at processing.xml.XMLElement.parseFromReader(XMLElement.java:235)
at processing.xml.XMLElement.<init>(XMLElement.java:224)
at deadpixel.keystone.Keystone.save(Unknown Source)
at deadpixel.keystone.Keystone.save(Unknown Source)
at CornerPin.keyPressed(CornerPin.java:102)
at processing.core.PApplet.handleKeyEvent(PApplet.java:1752)
at processing.core.PApplet.dequeueKeyEvents(PApplet.java:1735)
at processing.core.PApplet.handleDraw(PApplet.java:1437)
at processing.core.PApplet.run(PApplet.java:1327)
at java.lang.Thread.run(Thread.java:613)
Exception in thread "Animation Thread" java.lang.NoSuchMethodError: processing.xml.XMLElement.setInt(Ljava/lang/String;I)V
at deadpixel.keystone.Keystone.save(Unknown Source)
at deadpixel.keystone.Keystone.save(Unknown Source)
at CornerPin.keyPressed(CornerPin.java:102)
at processing.core.PApplet.handleKeyEvent(PApplet.java:1752)
at processing.core.PApplet.dequeueKeyEvents(PApplet.java:1735)
at processing.core.PApplet.handleDraw(PApplet.java:1437)
at processing.core.PApplet.run(PApplet.java:1327)
at java.lang.Thread.run(Thread.java:613)
I've scoured through the forums, and no one else seems to have had this problem. I'm on OS X 10.6 using Processing 1.5.1.
Any pointers would be much appreciated.
1