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 224749 - NullPointerException at java.util.AbstractCollection.addAll
Summary: NullPointerException at java.util.AbstractCollection.addAll
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-11 09:57 UTC by ehsavoie
Modified: 2013-06-05 10:02 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197426


Attachments
stacktrace (2.97 KB, text/plain)
2013-01-11 09:57 UTC, ehsavoie
Details
stacktrace (2.97 KB, text/plain)
2013-03-21 01:21 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ehsavoie 2013-01-11 09:57:01 UTC
Build: NetBeans IDE Dev (Build 201301100107)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at java.util.AbstractCollection.addAll(AbstractCollection.java:333)
   at org.netbeans.modules.editor.hints.AnnotationHolder$9.run(AnnotationHolder.java:1251)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1383)
   at org.netbeans.modules.editor.hints.AnnotationHolder.setErrorsForLine(AnnotationHolder.java:1236)
   at org.netbeans.modules.editor.hints.HintsUI.refresh(HintsUI.java:933)
   at org.netbeans.modules.editor.hints.HintsUI.invokeDefaultAction(HintsUI.java:647)
Comment 1 ehsavoie 2013-01-11 09:57:03 UTC
Created attachment 130108 [details]
stacktrace
Comment 2 alied 2013-03-21 01:21:39 UTC
Created attachment 132882 [details]
stacktrace

clicking in a editor hint. Then I canceled the refreshing hints dialog
Comment 3 Quality Engineering 2013-06-05 09:32:11 UTC
Integrated into 'main-golden', will be available in build *201306050626* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/760b95c24a7d
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #224749: proper handling of cancel while refreshing hints on Alt-Enter.