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 19291

Summary: Cannot install module jar files reliably
Product: platform Reporter: Jeffrey Norton <jeffnorton>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: module jar
dependent module jar (install this one first)
Info portion of log file

Description Jeffrey Norton 2002-01-10 17:27:26 UTC
This happens in the 020108_1 build it doesn't happen in the 011217 build.
Module jar files that used to install successfully will not install in the 
020108_1 build.  Various errors result.  The most common one is that the 
layer file cannot be found.  I have also seen errors about the manifest not
being found (in the form of a null pointer exception).  I'll attach one
jar that doesn't install successfully anymore.
Comment 1 Jeffrey Norton 2002-01-10 17:39:05 UTC
Created attachment 4085 [details]
module jar
Comment 2 Jeffrey Norton 2002-01-10 17:40:00 UTC
Created attachment 4086 [details]
dependent module jar (install this one first)
Comment 3 Jeffrey Norton 2002-01-10 17:41:21 UTC
Install genericgenerator1 first then try ServiceLocator.  I get 
the following error:

Thu Jan 10 09:23:08 PST 2002: java.lang.NullPointerException: <no 
message>
java.lang.NullPointerException
        at org.netbeans.core.modules.Module.findExtensionsAndVariants
(Module.java:365)
        at org.netbeans.core.modules.Module.loadManifest
(Module.java:349)
        at org.netbeans.core.modules.Module.<init>(Module.java:112)
        at org.netbeans.core.modules.ModuleManager.create
(ModuleManager.java:273)
        at org.netbeans.core.ui.ModuleBean$AllModulesBean.doCreate
(ModuleBean.java:687)
        at org.netbeans.core.ui.ModuleBean$AllModulesBean.access$1100
(ModuleBean.java:230)
        at org.netbeans.core.ui.ModuleBean$AllModulesBean$Updater.run
(ModuleBean.java:484)
        at org.openide.util.Mutex.writeAccess(Mutex.java:325)
        at org.netbeans.core.ui.ModuleBean$AllModulesBean$Updater.run
(ModuleBean.java:412)
        at org.openide.util.Task.run(Task.java:152)
[catch] at org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:622)
Comment 4 _ ttran 2002-01-10 18:19:39 UTC
I cannot explain the exception except that there is a bug in JDK's
JarFile and/or Manifest class
Comment 5 _ ttran 2002-01-10 18:20:57 UTC
Jeff, please attach your the info section in your ide.log file
Comment 6 Jeffrey Norton 2002-01-10 19:42:06 UTC
Created attachment 4088 [details]
Info portion of log file
Comment 7 _ ttran 2002-01-11 08:17:09 UTC

*** This issue has been marked as a duplicate of 19298 ***
Comment 8 Quality Engineering 2003-07-01 15:56:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 9 Quality Engineering 2003-07-01 16:27:29 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.