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 199926 - NPE from CompletionContextImpl.initContext
Summary: NPE from CompletionContextImpl.initContext
Status: RESOLVED DUPLICATE of bug 189091
Alias: None
Product: xml
Classification: Unclassified
Component: Schema (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 20:29 UTC by Jesse Glick
Modified: 2011-09-26 12:51 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 Jesse Glick 2011-07-06 20:29:59 UTC
20110706-e2d0d2aa324d, JDK 6u26, Ubuntu. Invoking CC on an empty foo.ant file, I get (repeatedly):

INFO [org.netbeans.modules.xml.schema.completion.util.CompletionContextImpl]: java.lang.NullPointerException
java.lang.NullPointerException
[catch] at org.netbeans.modules.xml.schema.completion.util.CompletionContextImpl.initContext(CompletionContextImpl.java:356)
	at org.netbeans.modules.xml.schema.completion.CompletionQuery.getCompletionItems(CompletionQuery.java:107)
	at org.netbeans.modules.xml.schema.completion.CompletionQuery.query(CompletionQuery.java:84)
	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)
Comment 1 Svata Dedic 2011-09-26 12:51:52 UTC

*** This bug has been marked as a duplicate of bug 189091 ***