[SOLVED] ZWave broken after upgrade to 2.4

Platform information:

  • Hardware: Raspberry PI3
  • OS: Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
  • Java™ SE Runtime Environment (build 1.8.0_191-b12)
  • openHAB version: 2.4.0

Hello,
after upgrading to OpenHab 2.4 my Zwave is broken, The ZWave Serial Controller is shown as online, but all things are “UNINITIALIZED - HANDLER_CONFIGURATION_PENDING”.

2018-12-23 05:22:09.520 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.dispose()' on 'org.openhab.binding.zwave.handler.ZWaveThingHandler@1b5a01b': null
java.lang.NullPointerException: null
	at org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeSerializer.SerializeNode(ZWaveNodeSerializer.java:97) [202:org.openhab.binding.zwave:2.3.0]
	at org.openhab.binding.zwave.handler.ZWaveThingHandler.dispose(ZWaveThingHandler.java:478) [202:org.openhab.binding.zwave:2.3.0]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-12-23 05:22:09.525 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while disposing handler of thing 'zwave:device:9783cd9b:node6': null
java.lang.NullPointerException: null
	at org.openhab.binding.zwave.internal.protocol.initialization.ZWaveNodeSerializer.SerializeNode(ZWaveNodeSerializer.java:97) [202:org.openhab.binding.zwave:2.3.0]
	at org.openhab.binding.zwave.handler.ZWaveThingHandler.dispose(ZWaveThingHandler.java:478) [202:org.openhab.binding.zwave:2.3.0]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
	at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.oh230]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
2018-12-23 05:22:12.790 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler
2018-12-23 05:22:14.837 [INFO ] [control.internal.WebSocketConnection] - Web Socket close 1000. Reason: null
2018-12-23 05:22:15.075 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2018-12-23 05:22:15.128 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = a2fec601-a21d-4abb-b01e-fd4410d0ea01, base URL = http://localhost:8080)
2018-12-23 05:22:15.483 [INFO ] [b.core.service.AbstractActiveService] - HTTP Refresh Service has been shut down
2018-12-23 05:22:16.260 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Stopped Paper UI
2018-12-23 05:22:16.277 [INFO ] [ttp.internal.SecureHttpClientFactory] - jetty shared http client stopped
2018-12-23 06:04:09.822 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2018-12-23 06:04:09.896 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2018-12-23 06:04:09.899 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.

Does anybody have an idea what to do?

Thanks
Tobus

Did you follow the upgrade procedure ?

You should ensure you are also running the 2.4 ZWave binding - not the 2.3 version that you are currently running.