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 198928 - NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.insertUpdate
Summary: NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.in...
Status: RESOLVED DUPLICATE of bug 180222
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 18:56 UTC by jocke
Modified: 2011-05-26 19:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 179031


Attachments
stacktrace (3.77 KB, text/plain)
2011-05-26 18:57 UTC, jocke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jocke 2011-05-26 18:56:58 UTC
This bug was originally marked as duplicate of bug 177914, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Linux

User Comments:
jocke: editing java file




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.hints.AnnotationHolder.insertUpdate(AnnotationHolder.java:329)
   at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:85)
   at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185)
   at org.netbeans.editor.BaseDocument.fireInsertUpdate(BaseDocument.java:1670)
   at org.netbeans.editor.BaseDocumentEvent.undo(BaseDocumentEvent.java:293)
   at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:72)
Comment 1 jocke 2011-05-26 18:57:02 UTC
Created attachment 108536 [details]
stacktrace
Comment 2 Jan Lahoda 2011-05-26 19:14:29 UTC
I have prevented this exception in bug #180222 - the fix should be part of NB7.0.1.

*** This bug has been marked as a duplicate of bug 180222 ***