Bug 1084 : Empty "code" folder causes problems with Export
Last modified: 2008-12-01 10:00




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
jmatejka
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-12-01 09:06
I can run from Processing fine, and export the applet fine, but exporting to an
application gives me the following error. My simple programs still export correctly, but
not the large one. This is happening in 1.0.1

java.lang.NullPointerException
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2652 )
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2661 )
at processing.app.Sketch.packClassPathIntoZipFile(Sketch.java:2635)
at processing.app.Sketch.exportApplication(Sketch.java:2289)
at processing.app.Sketch.exportApplication(Sketch.java:2098)
at processing.app.Sketch.exportApplicationPrompt(Sketch.java:2082)
at processing.app.Editor$46.run(Editor.java:1998)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.
java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.jav a:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.
java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Additional Comment #1 From fry 2008-12-01 09:37
That's a problem with a .zip or .jar file in your code folder. Check any
files that are in there to make sure they're not corrupt.
Additional Comment #2 From jmatejka 2008-12-01 09:46
The code folder was empty, but deleting it did fix the problem.

Thanks.
Additional Comment #3 From fry 2008-12-01 10:00
Turns out to be a bug, but I've fixed it for the next release. Thanks for
the report.