Bug 541 : huge jar files from 0124 beta applet exports
Last modified: 2008-05-29 15:08




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

 

Reporter:
van
Assigned To:
fry

Attachment Type Created Size Actions
zip file of small test case demonstrating bug application/zip 2007-04-02 19:05 79.26 KB

Description:   Opened: 2007-04-02 18:56
Hi -

Processing is working much better now with one exception.

When I export the Example->3D-Camera->Perspective applet, the jar file is a
reasonable 153K.

When I export a working, but slightly modified version of the same applet,
the applet file is a whooping 310 Megabytes. The modified applet includes a
small java library.

The export ceases with a message:

Could not delete C:\Documents and Settings\All
Users.WINDOWS\Documents\public_html\Software\processing-0124-expert\wdv\NewPerspective\applet
java.io.FileNotFoundException: C:\Documents and Settings\All
Users\Application
Data\Microsoft\Crypto\RSA\MachineKeys\010c0550eaae7d56e251e36cc4fef874_2da5a722-de28-4736-a06d-07c387a7d582
(Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at processing.app.Base.grabFile(Base.java:896)
at processing.app.Sketch.packClassPathIntoZipFileRecursive(Sketch.java:2671)

I would be happy to pack up the modified app and small jar file in the code
directory and send it.

Regards,
- Van
Additional Comment #1 From van 2007-04-02 19:05
edit]
zip file of small test case demonstrating bug

running on windows XP with all current patches, etc, using latest version of
processing0124-beta.
Additional Comment #2 From fry 2007-06-10 20:31
confirmed, will look into it. seems to be something with a library not
linking up properly, and instead pointing to the root of the applications
directory.
Additional Comment #3 From van 2008-01-28 19:30
bug remains in version 0135

take RGBcube example

// export the applet

jar file in applet directory grows to several hundred megabytes.
Additional Comment #4 From fry 2008-01-28 21:36
when the bug is fixed, it will be marked as such.
Additional Comment #5 From van 2008-01-28 22:18
six months is a long time for people with cancer.