Exception in thread "main" java.lang.NullPointerException
at java.io.File.<init>(File.java:277)
at com.opensimulationplatform.cli.Main.main(Main.java:85)
Presumably, the error occurs because both the -fmu and -file switches are mandatory, but the message does not indicate this. (Furthermore, IMO, a NullPointerException always represents a bug in the program, never a usage error.)
Also note that the mandatoriness of the options is not specified in the built-in usage documentation, so it's hard for a user to tell. (They're listed as "options", which at least seems to hint that they might be optional.)
When running
or
I get error messages like the following:
Presumably, the error occurs because both the
-fmu
and-file
switches are mandatory, but the message does not indicate this. (Furthermore, IMO, aNullPointerException
always represents a bug in the program, never a usage error.)Also note that the mandatoriness of the options is not specified in the built-in usage documentation, so it's hard for a user to tell. (They're listed as "options", which at least seems to hint that they might be optional.)