Cant running any sketch

edited February 2016 in Python Mode

I write a simple code , and started processing.What's the problem?

Code:

def setup(): size(600,300)

Error:

java.lang.NullPointerException at jycessing.Runner.runSketchBlocking(Runner.java:303) at jycessing.mode.run.SketchRunner$3.run(SketchRunner.java:114) at java.lang.Thread.run(Unknown Source)

Answers

  • Do the examples run?

  • you should reinstall the java libraries on your computer.

  • It doesn t help :(

  • Answer ✓

    Is the pre-set language of your PC not in English (i.e. Chinese, Japanese, ...)? And does your "My Document" folder path contains illegal characters such as Chinese characters? Make sure that your "My Document" folder contains only English characters like "C:\Users\\Documents". You can also go to File>Preference, and change your "Sketchbook location". Make sure the new directory only has English Characters.

  • Answer ✓

    good catch - user is using a Ukrainian ip so possibly has Cyrillic characters in his path.

Sign In or Register to comment.