This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 181625 - decora-j2d-rsl.jar java.util.zip.ZipException: error in opening zip file
Summary: decora-j2d-rsl.jar java.util.zip.ZipException: error in opening zip file
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P4 normal (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 04:59 UTC by Lukas Hasik
Modified: 2010-06-29 14:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2010-03-08 04:59:39 UTC
http://big-mac.czech.sun.com/hudson/job/JavaFX_Composer_Promoted_Build_Candidate/5/ on Soma 337 on Mac

INFO [org.netbeans.JarClassLoader]: Cannot open /Users/lukas/netbeans/nb-fxc-sdk-sanity/javafx/modules/../javafx-sdk/lib/desktop/decora-j2d-rsl.jar
java.util.zip.ZipException: error in opening zip file
	at java.util.zip.ZipFile.open(Native Method)
	at java.util.zip.ZipFile.<init>(ZipFile.java:114)
	at java.util.jar.JarFile.<init>(JarFile.java:133)
	at java.util.jar.JarFile.<init>(JarFile.java:112)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:459)
	at org.netbeans.JarClassLoader$JarSource$1.call(JarClassLoader.java:456)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at org.netbeans.JarClassLoader$JarSource.getJarFile(JarClassLoader.java:472)
	at org.netbeans.JarClassLoader$JarSource.listCoveredPackages(JarClassLoader.java:535)
	at org.netbeans.JarClassLoader.getCoveredPackages(JarClassLoader.java:789)
	at org.netbeans.JarClassLoader.<init>(JarClassLoader.java:158)
	at org.netbeans.StandardModule$OneModuleClassLoader.<init>(StandardModule.java:687)
	at org.netbeans.StandardModule.classLoaderUp(StandardModule.java:620)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:825)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:315)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:251)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:283)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:169)
	at org.netbeans.core.startup.Main.start(Main.java:299)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:111)
[catch] at java.lang.Thread.run(Thread.java:637)
Comment 1 Lukas Hasik 2010-03-16 13:22:01 UTC
the decora-j2d-rsl.jar isn't part of JavaFX SDK. Increasing priority -> wrong platform definition
Comment 2 Adam Sotona 2010-03-16 16:15:40 UTC
It is on my windows.

The problem is that platform definition now differs on each OS. Our simple hack that directly hard-codes Jars from SDK as NetBeans module dependences is not sufficient. This consequence was predicted when the hack was required by Composer team and now they fully depend on it.
Comment 3 Martin Ryzl 2010-03-16 19:30:30 UTC
Better solution would be to move the runtime module functionality to the sdk modules - these know about the platform. However we'd have to do every change on in multiple modules.
Comment 4 Lukas Hasik 2010-03-16 19:46:37 UTC
and what about a description of platform provided to runtime by the sdk modules?
Comment 5 Petr Suchomel 2010-04-13 10:43:44 UTC
This is just harmless console warning, downgrading to P4 per discussion with Martin R.
Comment 6 Martin Ryzl 2010-06-29 14:52:37 UTC
not a real issue