OpenHAB2 start.bat issue

Hi,

I’ve recently had to rebuild my server running OH2 and can’t seem to get my copy of OH to run on the new system.

It was running fine on Windows 8.1, now running on Windows 10 it won’t start. When I try to run start.bat I get the usual “Launching the openHAB runtime”
then
“karaf.bat: Ignoring predefined value for KARAF_HOME”

finally I just get “null” and the command prompt closes again.

The only thing I get in the openhab log is:

2017-01-23 14:28:00.094 [SEVERE] [org.apache.karaf.main.Main] - Could not launch framework
java.lang.NullPointerException
at java.io.Reader.(Reader.java:78)
at java.io.InputStreamReader.(InputStreamReader.java:97)
at org.apache.karaf.main.Main.loadFrameworkFactory(Main.java:426)
at org.apache.karaf.main.Main.launch(Main.java:252)
at org.apache.karaf.main.Main.main(Main.java:177)

I just downloaded a new copy and that runs fine… any way to copy my data over to a new OH2 folder or to get mine working again?

Thanks

Hey, you didn’t name any release revisions. Normally you just need to copy over userdata and conf.

Thanks for your reply, I ended up just starting again from scratch as my system isn’t huge right now anyway.

Sorry for getting back to you so late!

1 Like