You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dongle will stay in initializing until you disable the thing delete or rename the xml file located in the subfolder of the ZigBee folder that matches the dongle.
reenable the dongle thing it then comes online and remains online until you either stop the service and restart it or reboot the box.
Then the dongle remains in the initializing state until you remove the xml file.
Note this issue does not occur if you run the Openhab manually not as a service.
openhab.log:
2024-01-17 10:24:58.075 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.NoClassDefFoundError: Could not initialize class com.thoughtworks.xstream.converters.collections.TreeSetConverter$Reflections
at com.thoughtworks.xstream.converters.collections.TreeSetConverter.unmarshal(TreeSetConverter.java:62) ~[?:?]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74) ~[?:?]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[?:?]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68) ~[?:?]
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshallField(AbstractReflectionConverter.java:499) ~[?:?]
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:425) ~[?:?]
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:277) ~[?:?]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74) ~[?:?]
at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72) ~[?:?]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68) ~[?:?]
at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:52) ~[?:?]
at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136) ~[?:?]
at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) ~[?:?]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1464) ~[?:?]
at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1441) ~[?:?]
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:1321) ~[?:?]
at org.openhab.binding.zigbee.internal.ZigBeeDataStore.readNode(ZigBeeDataStore.java:134) ~[?:?]
at com.zsmartsystems.zigbee.database.ZigBeeNetworkDatabaseManager.startup(ZigBeeNetworkDatabaseManager.java:193) ~[?:?]
at com.zsmartsystems.zigbee.ZigBeeNetworkManager.initialize(ZigBeeNetworkManager.java:416) ~[?:?]
at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.initialiseZigBee(ZigBeeCoordinatorHandler.java:431) ~[?:?]
at org.openhab.binding.zigbee.handler.ZigBeeCoordinatorHandler.lambda$2(ZigBeeCoordinatorHandler.java:557) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.reflect.InaccessibleObjectException: Unable to make field private transient java.util.NavigableMap java.util.TreeSet.m accessible: module java.base does not "opens java.util" to unnamed module @33264017 [in thread "OH-thingHandler-3"]
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) ~[?:?]
at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) ~[?:?]
at java.lang.reflect.Field.checkCanSetAccessible(Field.java:178) ~[?:?]
at java.lang.reflect.Field.setAccessible(Field.java:172) ~[?:?]
at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40) ~[?:?]
at com.thoughtworks.xstream.converters.collections.TreeSetConverter$Reflections.<clinit>(TreeSetConverter.java:135) ~[?:?]
... 27 more
"This appears to be related to Java 17.
even with openhab 3.4 and java 17 the issue immediately reoccurs. (Although java 17 was not the official version for 3.4 versions 3.4 would run on it and mostly function.)
Note this issue does not occur if you run the Openhab manually not as a service."
Add following Lines in openhab-wrapper.config solves the Problem:
Problem
The dongle will stay in initializing until you disable the thing delete or rename the xml file located in the subfolder of the ZigBee folder that matches the dongle.
reenable the dongle thing it then comes online and remains online until you either stop the service and restart it or reboot the box.
Then the dongle remains in the initializing state until you remove the xml file.
Note this issue does not occur if you run the Openhab manually not as a service.
openhab.log:
Description
Discussion in Community:
https://community.openhab.org/t/sonoff-zigbee-dongle-modell-e-no-longer-available-after-restart/153097
Result of justaoldman's investigation:
"This appears to be related to Java 17.
even with openhab 3.4 and java 17 the issue immediately reoccurs. (Although java 17 was not the official version for 3.4 versions 3.4 would run on it and mostly function.)
Note this issue does not occur if you run the Openhab manually not as a service."
Add following Lines in openhab-wrapper.config solves the Problem:
Configuration
The text was updated successfully, but these errors were encountered: