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 199419 - Windows XP: NPE if #include is typed
Summary: Windows XP: NPE if #include is typed
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 7.0.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-06-15 08:29 UTC by soldatov
Modified: 2011-06-16 19:58 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 2011-06-15 08:29:46 UTC
Scenario:
- on Windows XP type #include
==>
java.lang.NullPointerException
	at org.netbeans.modules.cnd.completion.includes.CsmIncludeCompletionQuery.addFolderItems(CsmIncludeCompletionQuery.java:140)
	at org.netbeans.modules.cnd.completion.includes.CsmIncludeCompletionQuery.query(CsmIncludeCompletionQuery.java:114)
	at org.netbeans.modules.cnd.completion.includes.CsmIncludeCompletionProvider$Query.getItems(CsmIncludeCompletionProvider.java:248)
	at org.netbeans.modules.cnd.completion.includes.CsmIncludeCompletionProvider$Query.query(CsmIncludeCompletionProvider.java:167)
	at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Caused: org.openide.util.RequestProcessor$FastItem: task failed due to
Comment 1 Vladimir Kvashin 2011-06-15 13:19:48 UTC
http://hg.netbeans.org/releases/rev/34d835d8a117
Comment 2 Quality Engineering 2011-06-16 19:58:35 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/41b818611a56
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #199419 - Windows XP: NPE if #include is typed
(transplanted from 34d835d8a117dca5179c24b3a969b8e6f06a04da)