[hg] main-silver: fix NPE

  • From: Vladimir Voskresensky < >
  • To:
  • Subject: [hg] main-silver: fix NPE
  • Date: Tue, 11 Dec 2012 03:06:19 -0800

changeset 0680b33b10ed in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/0680b33b10ed
description:
        fix NPE

diffstat:

 api.debugger/src/org/netbeans/api/debugger/ActionsManager.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/api.debugger/src/org/netbeans/api/debugger/ActionsManager.java 
b/api.debugger/src/org/netbeans/api/debugger/ActionsManager.java
--- a/api.debugger/src/org/netbeans/api/debugger/ActionsManager.java
+++ b/api.debugger/src/org/netbeans/api/debugger/ActionsManager.java
@@ -497,7 +497,7 @@
                 sb.append(".registerActionsProviders:");
                 for (ActionsProvider ap : aps) {
                     sb.append("\n  ");
-                    sb.append(ap.toString());
+                    sb.append(ap != null ? ap.toString() : "NULL element in 
list " + System.identityHashCode(aps)); // NOI18N
                 }
                 sb.append("\n");
                 logger.info(sb.toString());

[hg] main-silver: fix NPE

Vladimir Voskresensky 12/11/2012

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close