|
Author |
Topic: Startup error due to corrupt sketches (Read 272 times) |
|
fdb
|
Startup error due to corrupt sketches
« on: Nov 27th, 2002, 12:23am » |
|
After creating about 27 sketches, proce55ing (0046 on OS X) no longer would startup, giving me the following error: Exception in thread "main" java.lang.NullPointerException at PdeBase.addSketches(PdeBase.java:598 ) at PdeBase.addSketches(PdeBase.java:615) at PdeBase.rebuildSketchbookMenu(PdeBase.java:575) at PdeBase.<init>(PdeBase.java:362) at PdeBase.main(PdeBase.java:102) Removing all sketches would solve the problem. The problem occurred after exporting part of the sketches to the web. It crashed on me, and didn't want to startup again.
|
|
|
|
fry
|
Re: Startup error due to corrupt sketches
« Reply #1 on: Nov 27th, 2002, 1:53am » |
|
thanks for the bug report & details.. i think it's getting confused about an empty directory in your sketches folder. the line it's complaining about is because there is an empty folder, which i'm guessing on macos comes back as "null" and on pc comes back as an array of length zero (slight difference). check to see if there is an empty folder one or two levels deep into your sketchbook, that may be causing the problem. if that doesn't work, zip (or stuff) the contents of your sketchbook folder (all intact, just drop 'sketchbook' onto dropstuff or something) and email them to me (fry@proce55ing.net) i can check out what's going on. should be a simple fix, i can repair it for 47.
|
|
|
|
|