Select scores, give an invalid value, for example 2.
Click Add button.
Expected results
Input number is out of range error message and no exception in log.
Received results
The error popup was right, but the log contains exception:
!ENTRY org.eclipse.ui 4 0 2021-05-11 10:56:43.151
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.sed.ifl.ide.gui.rulecreator.NegatableRuleCreator.getRule(NegatableRuleCreator.java:77)
at org.eclipse.sed.ifl.ide.gui.dialogs.RuleCreatorDialog$1.widgetSelected(RuleCreatorDialog.java:95)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4173)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3986)
Precondition
Steps
Expected results
Received results
Full log file: unhandled_nullpointer_log.txt
Environment: