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 - NPE when browsing annotations CC
Summary: NPE when browsing annotations CC
Status: VERIFIED DUPLICATE of bug 59747
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2005-07-07 10:20 UTC by Jiri Prox
Modified: 2007-11-05 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (1.16 KB, text/plain)
2005-07-07 10:21 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
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