| Summary: | NullPointerException with invalid numeric filter | ||
|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | Andrew Johnson <andrew_johnson> |
| Component: | GUI | Assignee: | Project Inbox <mat.gui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | ||
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Andrew Johnson
The fix is trivial - in Filter.java the parse method can return null, so the success should be checked before converting to a double. Fix is to parse the Number, check the parse was successful, and only convert the Number (not null) to a double if successful. |