Problem if NuBot execute nubot.jar using absolute path
Issue #840
wontfix
Next test - executing from ~/downloads/nubot-v0.3.2-RC1/res:
java -jar /home/pi/downloads/nubot-v0.3.2-RC1/NuBot.jar -cfg=/home/pi/downloads/nubot-v0.3.2-RC1/config/sample-options.json.hitbtc.nubot -server -port=6667 -noBrowser
02:29:55.469 [main] INFO com.nubits.nubot.bot.Global - defined session log path logs/idles/1442888995425
02:29:55.492 [main] DEBUG com.nubits.nubot.launch.MainLaunch - checking latest version
02:30:04.579 [main] ERROR com.nubits.nubot.utils.VersionInfo - java.io.FileNotFoundException: File '/home/pi/downloads/nubot-v0.3.2-RC1/res/res/.info' does not exist
Exception in thread "main" java.lang.NullPointerException
at com.nubits.nubot.utils.VersionInfo.getVersionName(VersionInfo.java:111)
at com.nubits.nubot.utils.VersionInfo.isCurrentVersionOk(VersionInfo.java:131)
at com.nubits.nubot.launch.MainLaunch.main(MainLaunch.java:65)
Comments (2)
-
reporter -
reporter - changed status to wontfix
Jetty depends on this
- Log in to comment
"user.dir"