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 108544 - NPE from CppUpToDateStatusProvider on IDE startup
Summary: NPE from CppUpToDateStatusProvider on IDE startup
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-29 21:08 UTC by Vladimir Kvashin
Modified: 2007-11-23 14:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2007-06-29 21:08:58 UTC
If last time IDE was closed with some files being open, NPE occurs on next startup:

java.lang.NullPointerException
org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.getFile(ProjectBase.java:977)
org.netbeans.modules.cnd.modelimpl.platform.CppUpToDateStatusProvider.getCsmFile(CppUpToDateStatusProvider.java:77)
org.netbeans.modules.cnd.modelimpl.platform.CppUpToDateStatusProvider.projectOpened(CppUpToDateStatusProvider.java:148)
org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.fireProjectOpened(ModelImpl.java:378)
org.netbeans.modules.cnd.modelimpl.csm.core.ModelImpl.addProject(ModelImpl.java:204)
org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.addProject(ModelSupport.java:477)
org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.openProjects(ModelSupport.java:172)
org.netbeans.modules.cnd.modelimpl.platform.ModelSupport.access$100(ModelSupport.java:70)
org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$1.run(ModelSupport.java:153)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Vladimir Kvashin 2007-06-30 11:33:14 UTC
Fixed.
Comment 2 dnikitin 2007-11-23 14:26:19 UTC
Verified in NetBeans IDE 6.0 RC2 (Build 200711201000)