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 196223 - NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.isMySource
Summary: NullPointerException at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBa...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-03 10:46 UTC by Exceptions Reporter
Modified: 2011-03-05 16:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177169


Attachments
stacktrace (6.06 KB, text/plain)
2011-03-03 10:46 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-03-03 10:46:05 UTC
This issue was reported manually by vv159170.
It already has 1 duplicates 


Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

User Comments:
GUEST: started IDE for forst time, it asked whether to import setting from another installation (6.9), clicked yes.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.isMySource(ProjectBase.java:1767)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager.searchInProjectRoots(LibraryManager.java:273)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager.searchInProjectRoots(LibraryManager.java:263)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager.resolveFileProjectOnInclude(LibraryManager.java:153)
   at org.netbeans.modules.cnd.modelimpl.parser.apt.APTProjectFileBasedWalker.include(APTProjectFileBasedWalker.java:94)
   at org.netbeans.modules.cnd.apt.support.APTAbstractWalker.serialIncludeImpl(APTAbstractWalker.java:279)
Comment 1 Exceptions Reporter 2011-03-03 10:46:08 UTC
Created attachment 106644 [details]
stacktrace
Comment 2 Alexander Simon 2011-03-05 16:03:23 UTC
I believe that bug was fixed when bug #194826 was fixed.
Broken library manager is responsible for bug.
Fixed in change set:
http://hg.netbeans.org/main/rev/2aca78f5502c