[hg] main-silver: #202645 - NullPointerException at org.netbeans...

  • From: Roman Svitanic < >
  • To:
  • Subject: [hg] main-silver: #202645 - NullPointerException at org.netbeans...
  • Date: Thu, 11 Jul 2013 22:51:55 -0700

changeset 978fb21efeac in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/978fb21efeac
description:
        #202645 - NullPointerException at 
org.netbeans.modules.editor.hints.AnnotationHolder.clearLineErrors

diffstat:

 spi.editor.hints/src/org/netbeans/modules/editor/hints/AnnotationHolder.java 
|  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff --git 
a/spi.editor.hints/src/org/netbeans/modules/editor/hints/AnnotationHolder.java
 
b/spi.editor.hints/src/org/netbeans/modules/editor/hints/AnnotationHolder.java
--- 
a/spi.editor.hints/src/org/netbeans/modules/editor/hints/AnnotationHolder.java
+++ 
b/spi.editor.hints/src/org/netbeans/modules/editor/hints/AnnotationHolder.java
@@ -563,7 +563,9 @@
             }
 
             for (Position i : lines) {
+                if (line2Errors.get(i) != null) {
                 line2Errors.get(i).remove(ed);
+                }
                 modifiedLinesTokens.add(i);
             }
             for (List<ErrorDescription> edsForLayer : layer2Errors.values()) 
{

[hg] main-silver: #202645 - NullPointerException at org.netbeans...

Roman Svitanic 07/12/2013

Project Features

About this Project

Editor was started in November 2009, is owned by Martin Ryzl, and has 147 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close