Describe the bug
In Stratego-8-beta-6, options other than the default ones can be saved for each query specific. For some of the options, opening such a model result in an internal error "Caught unexpected java.lang.RuntimeException: Could not interpret parameter field properly." At least one of the options resulting in this error is Number of successful runs. At least one of the options resulting in no error is Discretization step for hybrid systems. I don't exhaustively tested all options to figure out which of them result in this internal error.
To Reproduce
Steps to reproduce the behavior:
Have a Uppaal model without saved settings.
Select a query.
Click the gear button.
Go to Learning parameters
In the pop-up window, change `Number of successful runs' (the first option) to something else, for example 20 (removing the last 0). A red star should appear behind the option name.
Click OK. Verify that the gear button now has a small yellow circle.
Save the file. You might want to verify that the option has been saved by looking in the xml file for the <option/> tag.
Open another (random) Uppaal model.
Open the Uppaal model with the saved option.
Internal error appears.
Expected behavior
No internal error while opening the model. Expected behavior can be observed by following the steps above, but now changing the Discretization step for hybrid systems option.
Uppaal version
Uppaal Stratego 8 beta 6.
Desktop (please complete the following information):
Describe the bug In Stratego-8-beta-6, options other than the default ones can be saved for each query specific. For some of the options, opening such a model result in an internal error "Caught unexpected java.lang.RuntimeException: Could not interpret parameter field properly." At least one of the options resulting in this error is
Number of successful runs
. At least one of the options resulting in no error isDiscretization step for hybrid systems
. I don't exhaustively tested all options to figure out which of them result in this internal error.To Reproduce Steps to reproduce the behavior:
Learning parameters
<option/>
tag.Expected behavior No internal error while opening the model. Expected behavior can be observed by following the steps above, but now changing the
Discretization step for hybrid systems
option.Uppaal version
Desktop (please complete the following information):