Community
Participate
Working Groups
When in a FORMAL review, adjust the "Exit Decision" in DECISION phase, then remove the Decision time spent. If I moved away from the field, the following error is generated: !ENTRY org.eclipse.ui 4 0 2011-06-13 08:36:15.922 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.valueOf(Unknown Source) at org.eclipse.mylyn.reviews.r4e.ui.internal.properties.tabbed.ReviewExtraTabPropertySection$9.focusLost(ReviewExtraTabPropertySection.java:558) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
THis is fixed by handling the NumberFormatException, which will set the Decison Time Spent to 0 if it occurs
After re-testing , I got the following error. We have to consider the user can remove the data in the time field. When he does, the error is generated. !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.valueOf(Unknown Source) at org.eclipse.mylyn.reviews.r4e.ui.internal.properties.tabbed.ReviewExtraTabPropertySection$9.focusLost(ReviewExtraTabPropertySection.java:558) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:143) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
User was using the wrong version. The problem is fixed