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.
cnd-060921-windows.exe -I have some cnd projects opened -I opened some c++ files -closed all th files *the NPE appeared when I finished New webservice wizard in a web project
Created attachment 34335 [details] stacktrace
According to CND1-FCS quality criteria, NPE is a P1 bug.
Just added the stack trace in the main report: java.lang.NullPointerException at org.netbeans.modules.cnd.makeproject.ui.MakePhysicalViewProvider.findPath(MakePhysicalViewProvider.java:132) at org.netbeans.modules.project.ui.ProjectsRootNode.findNode(ProjectsRootNode.java:145) at org.netbeans.modules.project.ui.ProjectTab.selectNode(ProjectTab.java:349) [catch] at org.netbeans.modules.project.ui.ProjectUtilities$3$1.run(ProjectUtilities.java:226) 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) Do you have a reproducible test case?
I cannot reproduce and I took a look at the source code and didn't find anything suspect. It is a very common set of operations you describe and I have not seen this before. Could it be a race condition?
maybe the important information is that it happend during INTEGRATION test (CND, NB, MobPack, EntPack). The exception appears when you work with different project type than CND...