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 60039

Summary: NPE thrown when trying javadoc on keywords or fields
Product: editor Reporter: Roman Strobl <rstrobl>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: VERIFIED FIXED    
Severity: blocker CC: mkrauskopf
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: NPE

Description Roman Strobl 2005-06-15 13:30:14 UTC
[NetBeans 200506142000; WinXP; JDK 1.5.0_04]

When I try to press Ctrl-Shift-Space to get javadoc on keywords like public or
class a NPE is thrown. It happens on fields as well. Methods work correctly.
Comment 1 Roman Strobl 2005-06-16 09:58:21 UTC
Created attachment 22730 [details]
NPE
Comment 2 Roman Strobl 2005-06-16 09:59:53 UTC
*** Issue 60099 has been marked as a duplicate of this issue. ***
Comment 3 Miloslav Metelka 2005-06-19 22:45:10 UTC
Fixed in trunk:

Checking in src/org/netbeans/modules/editor/java/NbJavaJMICompletionQuery.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/NbJavaJMICompletionQuery.java,v
 <--  NbJavaJMICompletionQuery.java
new revision: 1.10; previous revision: 1.9
Comment 4 Roman Strobl 2005-06-20 17:42:46 UTC
Verified in 20050620-1508.
Comment 5 Miloslav Metelka 2005-06-21 08:47:12 UTC
Integrated into QBE200506142000:
Checking in src/org/netbeans/modules/editor/java/NbJavaJMICompletionQuery.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/NbJavaJMICompletionQuery.java,v
 <--  NbJavaJMICompletionQuery.java
new revision: 1.9.2.1; previous revision: 1.9
Comment 6 Roman Strobl 2005-06-21 12:51:22 UTC
Verified in custom build from Q-build branch, works properly.