OpenHAB 2.4 - Weird Error-Messages while triggering some Items

Hello,
i am using Openhabian on an RPI 3b with the newest Openhab 2.4 Snapshot (#1302) and i am getting some error-messages while using some openocean-items (newest binding-version) which i can´t decipher. The items themself are working just fine and it is not just a specific group of items which are affected.
The thing and item-codes are correct and i have the feeling that it is not the bindings fault. Maybe something else broke while upgrading to each snapshot. Sadly i have no idea, when the error-messages started because everything worked and still works fine.

Here is the error-code:

17:43:06.266 [INFO ] [smarthome.event.ItemCommandEvent     ] - Item 'EG_Licht_Flur_2' received command ON
17:43:06.271 [ERROR] [rnal.common.AbstractInvocationHandler] - An error occurred while calling method 'EventSubscriber.receive()' on 'org.eclipse.smarthome.core.thing.internal.CommunicationManager@1aa6f3f': null
java.lang.NullPointerException: null
        at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$2(CommunicationManager.java:253) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.toAcceptedType(CommunicationManager.java:329) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$8(CommunicationManager.java:305) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) [?:?]
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) [?:?]
        at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) [?:?]
        at java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3566) [?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.handleEvent(CommunicationManager.java:298) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receiveCommand(CommunicationManager.java:253) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receive(CommunicationManager.java:135) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[?:?]
        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) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        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) [?:?]
17:43:06.285 [INFO ] [smarthome.event.ItemStateChangedEvent] - EG_Licht_Flur_2 changed from OFF to ON
17:43:06.390 [ERROR] [ome.core.internal.events.EventHandler] - Dispatching/filtering event for subscriber 'org.eclipse.smarthome.core.events.EventSubscriber' failed: null
java.lang.NullPointerException: null
        at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$2(CommunicationManager.java:253) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.toAcceptedType(CommunicationManager.java:329) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$8(CommunicationManager.java:305) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) [?:?]
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) [?:?]
        at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) [?:?]
        at java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3566) [?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.handleEvent(CommunicationManager.java:298) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receiveCommand(CommunicationManager.java:253) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receive(CommunicationManager.java:135) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[?:?]
        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) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        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) [?:?]
17:43:06.444 [ERROR] [rnal.common.AbstractInvocationHandler] - An error occurred while calling method 'EventSubscriber.receive()' on 'org.eclipse.smarthome.core.thing.internal.CommunicationManager@1aa6f3f': null
java.lang.NullPointerException: null
        at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$4(CommunicationManager.java:268) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.toAcceptedType(CommunicationManager.java:329) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$8(CommunicationManager.java:305) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) [?:?]
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) [?:?]
        at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) [?:?]
        at java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3566) [?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.handleEvent(CommunicationManager.java:298) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receiveUpdate(CommunicationManager.java:268) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receive(CommunicationManager.java:133) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[?:?]
        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) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        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) [?:?]
17:43:06.493 [ERROR] [ome.core.internal.events.EventHandler] - Dispatching/filtering event for subscriber 'org.eclipse.smarthome.core.events.EventSubscriber' failed: null
java.lang.NullPointerException: null
        at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$4(CommunicationManager.java:268) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.toAcceptedType(CommunicationManager.java:329) ~[?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.lambda$8(CommunicationManager.java:305) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) [?:?]
        at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) [?:?]
        at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) [?:?]
        at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270) [?:?]
        at java.util.concurrent.ConcurrentHashMap$ValueSpliterator.forEachRemaining(ConcurrentHashMap.java:3566) [?:?]
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) [?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) [?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) [?:?]
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:?]
        at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) [?:?]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.handleEvent(CommunicationManager.java:298) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receiveUpdate(CommunicationManager.java:268) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at org.eclipse.smarthome.core.thing.internal.CommunicationManager.receive(CommunicationManager.java:133) [101:org.eclipse.smarthome.core.thing:0.10.0.201806141343]
        at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source) ~[?:?]
        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) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [94:org.eclipse.smarthome.core:0.10.0.201806141343]
        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) [?:?]

Best regards,
Alex

I have the smae problem with the SNAPSHOT
I have rolledback 2 versions

Please report this bug at https://github.com/eclipse/smarthome/issues.
If possible, add information about how to reproduce it - does it happen on ALL items and any event or what does it require to cause this exception?

Thanks! A fix is already on its way: https://github.com/eclipse/smarthome/pull/5754

Thank you very much. I will keep you updated, after build #1303 is released.

Best regards,
Alex

Build #1303 will not include the fix. There has to be a new ESH stable build first, which is then pulled into openHAB. You can see if a new ESH stable was built here: https://ci.eclipse.org/smarthome/job/SmartHomeDistribution-Stable/

The openHAB version built after this new ESH stable will have the fix included.

@triller-telekom

Thank you. Good to know.

Best regards,
Alex

Hello everyone.

I just installed #1305 and the problem is solved. Thank you very much :+1::grinning:

Best regards,
Alex

This happened to me. I deleted the items and recreated them and the problem went away