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 197581 - Awkward display "<Lookup null value>"
Summary: Awkward display "<Lookup null value>"
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: UI
Depends on:
Blocks: 193252
  Show dependency tree
 
Reported: 2011-04-08 21:10 UTC by Jesse Glick
Modified: 2011-04-15 08:38 UTC (History)
2 users (show)

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 Jesse Glick 2011-04-08 21:10:08 UTC
When I display the "String value" column in the debugger, any null fields are shown as "<Lookup null value>". I am not quite sure what that is supposed to mean; is there something wrong with just showing "null"?
Comment 1 Jesse Glick 2011-04-08 22:29:47 UTC
Seems to be true in the property sheet generally. E.g. "Local repository path" for any repo other than "Local" under "Maven Repositories".
Comment 2 Jesse Glick 2011-04-08 22:30:08 UTC
Higher priority since it could apply to all sorts of things.
Comment 3 Jaroslav Tulach 2011-04-11 14:21:34 UTC
The text is horrible, I agree. But where is it comming from? o.n.core? And why it started to appear recently.
Comment 4 Jesse Glick 2011-04-11 15:44:09 UTC
StringEditor. I suppose the two occurrences of NbBundle.getMessage(StringEditor.class, "CTL_NullValue") should be replaced with simply "null" to restore 6.9's behavior. (CTL_NullValue is actually intended for use in ObjectEditor.)
Comment 5 Jaroslav Tulach 2011-04-12 08:24:58 UTC
I think sharing the name of null value between StringEditor and ObjectEditor is not bad. Especially if we can come up with neutral name of such value. Let's try:
ergonomics#670c64215bd1
Comment 6 Jesse Glick 2011-04-12 13:06:53 UTC
Beware that this is still a UI change relative to 6.9 ("null" -> "<null value>") which will appear in the debugger and many other places (though not the GUI builder it seems).
Comment 7 Quality Engineering 2011-04-15 08:38:19 UTC
Integrated into 'main-golden', will be available in build *201104150401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/670c64215bd1
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #197581: Don't mention lookup