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 85480 - NPE org.netbeans.modules.cnd.makeproject.ui.MakePhysicalViewProvider.findPath
Summary: NPE org.netbeans.modules.cnd.makeproject.ui.MakePhysicalViewProvider.findPath
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 20:09 UTC by Lukas Hasik
Modified: 2006-09-26 09:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (937 bytes, text/plain)
2006-09-21 20:12 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2006-09-21 20:09:48 UTC
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
Comment 1 Lukas Hasik 2006-09-21 20:12:28 UTC
Created attachment 34335 [details]
stacktrace
Comment 2 julieg 2006-09-21 21:11:57 UTC
According to CND1-FCS quality criteria, NPE is a P1 bug.
Comment 3 Thomas Preisler 2006-09-23 07:43:41 UTC
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? 
Comment 4 Thomas Preisler 2006-09-26 04:46:43 UTC
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?
Comment 5 Lukas Hasik 2006-09-26 09:42:55 UTC
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...