Closed MichaelRoeder closed 7 years ago
Added a more expressive error message. Unfortunately, the Front End still shows
Response with status: 500 Request failed. for URL: http://192.168.99.100:8080/rest/benchmarks
. Maybe, a good way to bring an error message from the backend to the front end (i.e., to be visible for the user) would be good as well.
Simple bugfix on https://github.com/hobbit-project/platform/tree/bug%2350
Problem
If
a
java.lang.NullPointerException
is thrown in the GUI serverbackend:because there is no Literal for the given parameter. The request of the GUI client is answered with HTTP 500.
The problem can even be reproduced by taking a benchmark and removing the default value of a parameter without setting a new value.
Proposed solution
It should not be possible to submit an experiment if one of the parameters is empty.