We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsSoftware Bugs › Errors on starting processing/Mac OS X
Page Index Toggle Pages: 1
Errors on starting processing/Mac OS X (Read 982 times)
Errors on starting processing/Mac OS X
Dec 15th, 2005, 11:35pm
 
Whenever I start processing I get these errors:

Code:

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.getTempFolder(Base.java:331)
at processing.app.Base.getBuildFolder(Base.java:315)
at processing.app.Sketch.<init>(Sketch.java:123)
at processing.app.Editor.handleOpen2(Editor.java:1504)
at processing.app.Editor.handleNew2(Editor.java:1358)
at processing.app.Editor.restorePreferences(Editor.java:396)
at processing.app.Base.<init>(Base.java:129)
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)
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.NullPointerException
java.lang.NullPointerException
at processing.app.Base.removeDescendants(Base.java:836)
at processing.app.Sketch.cleanup(Sketch.java:1167)
at processing.app.Editor.doClose(Editor.java:1226)
at processing.app.Editor.handleOpen(Editor.java:1390)
at processing.app.Sketchbook$3.actionPerformed(Sketchbook.java:441)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:104)
at java.awt.MenuItem.processActionEvent(MenuItem.java:589)
at java.awt.MenuItem.processEvent(MenuItem.java:548)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:482)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Re: Errors on starting processing/Mac OS X
Reply #1 - Dec 16th, 2005, 12:18am
 
are you using a version earlier than 0094 in a lab environment, or have you been running it with a second user account?

or have you done something to remove your temporary directory?
Re: Errors on starting processing/Mac OS X
Reply #2 - Dec 16th, 2005, 1:55am
 
I'm running under the admin user on a mac that was wiped less than two weeks ago, and now has a new install of 10.4.3. All of the software is updated. The only thing I've done on this computer since it was working was install Adobe Photoshop CS 2 demo, which did not work and hence I have deleted it.

The problem first occured in Processing 0.98. I then deleted the processing folder and prefs and redownloaded 0.98. After that failed with the same problem I deleted it again and tried 0.97. I believe something is wrong with Java itself, somehow.
Re: Errors on starting processing/Mac OS X
Reply #3 - Dec 16th, 2005, 9:03pm
 
yeah, basically it's complaining that it can't write to your temporary directory (i don't recall whether it's /tmp or what). as with all osx issues, maybe try fixing permissions? also make sure you're not using the java 1.5 as your default vm, just in case.
Re: Errors on starting processing/Mac OS X
Reply #4 - Dec 16th, 2005, 10:55pm
 
The problem has been fixed Smiley Thanks fry. It turns out that it was the /tmp folder's permissions. I fixed it by pressing apple-shift-g(go to folder) then apple-i (get info, of the folder because nothing was selected). I then changed everything to the equivelent of 777 (I suppose it would have been faster to do a sudo chmod deal but I wasn't really expecting it to work). Oddly enough I noted two com.adobe plist files. I am going to file a bug report to adobe.
Re: Errors on starting processing/Mac OS X
Reply #5 - Dec 18th, 2005, 3:02am
 
k, closing thread.
Page Index Toggle Pages: 1