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 159001

Summary: NullPointerException at org.netbeans.core.startup.ModuleList$Listener.stepDisable
Product: platform Reporter: riftware <riftware>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker CC: andycaramba
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=146618
Issue Type: DEFECT Exception Reporter: 146618
Bug Depends on: 144615    
Bug Blocks:    
Attachments: stacktrace

Description riftware 2009-02-23 17:01:25 UTC
Build: NetBeans IDE Dev (Build 200902230201)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.28.7-11-pae, i386

User Comments:
riftware: Allowing netbeans 6.7 nightly to repair modules



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.core.startup.ModuleList$Listener.stepDisable(ModuleList.java:1684)
        at org.netbeans.core.startup.ModuleList$Listener.access$2300(ModuleList.java:1307)
        at org.netbeans.core.startup.ModuleList$Listener$1.run(ModuleList.java:1538)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:120)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:509)
        at org.netbeans.core.startup.ModuleList$Listener.run(ModuleList.java:1513)
Comment 1 riftware 2009-02-23 17:01:41 UTC
Created attachment 77254 [details]
stacktrace
Comment 2 Jesse Glick 2009-02-23 17:36:56 UTC
Don't know how to reproduce or how it could happen, but can try to avoid the symptom (something else may remain broken):
core-main #157537b9efed
Comment 3 Quality Engineering 2009-02-24 20:16:05 UTC
Integrated into 'main-golden', will be available in build *200902241401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/157537b9efed
User: Jesse Glick <jglick@netbeans.org>
Log: #159001: unreproducible NPE.
Comment 4 Jesse Glick 2009-02-25 16:23:18 UTC
Probably a side effect of the workaround for issue #144615. Fix seems to have caused issue #159113.
Comment 5 Jesse Glick 2009-02-25 16:24:40 UTC
*** Issue 159113 has been marked as a duplicate of this issue. ***
Comment 6 Jesse Glick 2009-02-25 16:31:52 UTC
Better would be core-main #585170d60d02. Issue #144615 is still unresolved, just fixing a regression introduced by a
workaround for that.
Comment 7 Quality Engineering 2009-02-26 21:55:31 UTC
Integrated into 'main-golden', will be available in build *200902261558* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/585170d60d02
User: Jesse Glick <jglick@netbeans.org>
Log: Better fix for #159001.