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 186168 - NullPointerException at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFiles
Summary: NullPointerException at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCs...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 14:45 UTC by Egor Ushakov
Modified: 2010-05-14 17:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 150889


Attachments
stacktrace (4.48 KB, text/plain)
2010-05-14 14:45 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2010-05-14 14:45:35 UTC
Build: NetBeans IDE Dev (Build 100514-56eb482770bf)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: SunOS

User Comments:
GUEST: Created a new project

GUEST: double clicked main.cpp that was newly created in a new project.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFiles(CsmUtilities.java:431)
   at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFile(CsmUtilities.java:464)
   at org.netbeans.modules.cnd.modelutil.CsmUtilities.getCsmFile(CsmUtilities.java:484)
   at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.getCsmFile(CsmFileTaskFactory.java:258)
   at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.stateChangedImpl(CsmFileTaskFactory.java:182)
   at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.access$300(CsmFileTaskFactory.java:74)
Comment 1 Egor Ushakov 2010-05-14 14:45:38 UTC
Created attachment 99011 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-05-14 16:10:27 UTC
accessing already disposed project