Closed s-t-o-f-f-l closed 3 years ago
I'll have a look at it this evening.
This happens in my test installation:
21:16:11.450 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'ecotouch:geo:3281d1146a' changed from UNINITIALIZED to INITIALIZING
21:16:11.457 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'ecotouch:geo:3281d1146a' changed from INITIALIZING to UNKNOWN
21:16:11.461 [WARN ] [ommon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NoSuchMethodError: 'org.openhab.binding.ecotouch.internal.EcoTouchTags[] org.openhab.binding.ecotouch.internal.EcoTouchTags.values()'
at org.openhab.binding.ecotouch.internal.EcoTouchHandler.lambda$1(EcoTouchHandler.java:184) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
21:16:11.543 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing 'ecotouch:geo:3281d1146a' changed from UNKNOWN to ONLINE
This behaviour is normal (ähem...). I'm not sure, why this could happen: first, the method .values() is a built in method of the language itself and second: this happens inside a try catch block, which should silence the warning.
Nevertheless, it is harmless. If your binding does not change to ONLINE, the IP is wrong or the username/password.
thanks for your investigation.
This isn't working since OH3 update, in OH2.5 it was working. I checked username, password and IP, can login to CAREL panel:
The only difference is java version, which I updated to 11. I use the zulu repository. I used zulu 8 before when it was mandatory for OH2.5.
Could using zulu be the reason why it doesn't work? Is there any possibility to debug and send you a log file?
Thanks for your support
please try the new pre-release: https://github.com/sibbi77/openhab2-addons/releases/tag/ecotouch-3.0.0-2
thanks you solved this issue, it's working with pre-release 3.0.0-2:
Hi, first of all thanks for migrating the binding to OH3. I copied the jar file to addons folder, activated the binding and the thing is listed as online:
but all values show NULL:
log file shows java error:
2021-01-06 22:03:54.821 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: java.lang.NoSuchMethodError: 'org.openhab.binding.ecotouch.internal.EcoTouchTags[] org.openhab.binding.ecotouch.internal.EcoTouchTags.values()' at org.openhab.binding.ecotouch.internal.EcoTouchHandler.lambda$1(EcoTouchHandler.java:184) ~[?:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?]
Could you please help me to find out what's wrong with my binding? Regards Stoffl