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 › renaming sketch doesn't autosave
Page Index Toggle Pages: 1
renaming sketch doesn't autosave (Read 639 times)
renaming sketch doesn't autosave
Mar 4th, 2006, 2:56pm
 
I think it should autosave the file, and refresh the sketch-menu-list, cause now when i rename a main-sketch, and open file-sketchbook, it appears with it's old name, which when clicked upon gives this error:

Code:

java.lang.NullPointerException
at processing.app.Sketch.load(Sketch.java:159)
at processing.app.Sketch.<init>(Sketch.java:129)
at processing.app.Editor.handleOpen2(Editor.java:1554)
at processing.app.Editor.checkModified2(Editor.java:1336)
at processing.app.Editor.checkModified(Editor.java:1281)
at processing.app.Editor$35.run(Editor.java:1442)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


To prevent this, i have to press save, then open the sketchbook menu, and the correct name appears..

-seltar
Re: renaming sketch doesn't autosave
Reply #1 - Apr 21st, 2006, 6:27pm
 
hm, could you post this one in the bugs db?
Re: renaming sketch doesn't autosave
Reply #2 - Apr 25th, 2006, 7:33pm
 
posted!
Re: renaming sketch doesn't autosave
Reply #3 - Apr 25th, 2006, 11:16pm
 
k thanks, closing thread.
Page Index Toggle Pages: 1