Console command "zigbee nodes" throws exception

Every time I try to run “zigbee nodes” command in openhab console, I get:

openhab> zigbee nodes
An unexpected error occurred during execution.

In openhab.log, I see:

2021-08-30 20:38:12.476 [ERROR] [] - An error occurred while executing the console command.
java.lang.NullPointerException: null
        at com.zsmartsystems.zigbee.ZigBeeDeviceType.getByValue( ~[?:?]
        at com.zsmartsystems.zigbee.console.ZigBeeConsoleNodeListCommand.printNode( ~[?:?]
        at com.zsmartsystems.zigbee.console.ZigBeeConsoleNodeListCommand.process( ~[?:?]
        at org.openhab.binding.zigbee.console.internal.ZigBeeConsoleCommandExtension.handleZigbeeCommand( ~[?:?]
        at org.openhab.binding.zigbee.console.internal.ZigBeeConsoleCommandExtension.handleCommand( ~[?:?]
        at org.openhab.binding.zigbee.console.internal.ZigBeeConsoleCommandExtension.execute( ~[?:?]
        at [bundleFile:?]
        at [bundleFile:?]
        at [bundleFile:4.3.2]
        at [bundleFile:4.3.2]
        at org.apache.felix.gogo.runtime.Closure.executeCmd( [bundleFile:4.3.2]
        at org.apache.felix.gogo.runtime.Closure.executeStatement( [bundleFile:4.3.2]
        at org.apache.felix.gogo.runtime.Closure.execute( [bundleFile:4.3.2]
        at org.apache.felix.gogo.runtime.Pipe.doCall( [bundleFile:4.3.2]
        at [bundleFile:4.3.2]
        at [bundleFile:4.3.2]
        at [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
        at java.util.concurrent.ThreadPoolExecutor$ [?:?]
        at [?:?]

Any idea how to fix it? Seems like there’s some node with bad configuration or something, but I have no idea how to debug it. All my zigbee devices seems to work fine.

I’m running openHAB 3.1.0 with zigbee binding 3.1.0

You can’t fix it unfortunately. It will be resolved when an update to the libraries is done in the coming weeks.

1 Like