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

Summary: NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.insertUpdate
Product: editor Reporter: jocke <jocke>
Component: Hints & AnnotationsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 179031
Attachments: stacktrace

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 ***