Openhab2 on Beaglebone: java.lang.NumberFormatException after start

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…
Error occurred shutting down framework: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at org.apache.karaf.main.ConfigProperties.(
at org.apache.karaf.main.Main.updateInstancePidAfterShutdown(
at org.apache.karaf.main.Main.main(

  • No log messages no debug info. Any clue where to look ?
  • Is there a way to get more info about the exception ?

Try the startup script and see if there is any more info available

what is the output of your java -version command? (and uname -a)

I assume that file permissions are ok (usually I create an openhab user and chown -R all the files within the OH2 dir).

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 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.

I am out of ideas atm…

maybe… JVM upgrade ? (just to eliminate this possibility)