I have a beaglebone with a custom Linux image running Openhab 1 with Oracle Java.
I just tried Openhab 2 unpacked the tgz started the runtime with the following result:
Launching the openHAB runtime…
null
Error occurred shutting down framework: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
at org.apache.karaf.main.ConfigProperties.(ConfigProperties.java:208)
at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(Main.java:226)
at org.apache.karaf.main.Main.main(Main.java:191)
No log messages no debug info. Any clue where to look ?
Is there a way to get more info about the exception ?
Permissions are set correctly. Versions are as follows:
java version "1.8.0_73"
Java™ SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot™ Client VM (build 25.73-b02, mixed mode)
Linux beaglebone 4.3.0-jumpnow #2 Sat Jan 2 13:02:10 CET 2016 armv7l GNU/Linux
The platform is used at the moment to host an OH1 installation, so basically everything is functional.
The only thing I had to change was the shell in start.sh from /bin/bash to /bin/sh but I doibt if this is related to such an exception during runtime start.
start_debug has the same output, only with the addition it is listening to a port.