java.io.IOException: Permission denied at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1314) at java.io.File.createTempFile(File.java:1402) at java.io.File.createTempFile(File.java:1439) at processing.app.Base.createTempFolder(Base.java:335) at processing.app.Base.getBuildFolder(Base.java:318) at processing.app.Sketch.(Sketch.java:123) at processing.app.Editor.handleOpen2(Editor.java:1594) at processing.app.Editor.restorePreferences(Editor.java:395) at processing.app.Base.(Base.java:132) at processing.app.Base.main(Base.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at apple.launcher.LaunchRunner.run(LaunchRunner.java:88) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) java.lang.NullPointerException at processing.app.Base.getBuildFolder(Base.java:319) at processing.app.Sketch.(Sketch.java:123) at processing.app.Editor.handleOpen2(Editor.java:1594) at processing.app.Editor.restorePreferences(Editor.java:395) at processing.app.Base.(Base.java:132) at processing.app.Base.main(Base.java:101) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at apple.launcher.LaunchRunner.run(LaunchRunner.java:88) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)