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 61908 - NPE from code completion
Summary: NPE from code completion
Status: RESOLVED DUPLICATE of bug 60483
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-08 05:01 UTC by _ tboudreau
Modified: 2007-11-05 13:38 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 _ tboudreau 2005-08-08 05:01:37 UTC
I clicked somewhere in the editor while CC was getting ready to pop up.  The
caret had been after the ending 'g' in the following unfinished line of text
when I clicked elsewhere:

            if (getText().equals(other.getText()) && getStartPosition().g)



java.lang.NullPointerException
	at
org.netbeans.modules.editor.completion.CompletionImpl.requestShowCompletionPane(CompletionImpl.java:456)
	at
org.netbeans.modules.editor.completion.CompletionImpl.finishNotify(CompletionImpl.java:676)
	at
org.netbeans.modules.editor.completion.CompletionResultSetImpl.finish(CompletionResultSetImpl.java:199)
	at
org.netbeans.spi.editor.completion.CompletionResultSet.finish(CompletionResultSet.java:184)
	at
org.netbeans.modules.editor.java.AbbreviationsCompletionProvider$Query.query(AbbreviationsCompletionProvider.java:80)
	at
org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:181)
	at org.openide.util.Task.run(Task.java:207)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:469)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:870)
Comment 1 Roman Strobl 2005-08-08 09:13:29 UTC
Thanks, this one is already reported.

*** This issue has been marked as a duplicate of 60483 ***