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 88815 - NumberFormatException after cleaning or replacing values in resize elements dialog
Summary: NumberFormatException after cleaning or replacing values in resize elements d...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: General (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords:
Depends on:
Blocks: 83703
  Show dependency tree
 
Reported: 2006-11-07 13:36 UTC by Andrew Korostelev
Modified: 2006-11-08 10:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception on attempt to change dimensions values (5.58 KB, text/plain)
2006-11-07 13:37 UTC, Andrew Korostelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2006-11-07 13:36:41 UTC
If user invokes 'Edit|Set Dimensions...' Context menu item for diagram element,
and tries to clean or replace values in 'resize elements' dialog,
NumberFormatException appears.

steps:
- create diagram
- put element on diagram
- invoke 'Edit|Set Dimensions...' for diagram element
- in opened dialog try to clean 'height' value.
NumberFormatException appears.
Comment 1 Andrew Korostelev 2006-11-07 13:37:40 UTC
Created attachment 35850 [details]
exception on attempt to change dimensions values
Comment 2 Andrew Korostelev 2006-11-07 13:38:32 UTC
appeared after fix of issue 83703
Comment 3 Craig Conover 2006-11-07 20:59:33 UTC
null and empty string value are checked before trying to do parse number from
string.
Comment 4 Andrew Korostelev 2006-11-08 10:16:32 UTC
verified in ide-coco-061107_8-ml