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

[digitalstrom] ClassCastException #9049

Closed
alexf2015 opened this issue Nov 17, 2020 · 0 comments · Fixed by #9214
Closed

[digitalstrom] ClassCastException #9049

alexf2015 opened this issue Nov 17, 2020 · 0 comments · Fixed by #9214
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@alexf2015
Copy link
Contributor

2020-11-17 05:57:30.837 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.ClassCastException: org.openhab.binding.digitalstrom.internal.lib.structure.devices.impl.CircuitImpl cannot be cast to org.openhab.binding.digitalstrom.internal.lib.structure.devices.Device
        at org.openhab.binding.digitalstrom.internal.handler.CircuitHandler.onDeviceRemoved(CircuitHandler.java:190) ~[?:?]
        at org.openhab.binding.digitalstrom.internal.handler.CircuitHandler.onDeviceAdded(CircuitHandler.java:219) ~[?:?]
        at org.openhab.binding.digitalstrom.internal.lib.structure.devices.AbstractGeneralDeviceInformations.registerDeviceStatusListener(AbstractGeneralDeviceInformations.java:127) ~[?:?]
        at org.openhab.binding.digitalstrom.internal.lib.manager.impl.StructureManagerImpl.updateCircuitConfig(StructureManagerImpl.java:404) ~[?:?]
        at org.openhab.binding.digitalstrom.internal.lib.manager.impl.DeviceStatusManagerImpl$PollingRunnable.run(DeviceStatusManagerImpl.java:264) ~[?:?]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_211]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_211]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_211]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_211]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_211]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_211]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_211]

This exception occoured while updating my digitalstrom server. It might be hard to reproduce

@alexf2015 alexf2015 added the bug An unexpected problem or unintended behavior of an add-on label Nov 17, 2020
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