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 200333 - NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.removeUpdate
Summary: NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.re...
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-07-24 16:35 UTC by cholzberger
Modified: 2011-07-29 08:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 180097


Attachments
stacktrace (3.54 KB, text/plain)
2011-07-24 16:35 UTC, cholzberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cholzberger 2011-07-24 16:35:21 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.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

User Comments:
cholzberger: Trying to delete a line with an annotation




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.hints.AnnotationHolder.removeUpdate(AnnotationHolder.java:434)
   at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.removeUpdate(PriorityDocumentListenerList.java:116)
   at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:243)
   at org.netbeans.editor.BaseDocument.fireRemoveUpdate(BaseDocument.java:1673)
   at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:972)
   at org.netbeans.editor.BaseKit$DeleteCharAction$2.run(BaseKit.java:1789)
Comment 1 cholzberger 2011-07-24 16:35:26 UTC
Created attachment 109590 [details]
stacktrace
Comment 2 Jan Lahoda 2011-07-29 08:26:29 UTC
This has been (hopefully) fixed post NB 7.0 as bug #180222.

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