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 148428 - A lot of NPE appeared if user opens files in excluded from 'Code Assistance' project
Summary: A lot of NPE appeared if user opens files in excluded from 'Code Assistance' ...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 148516 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-25 21:57 UTC by soldatov
Modified: 2008-09-27 05:33 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 soldatov 2008-09-25 21:57:39 UTC
Windows XP, 20080925 build.
Scenario:
- I opened project
- switched off C/C++ Code Assistance for this project
- open some files in project
==> a lot of NPE appeared

java.lang.NullPointerException
	at
org.netbeans.modules.cnd.modelimpl.csm.core.CsmStandaloneFileProviderImpl$NativeProjectImpl.getNativeProjectImpl(CsmStandaloneFileProviderImpl.java:249)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.CsmStandaloneFileProviderImpl.getCsmFile(CsmStandaloneFileProviderImpl.java:137)
	at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.stateChangedImpl(CsmFileTaskFactory.java:183)
	at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory.access$200(CsmFileTaskFactory.java:72)
	at org.netbeans.modules.cnd.model.tasks.CsmFileTaskFactory$1.run(CsmFileTaskFactory.java:97)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Comment 1 Alexander Simon 2008-09-26 09:28:21 UTC
fixed, change set:
http://hg.netbeans.org/main/rev/f7c10d46f445
Comment 2 Vladimir Kvashin 2008-09-26 20:34:40 UTC
*** Issue 148516 has been marked as a duplicate of this issue. ***
Comment 3 Quality Engineering 2008-09-27 05:33:10 UTC
Integrated into 'main-golden', will be available in build *200809270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f7c10d46f445
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed: IZ#148428:A lot of NPE appeared if user opens files in excluded from 'Code Assistance' project