question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Netatmo] Thermostat UNINITIALIZED (HANDLER_INITIALIZING_ERROR)

See original GitHub issue

Hi,

i am getting a error where the thermostat does not come online and i get UNINITIALIZED (HANDLER_INITIALIZING_ERROR)

both the API and Relay are both online and fine, any help would be most appreciated.

error is logs is

08:37:21.384 [ERROR] [rnal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.initialize()' on 'org.openhab.binding.netatmo.internal.thermostat.NATherm1Handler@720f681a': null
java.lang.NullPointerException: null
        at org.openhab.binding.netatmo.internal.thermostat.NAPlugHandler.getLastBilan(NAPlugHandler.java:75) ~[?:?]
        at org.openhab.binding.netatmo.internal.thermostat.NAPlugHandler.getNAThingProperty(NAPlugHandler.java:64) ~[?:?]
        at org.openhab.binding.netatmo.handler.AbstractNetatmoThingHandler.lambda$3(AbstractNetatmoThingHandler.java:84) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) ~[?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) ~[?:?]
        at java.util.Iterator.forEachRemaining(Unknown Source) ~[?:?]
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?]
        at java.util.stream.ReferencePipeline.forEach(Unknown Source) ~[?:?]
        at org.openhab.binding.netatmo.handler.AbstractNetatmoThingHandler.updateChannels(AbstractNetatmoThingHandler.java:82) ~[?:?]
        at org.openhab.binding.netatmo.handler.NetatmoDeviceHandler.updateChannels(NetatmoDeviceHandler.java:122) ~[?:?]
        at org.openhab.binding.netatmo.handler.NetatmoModuleHandler.lambda$2(NetatmoModuleHandler.java:88) ~[?:?]
        at java.util.Optional.ifPresent(Unknown Source) [?:?]
        at org.openhab.binding.netatmo.handler.NetatmoModuleHandler.requestParentRefresh(NetatmoModuleHandler.java:88) [211:org.openhab.binding.netatmo:2.2.0]
        at org.openhab.binding.netatmo.handler.NetatmoModuleHandler.initialize(NetatmoModuleHandler.java:46) [211:org.openhab.binding.netatmo:2.2.0]
        at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [111:org.eclipse.smarthome.core:0.10.0.b1]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [111:org.eclipse.smarthome.core:0.10.0.b1]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]
08:37:21.390 [ERROR] [home.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'netatmo:NATherm1:b85cb107:0400000dd660': null
java.lang.NullPointerException: null
        at org.openhab.binding.netatmo.internal.thermostat.NAPlugHandler.getLastBilan(NAPlugHandler.java:75) ~[?:?]
        at org.openhab.binding.netatmo.internal.thermostat.NAPlugHandler.getNAThingProperty(NAPlugHandler.java:64) ~[?:?]
        at org.openhab.binding.netatmo.handler.AbstractNetatmoThingHandler.lambda$3(AbstractNetatmoThingHandler.java:84) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) ~[?:?]
        at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) ~[?:?]
        at java.util.Iterator.forEachRemaining(Unknown Source) ~[?:?]
        at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) ~[?:?]
        at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) ~[?:?]
        at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?]
        at java.util.stream.ReferencePipeline.forEach(Unknown Source) ~[?:?]
        at org.openhab.binding.netatmo.handler.AbstractNetatmoThingHandler.updateChannels(AbstractNetatmoThingHandler.java:82) ~[?:?]
        at org.openhab.binding.netatmo.handler.NetatmoDeviceHandler.updateChannels(NetatmoDeviceHandler.java:122) ~[?:?]
        at org.openhab.binding.netatmo.handler.NetatmoModuleHandler.lambda$2(NetatmoModuleHandler.java:88) ~[?:?]
        at java.util.Optional.ifPresent(Unknown Source) [?:?]
        at org.openhab.binding.netatmo.handler.NetatmoModuleHandler.requestParentRefresh(NetatmoModuleHandler.java:88) [211:org.openhab.binding.netatmo:2.2.0]
        at org.openhab.binding.netatmo.handler.NetatmoModuleHandler.initialize(NetatmoModuleHandler.java:46) [211:org.openhab.binding.netatmo:2.2.0]
        at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
        at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
        at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [111:org.eclipse.smarthome.core:0.10.0.b1]
        at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [111:org.eclipse.smarthome.core:0.10.0.b1]
        at java.util.concurrent.FutureTask.run(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:?]
        at java.lang.Thread.run(Unknown Source) [?:?]
08:37:21.390 [INFO ] [ome.event.ThingStatusInfoChangedEvent] - 'netatmo:NATherm1:b85cb107:0400000dd660' changed from OFFLINE: Pending parent object initialization to UNINITIALIZED (HANDLER_INITIALIZING_ERROR)
08:37:21.404 [INFO ] [smarthome.event.ThingUpdatedEvent    ] - Thing 'netatmo:NATherm1:b85cb107:0400000dd660' has been updated.```

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:52 (24 by maintainers)

github_iconTop GitHub Comments

2reactions
cliniquecommented, Jan 9, 2018

@martinvw : yes. I’m on it. It’s refreshing based on cached values, so coming back to previous data.

1reaction
triller-telekomcommented, May 29, 2018

So this is fixed by PR #3336? Can we close this issue now?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Smart Thermostat - My heating system doesn't respond to ...
Then, open the boiler and check the connection of the power and control wires. They must be firmly tightened, and the boiler must...
Read more >
Smart Thermostat - Setup - Installation - Netatmo Helpcenter
Applications and remote control are not available, but manual control and data recording continue to work normally. All recorded data will be available...
Read more >
Smart Thermostat - Heating regulation - Netatmo Helpcenter
Why does my Thermostat remain in Hysteresis mode even when I try to activate the advanced heating algorithm (PID)?. How do smart heating...
Read more >
Smart Thermostat - Netatmo Helpcenter
My Thermostat's batteries have nearly run out or have run out. How do I find my product's serial number (or its MAC address)?....
Read more >
Smart Thermostat - App and notifications - Netatmo Helpcenter
System status. Our services were temporarily unavailable on Monday December 5, 2022 between 4:50 p.m. and 11:00 p.m. (Paris time), then on December...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found