We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi Guys
I am running processing 2.1 (Win32 version) on Windows 8 64 Bit. When I try and run any sketch in JavaScript mode, I get the following:
Exception in thread "Processing.BasicServer" java.lang.NoSuchMethodError: processing.app.Base.showWarning(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;)V
at de.bezier.mode.javascript.JavaScriptBuild.build(Unknown Source)
at de.bezier.mode.javascript.JavaScriptBuild.export(Unknown Source)
at de.bezier.mode.javascript.JavaScriptMode.handleExport(Unknown Source)
at de.bezier.mode.javascript.JavaScriptEditor.handleExport(Unknown Source)
at de.bezier.mode.javascript.JavaScriptEditor.serverStarted(Unknown Source)
at de.bezier.mode.javascript.BasicServer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
And this URL in my browser times out http://127.0.0.1:58855/
I have been able to deoply Processing Sketches as Android Apps no problems and the same sketches run in Windows Mode. I have reinstalled Processing and all the modes
Any ideas?
Bryan
Answers
Maybe you have fixed this already, but I got the same error when I tried to use displayWidth and displayHeight to set the size in javascript mode. When I used explicit values in the size function it worked fine.
Same for me, thanks for the fix **icogs **!
Hi, I am getting the same error, however I am not using displayWidth, in fact the code is from a while ago and used to compile at some point
sorted, it was from using variables in size(), it's been a while since I used processing :)
Although you were at fault, this is still a bug in Processing.js, because it was trying to give a proper warning, but crashed. I have reported it at #2088 on the PJS tracker.