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.
Steps to reproduce: - create Sync sample project - switch to the Files tab - select BPEL module's src dir - delete the src dir NPE will be thrown: java.lang.NullPointerException at org.openide.util.lookup.InstanceContent$SimpleItem.<init>(InstanceContent.java:150) at org.openide.util.lookup.SimpleLookup.<init>(SimpleLookup.java:47) at org.openide.util.lookup.Lookups.fixed(Lookups.java:75) at org.netbeans.modules.bpel.core.BPELDataObject.getLookup(BPELDataObject.java:149) at org.netbeans.modules.bpel.core.BPELDataEditorSupport.getValidationController(BPELDataEditorSupport.java:573) at org.netbeans.modules.bpel.core.BPELDataEditorSupport.notifyClosed(BPELDataEditorSupport.java:511) at org.openide.text.CloneableEditorSupport.close(CloneableEditorSupport.java:1866)
Filed after Bug Cut Off. Not a stopper for Beta.
Removed Beta EP551_WAIVER_APPROVED keyword - we are going forward to FCS.
Fixed in trunk: Checking in samples/src/org/netbeans/modules/bpel/samples/SoaSampleUtils.java; /cvs/enterprise/bpel/samples/src/org/netbeans/modules/bpel/samples/SoaSampleUtils.java,v <-- SoaSampleUtils.java new revision: 1.6; previous revision: 1.5 done Checking in project/src/org/netbeans/modules/bpel/project/BpelproProjectGenerator.java; /cvs/enterprise/bpel/project/src/org/netbeans/modules/bpel/project/BpelproProjectGenerator.java,v <-- BpelproProjectGenerator.java new revision: 1.8; previous revision: 1.7 done Checking in core/src/org/netbeans/modules/bpel/core/wizard/NewBpelFileIterator.java; /cvs/enterprise/bpel/core/src/org/netbeans/modules/bpel/core/wizard/NewBpelFileIterator.java,v <-- NewBpelFileIterator.java new revision: 1.5; previous revision: 1.4 done
Closed by mistake - reopening..
Reproduced with slightly different scenario and NPE: - create Sync sample project - open SynchronousSampleXX.bpel in the editor - switch to the Files tab - select BPEL module's src dir - delete the src dir throws java.lang.NullPointerException at org.netbeans.modules.navigator.NavigatorController.obtainFirstCurNode(NavigatorController.java:209) at org.netbeans.modules.navigator.NavigatorController.updateContext(NavigatorController.java:235) [catch] at org.netbeans.modules.navigator.NavigatorController.run(NavigatorController.java:476) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) I believe there are a number of places in the code which rely on the existence of "src" dir. Need to track them down and fix.
Can not reproduce with the fresh sources, most probably because of the fix of issue 108066. Although, I got another NPE while trying to reproduce. A separate issue 110298 was filed for it. I believe we can close this issue now.
verified in Build 200707171200