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 177915 - NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.removeUpdate
Summary: NullPointerException at org.netbeans.modules.editor.hints.AnnotationHolder.re...
Status: RESOLVED DUPLICATE of bug 177914
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Max Sauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-01 07:09 UTC by Eduardo.m Costa
Modified: 2009-12-01 08:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 163194


Attachments
stacktrace (3.66 KB, text/plain)
2009-12-01 07:09 UTC, Eduardo.m Costa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo.m Costa 2009-12-01 07:09:39 UTC
This bug was originally marked as duplicate of bug 170487, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-4433-on-091201)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_04-b12
OS: Windows XP, 5.1, x86

User Comments:
_m4c0_: maven nbm project, scala source. I have this snippet:

n.getLookup.lookup classOf[DataFolder] != null

I selected "classOf[DataFolder]" and typed "("



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.editor.hints.AnnotationHolder.removeUpdate(AnnotationHolder.java:410)
        at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.removeUpdate(PriorityDocumentListenerList.java:99)
        at javax.swing.text.AbstractDocument.fireRemoveUpdate(AbstractDocument.java:243)
        at org.netbeans.editor.BaseDocument.fireRemoveUpdate(BaseDocument.java:1626)
        at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:925)
        at org.netbeans.modules.scala.editor.ScalaKeystrokeHandler$$anonfun$beforeCharInserted$1.apply(ScalaKeystrokeHandler.java:624)
Comment 1 Eduardo.m Costa 2009-12-01 07:09:43 UTC
Created attachment 91925 [details]
stacktrace
Comment 2 Max Sauer 2009-12-01 08:02:01 UTC
This is a duplicate.

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