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 60483

Summary: NPE in CompletionImpl.requestShowCompletionPane
Product: editor Reporter: pzajac <pzajac>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: VERIFIED FIXED    
Severity: blocker CC: jglick, mmirilovic
Priority: P3 Keywords: RANDOM
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: NPE

Description pzajac 2005-06-24 09:53:57 UTC
[200506231800]
I don't know how to reproduce. The exception was shown during editing a java form. 

java.lang.NullPointerException
	at
org.netbeans.modules.editor.completion.CompletionImpl.requestShowCompletionPane(CompletionImpl.java:475)
	at
org.netbeans.modules.editor.completion.CompletionImpl.finishNotify(CompletionImpl.java:695)
	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.JavaCompletionProvider$Query.query(JavaCompletionProvider.java:107)
	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:419)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:794)
Comment 1 pzajac 2005-06-24 09:54:54 UTC
Created attachment 22884 [details]
NPE
Comment 2 Martin Roskanin 2005-07-11 10:23:48 UTC
*** Issue 60823 has been marked as a duplicate of this issue. ***
Comment 3 Marian Mirilovic 2005-08-04 14:59:50 UTC
similar exception from JSP editor :

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.web.core.syntax.completion.JspCompletionProvider$Query.query(JspCompletionProvider.java:102)
        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)

Comment 4 Roman Strobl 2005-08-08 09:13:28 UTC
*** Issue 61908 has been marked as a duplicate of this issue. ***
Comment 5 Martin Roskanin 2005-08-09 14:56:34 UTC
*** Issue 61352 has been marked as a duplicate of this issue. ***
Comment 6 Martin Roskanin 2005-08-09 15:03:18 UTC
*** Issue 61526 has been marked as a duplicate of this issue. ***
Comment 7 Jesse Glick 2005-08-09 17:17:46 UTC
Random but pretty common.
Comment 8 Martin Roskanin 2005-08-22 16:13:02 UTC
*** Issue 62596 has been marked as a duplicate of this issue. ***
Comment 9 Dusan Balek 2005-11-03 15:46:46 UTC
Fixed with the CompletionImpl redesign in revision 1.11.
Comment 10 pzajac 2005-11-16 12:51:21 UTC
v