Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[smartmeter] NPE while trying to find channel #10006

Closed
t2000 opened this issue Jan 31, 2021 · 0 comments · Fixed by #10007
Closed

[smartmeter] NPE while trying to find channel #10006

t2000 opened this issue Jan 31, 2021 · 0 comments · Fixed by #10007
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@t2000
Copy link
Contributor

t2000 commented Jan 31, 2021

2021-01-31 15:45:56.276 [ERROR] [ding.smartmeter.internal.MeterDevice] - Meter listener failed
java.lang.NullPointerException: null
        at org.openhab.binding.smartmeter.internal.SmartMeterChannelTypeProvider.getChannelTypeIdForObis(SmartMeterChannelTypeProvider.java:110) ~[bundleFile:?]
        at org.openhab.binding.smartmeter.internal.SmartMeterHandler$1.valueChanged(SmartMeterHandler.java:168) ~[bundleFile:?]
        at org.openhab.binding.smartmeter.internal.MeterDevice.lambda$9(MeterDevice.java:220) [bundleFile:?]
        at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807) [?:?]
        at org.openhab.binding.smartmeter.internal.MeterDevice.addObisCache(MeterDevice.java:218) [bundleFile:?]
        at org.openhab.binding.smartmeter.internal.iec62056.Iec62056_21MeterReader.populateValueCache(Iec62056_21MeterReader.java:58) [bundleFile:?]
        at org.openhab.binding.smartmeter.internal.iec62056.Iec62056_21MeterReader.populateValueCache(Iec62056_21MeterReader.java:1) [bundleFile:?]
        at org.openhab.binding.smartmeter.internal.MeterDevice.lambda$6(MeterDevice.java:184) [bundleFile:?]
        at io.reactivex.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.onNext(FlowableSubscribeOn.java:97) [bundleFile:?]
        at io.reactivex.subscribers.SerializedSubscriber.onNext(SerializedSubscriber.java:100) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableRepeatWhen$WhenSourceSubscriber.onNext(FlowableRepeatWhen.java:159) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableRefCount$RefCountSubscriber.onNext(FlowableRefCount.java:199) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.dispatch(FlowablePublish.java:547) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowablePublish$PublishSubscriber.onNext(FlowablePublish.java:231) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableDoOnEach$DoOnEachSubscriber.onNext(FlowableDoOnEach.java:92) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableDoOnLifecycle$SubscriptionLambdaSubscriber.onNext(FlowableDoOnLifecycle.java:79) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableDoOnEach$DoOnEachSubscriber.onNext(FlowableDoOnEach.java:92) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableDoOnLifecycle$SubscriptionLambdaSubscriber.onNext(FlowableDoOnLifecycle.java:79) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableTimeoutTimed$TimeoutSubscriber.onNext(FlowableTimeoutTimed.java:101) [bundleFile:?]
        at io.reactivex.internal.operators.flowable.FlowableCreate$NoOverflowBaseAsyncEmitter.onNext(FlowableCreate.java:403) [bundleFile:?]
        at org.openhab.binding.smartmeter.internal.iec62056.Iec62056_21SerialConnector$1.newDataMessage(Iec62056_21SerialConnector.java:103) [bundleFile:?]
        at org.openmuc.j62056.Iec21Port$ModeDReceiver.run(Iec21Port.java:71) [bundleFile:?]
@t2000 t2000 added the bug An unexpected problem or unintended behavior of an add-on label Jan 31, 2021
t2000 added a commit to t2000/openhab2-addons that referenced this issue Jan 31, 2021
Fixes openhab#10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
Hilbrand pushed a commit that referenced this issue Jan 31, 2021
Fixes #10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
lucacalcaterra pushed a commit to lucacalcaterra/openhab-addons that referenced this issue Feb 23, 2021
Fixes openhab#10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
Signed-off-by: Luca Calcaterra <calcaterra.luca@gmail.com>
themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this issue May 10, 2021
Fixes openhab#10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
Signed-off-by: John Marshall <john.marshall.au@gmail.com>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this issue Nov 7, 2021
Fixes openhab#10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this issue May 5, 2022
Fixes openhab#10006

Signed-off-by: Stefan Triller <github@stefantriller.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant