java.util.concurrent.ExecutionException: java.lang.ClassCastException: org.eclipse.smarthome.core.library.types.OnOffType cannot be cast to org.eclipse.smarthome.core.library.types.DecimalType

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Xento
, 10 months ago
java.lang.ClassCastException: org.eclipse.smarthome.core.library.types.OnOffType cannot be cast to org.eclipse.smarthome.core.library.types.DecimalType
via GitHub by patrickse
, 1 year ago
java.lang.ClassCastException: org.eclipse.smarthome.core.library.types.OnOffType cannot be cast to org.eclipse.smarthome.core.library.types.DecimalType
via GitHub by ccaramel
, 1 year ago
java.lang.ClassCastException: tuwien.auto.calimero.dptxlator.DPT cannot be cast to tuwien.auto.calimero.dptxlator.DPTXlator3BitControlled$DPT3BitControlled
via GitHub by Sbried
, 7 months ago
java.lang.ClassCastException: org.openhab.binding.nuki.dataexchange.NukiBaseResponse cannot be cast to org.openhab.binding.nuki.dataexchange.BridgeInfoResponse
via GitHub by Tadimsky
, 1 year ago
java.lang.ClassCastException: org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveMultiAssociationCommandClass cannot be cast to org.openhab.binding.zwave.internal.protocol.ZWaveAssociation
via GitHub by maggu2810
, 1 year ago
java.lang.ClassCastException: org.openhab.binding.zwave.internal.protocol.commandclass.ZWaveMultiAssociationCommandClass cannot be cast to org.openhab.binding.zwave.internal.protocol.ZWaveAssociation
java.lang.ClassCastException: org.eclipse.smarthome.core.library.types.OnOffType cannot be cast to org.eclipse.smarthome.core.library.types.DecimalType
at org.openhab.binding.milight.handler.MilightLedHandler.handleCommand(MilightLedHandler.java:75)
at org.eclipse.smarthome.core.thing.internal.ThingManager$3.call(ThingManager.java:411)
at org.eclipse.smarthome.core.thing.internal.ThingManager$3.call(ThingManager.java:1)
at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.