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 253889 - Old error message in Watches
Summary: Old error message in Watches
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-28 09:49 UTC by Martin Entlicher
Modified: 2015-07-30 01:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-07-28 09:49:10 UTC
Watches window displays old error message in the String Value column.
To reproduce:
1) Debug a Java project, which has some int field (e.g. that in issue #253649).
2) Add a watch for some non-existent variable, e.g. "unknown".
3) Set the String value column as visible.
4) The String value correctly displays ">"unknown" is not a known variable in the current context.<" red error message.
5) Now change the "unknown" to "field". The Value column correctly displays the field's value, but the String value column keeps the old error message.
Comment 1 Martin Entlicher 2015-07-28 09:56:24 UTC
Fixed by changeset:   290234:bb87d260db1a
http://hg.netbeans.org/core-main/rev/bb87d260db1a
Comment 2 Quality Engineering 2015-07-30 01:23:58 UTC
Integrated into 'main-silver', will be available in build *201507300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bb87d260db1a
User: mentlicher@netbeans.org
Log: #253889: Reset the error message when there is no exception description any more.