sbmlteam / sbml-test-suite

The SBML Test Suite is a conformance testing system. It allows developers and users to test the degree and correctness of the SBML support provided in a software package.
https://sbml.org/software/sbml-test-suite/
Other
23 stars 12 forks source link

SBMLTestRunner crashes on start-up with "Empty wrapper selection" #75

Closed eltix closed 2 years ago

eltix commented 3 years ago

Issue description

After installing the SBMLTestRunner executable using the Linux 64-bit runnable installer found here, the application crashes on start-up with the "Empty wrapper selection" error message (see screenshot below) image

I tried several times deleting the application and installing it from scratch, to no avail.

Console logs

~/SBMLTestRunner-3.3.0/bin » ./SBMLTestRunner-linux-x64                                                                                             etixier@campus029:37:32
java.lang.NullPointerException
    at org.sbml.testsuite.ui.MainWindow.changeWrapper(MainWindow.java:877)
    at org.sbml.testsuite.ui.MainWindow.access$200(MainWindow.java:109)
    at org.sbml.testsuite.ui.MainWindow$WrapperMenuListener.select(MainWindow.java:163)
    at org.sbml.testsuite.ui.MainWindow.updateWrapperList(MainWindow.java:2991)
    at org.sbml.testsuite.ui.MainWindow.loadModel(MainWindow.java:2649)
    at org.sbml.testsuite.ui.MainWindow.open(MainWindow.java:2841)
    at org.sbml.testsuite.ui.Program.main(Program.java:58)
fbergmann commented 3 years ago

Sorry for the inconvenience, if found the offending line and fixed it for a future release, though there is currently no timeline for this. But i've tried a local installation and if you move your current installation out of the way:

mv ~/.testsuite.xml ~/.testsuite.xml_old

And then start the user interface again, you get the initial configuration dialog. At that point it is important, to either specify a wrapper, or disable the option

image

and click the save button (click that one in any case). The only way to trigger the exception is to hit escape on the dialog on my machine.

eltix commented 3 years ago

@fbergmann Thanks for your swift reply that fixed it indeed! I assumed it had something to do with a local config file but could not locate it.

luciansmith commented 2 years ago

Closing this, as a fix is in the works, and a workaround was found. Thanks again for the report!