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


Solutions on the web2611

Solution icon of github
via GitHub by Xento
, 6 months ago
java.lang.ClassCastException: org.eclipse.smarthome.core.library.types.OnOffType cannot be cast to org.eclipse.smarthome.core.library.types.DecimalType

Solution icon of github
java.lang.ClassCastException: org.eclipse.smarthome.core.library.types.OnOffType cannot be cast to org.eclipse.smarthome.core.library.types.DecimalType

Solution icon of github
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

Solution icon of github
java.lang.ClassCastException: org.spongepowered.common.item.inventory.adapter.impl.slots.SlotAdapter cannot be cast to net.minecraft.inventory.Slot

Solution icon of github
via GitHub by MeinKraft
, 9 months ago
java.lang.ClassCastException: **mekanism.tools.item.ItemMekanismPaxel cannot be cast to net.minecraft.item.ItemSword**

Solution icon of github
java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.brooklyn.core.sensor.PortAttributeSensorAndConfigKey

Solution icon of github
java.lang.ClassCastException: org.jetbrains.jps.model.impl.JpsDummyElementImpl cannot be cast to org.jetbrains.jps.model.JpsSimpleElement

Solution icon of github
via GitHub by LevelX2
, 10 months ago
java.lang.ClassCastException: mage.abilities.keyword.MorphAbility cannot be cast to mage.abilities.ActivatedAbility

Solution icon of github
java.lang.ClassCastException: org.eclipse.smarthome.core.thing.internal.ThingImpl cannot be cast to org.eclipse.smarthome.core.thing.Bridge

Solution icon of spring
via Spring JIRA by Jennifer Hickey, 1 year ago
java.lang.ClassCastException: redis.reply.ErrorReply cannot be cast to redis.reply.MultiBulkReply

Stack trace

  • 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 at java.util.concurrent.FutureTask.report(FutureTask.java:122)[:1.8.0_101] at java.util.concurrent.FutureTask.get(FutureTask.java:206)[:1.8.0_101] at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186)[97:org.eclipse.smarthome.core:0.9.0.201609132009] at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79)[97:org.eclipse.smarthome.core:0.9.0.201609132009] at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63)[97:org.eclipse.smarthome.core:0.9.0.201609132009] at org.eclipse.smarthome.core.thing.internal.ThingManager.receiveCommand(ThingManager.java:408)[103:org.eclipse.smarthome.core.thing:0.9.0.201609132009] at org.eclipse.smarthome.core.items.events.AbstractItemEventSubscriber.receive(AbstractItemEventSubscriber.java:46)[97:org.eclipse.smarthome.core:0.9.0.201609132009] at org.eclipse.smarthome.core.internal.events.OSGiEventManager$1.call(OSGiEventManager.java:192)[97:org.eclipse.smarthome.core:0.9.0.201609132009] at org.eclipse.smarthome.core.internal.events.OSGiEventManager$1.call(OSGiEventManager.java:1)[97:org.eclipse.smarthome.core:0.9.0.201609132009] at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177)[97:org.eclipse.smarthome.core:0.9.0.201609132009] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_101] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_101] at java.lang.Thread.run(Thread.java:745)[:1.8.0_101] Caused by: 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)[211:org.openhab.binding.milight:2.0.0.201609141315] at org.eclipse.smarthome.core.thing.internal.ThingManager$3.call(ThingManager.java:411)[103:org.eclipse.smarthome.core.thing:0.9.0.201609132009] at org.eclipse.smarthome.core.thing.internal.ThingManager$3.call(ThingManager.java:1)[103:org.eclipse.smarthome.core.thing:0.9.0.201609132009] ... 5 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.