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 50555 - NPE when invoking code completion
Summary: NPE when invoking code completion
Status: CLOSED DUPLICATE of bug 50537
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 12:54 UTC by Martin Grebac
Modified: 2006-03-24 10:06 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 Martin Grebac 2004-10-18 12:54:50 UTC
Open JSP/Servlet breakpoint support project, open
JspRunToCursorProvider and press . anywhere. Code
completion appears, but NPE is there afterwards:

Build 200410171800.

java.lang.NullPointerException
org.netbeans.modules.javacore.JMManager.getSourceElementIfExists(JMManager.java:1263)
org.netbeans.modules.editor.java.JMIUtils.getSourceElementIfExists(JMIUtils.java:688)
org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.findOverridenMethod(NbJMICompletionJavaDoc.java:367)
org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.setFeature(NbJMICompletionJavaDoc.java:500)
org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.run(NbJMICompletionJavaDoc.java:599)
Comment 1 cezariusz 2004-10-18 13:41:54 UTC
already fixed

*** This issue has been marked as a duplicate of 50537 ***
Comment 2 Martin Grebac 2005-10-23 19:07:49 UTC
v