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 258476

Summary: getting error(Already had dead JAR) on running Module project
Product: platform Reporter: gaurav_gupta
Component: Module SystemAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description gaurav_gupta 2016-03-22 05:29:02 UTC
getting following error on running Module project

java.lang.AssertionError: Already had dead JAR: /tmp/org-netbeans-modules-java-source-base4838918015515206135.jar
	at org.netbeans.JarClassLoader$JarSource.destroy(JarClassLoader.java:700)
	at org.netbeans.JarClassLoader.destroy(JarClassLoader.java:341)
	at org.netbeans.StandardModule.classLoaderDown(StandardModule.java:581)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1307)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1163)
	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
	at org.netbeans.core.startup.Main.start(Main.java:307)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:745)
Result: 2
BUILD SUCCESSFUL (total time: 2 minutes 4 seconds)
Comment 1 Tomas Hurka 2016-04-21 12:40:46 UTC
Please provide steps how to reproduce it and attach messages.log file. Thanks.
Comment 2 gaurav_gupta 2016-04-21 12:52:53 UTC
Meta-Inf contains the reference to wrong path Bundle file