[Bug 225959] NullPointerException:

  • From:
  • To:
  • Subject: [Bug 225959] NullPointerException:
  • Date: Mon, 11 Feb 2013 16:52:45 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=225959

--- Comment #7 from 

 2013-02-11 16:52:45 UTC ---
My suggestion would be that a "better" dialog is displayed if an exception is
thrown from the .toString() informing that it was thrown from user code and
suggest an alternate method of displaying the value as there exists one method
(telling the debugger what method to be used for the particular class) to do
this.
An alternate method is to use some sort of flagging for a "debugger safe"
method to use instead, something like;

@Deprecated
private String debugSafeToString() { return "safe"; } 

or like;
private String toString(Object notUsed) { return "safe"; }
the latter can easily be autodetected and used by the debugger if present.

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 225959] NullPointerException:

jskrivanek 02/11/2013

<Possible follow-up(s)>

[Bug 225959] NullPointerException:

mentlicher 02/11/2013

[Bug 225959] NullPointerException:

Chiana 02/11/2013

[Bug 225959] NullPointerException:

Chiana 02/17/2013

[Bug 225959] NullPointerException:

Chiana 02/17/2013

[Bug 225959] NullPointerException:

Chiana 02/17/2013

[Bug 225959] NullPointerException:

jskrivanek 02/18/2013

[Bug 225959] NullPointerException:

jskrivanek 02/18/2013

[Bug 225959] NullPointerException:

jskrivanek 02/18/2013

[Bug 225959] NullPointerException:

jskrivanek 02/18/2013

[Bug 225959] NullPointerException:

jskrivanek 02/18/2013

[Bug 225959] NullPointerException:

jskrivanek 02/18/2013

[Bug 225959] NullPointerException:

jskrivanek 02/18/2013

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