NullPointerException in ZWaveController latest build

I updated to the latest snapshot of openhab, because I ran into a few issues that was fixed in the latest build. Now I’m running into an exception, that I could not find a solution for.

Is this a known issue?

2018-01-29 12:10:43.035 [ERROR] [ve.internal.protocol.ZWaveController] - Exception during ZWave thread: Input 2. {}
java.lang.NullPointerException: null
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.processAssociationReport(ZWaveAssociationCommandClass.java:169) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.handleApplicationCommandRequest(ZWaveAssociationCommandClass.java:102) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.serialmessage.ApplicationCommandMessageClass.handleRequest(ApplicationCommandMessageClass.java:119) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingRequestMessage(ZWaveController.java:248) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingMessage(ZWaveController.java:214) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.access$7(ZWaveController.java:208) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController$ZWaveInputThread.run(ZWaveController.java:1324) [202:org.openhab.binding.zwave:2.3.0.201801282104]
2018-01-29 12:10:48.284 [ERROR] [ve.internal.protocol.ZWaveController] - Exception during ZWave thread: Input 2. {}
java.lang.NullPointerException: null
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.processAssociationReport(ZWaveAssociationCommandClass.java:169) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.handleApplicationCommandRequest(ZWaveAssociationCommandClass.java:102) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.serialmessage.ApplicationCommandMessageClass.handleRequest(ApplicationCommandMessageClass.java:119) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingRequestMessage(ZWaveController.java:248) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingMessage(ZWaveController.java:214) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.access$7(ZWaveController.java:208) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController$ZWaveInputThread.run(ZWaveController.java:1324) [202:org.openhab.binding.zwave:2.3.0.201801282104]
2018-01-29 12:10:53.272 [ERROR] [ve.internal.protocol.ZWaveController] - Exception during ZWave thread: Input 2. {}
java.lang.NullPointerException: null
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.processAssociationReport(ZWaveAssociationCommandClass.java:169) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.handleApplicationCommandRequest(ZWaveAssociationCommandClass.java:102) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.serialmessage.ApplicationCommandMessageClass.handleRequest(ApplicationCommandMessageClass.java:119) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingRequestMessage(ZWaveController.java:248) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingMessage(ZWaveController.java:214) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.access$7(ZWaveController.java:208) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController$ZWaveInputThread.run(ZWaveController.java:1324) [202:org.openhab.binding.zwave:2.3.0.201801282104]
2018-01-29 12:10:58.274 [ERROR] [ve.internal.protocol.ZWaveController] - Exception during ZWave thread: Input 2. {}
java.lang.NullPointerException: null
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.processAssociationReport(ZWaveAssociationCommandClass.java:169) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveAssociationCommandClass.handleApplicationCommandRequest(ZWaveAssociationCommandClass.java:102) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.serialmessage.ApplicationCommandMessageClass.handleRequest(ApplicationCommandMessageClass.java:119) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingRequestMessage(ZWaveController.java:248) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.handleIncomingMessage(ZWaveController.java:214) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController.access$7(ZWaveController.java:208) [202:org.openhab.binding.zwave:2.3.0.201801282104]
at org.openhab.binding.zwave.internal.protocol.ZWaveController$ZWaveInputThread.run(ZWaveController.java:1324) [202:org.openhab.binding.zwave:2.3.0.201801282104]

I can’t help with the specific problem, but it will be easier for those who can if you How to use code fences

And in addition to that, a debug log would be helpful.

Sorry it’s taken me a while to get it. I was on my work computer, and I did not have the logs.

Here is the debug log:

I was too big to inline in a post, and the forum would not allow me to upload text files.

This log does not contain the error in the original post above.

I guess this is a different null pointer exception, but it’s a NPE nevertheless.

Please provide a debug log of the first exception and I’ll have a look. It’s likely caused by a corrupt frame from a device, but if it’s repeatable we can look to filter it.

Hmm. It does not seem like the NPE in my original post is still happening. What about the NPE in the logs that I attached? It happens every time I try to update the settings for my sensor.

I don’t know what this is without more information, but it is likely fixed in the development version as we closed out a number of these sort of issues a while back. You can try the dev version if you want -: