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 60773

Summary: NPE when browsing annotations CC
Product: editor Reporter: Jiri Prox <jiriprox>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: VERIFIED DUPLICATE    
Severity: blocker Keywords: JDK_SPECIFIC
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exception

Description Jiri Prox 2005-07-07 10:20:17 UTC
NB 4.2 (200507061800)
JDK 1.6.0

NPE thrown when browsing annotations in the CC window.

Steps to reproduce:
1) open source file
2) type '@' and invoke CC (ctrl-space)
3) use arrow keys to browse through the annotations

-> when placing cursor to some annotations (e.g. Oneway or HandlerChain) the NPE
is thrown:
java.lang.NullPointerException
	at
org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.getDocumentedAnnotations(NbJMICompletionJavaDoc.java:558)
	at
org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.setClass(NbJMICompletionJavaDoc.java:476)
Comment 1 Jiri Prox 2005-07-07 10:21:27 UTC
Created attachment 23020 [details]
exception
Comment 2 Roman Strobl 2005-07-07 13:29:32 UTC
This happens on build b42 of JDK6. Not reproducible on b39.
Comment 3 Martin Roskanin 2005-07-11 11:55:08 UTC
already reported, thanks.

*** This issue has been marked as a duplicate of 59747 ***
Comment 4 Jiri Prox 2006-01-17 13:25:23 UTC
verified duplicate