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 web1129

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 Xento
, 8 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
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

Solution icon of github
via GitHub by petteyg
, 2 days ago
java.lang.ClassCastException: com.intellij.advancedExpressionFolding.NumberLiteral cannot be cast to com.intellij.advancedExpressionFolding.Operation

Solution icon of github
java.lang.ClassCastException: cyano.wonderfulwands.projectiles.EntityWandLightningBolt cannot be cast to net.minecraft.entity.EntityLivingBase

Solution icon of github
java.lang.ClassCastException: io.druid.collections.SerializablePair cannot be cast to java.lang.Number

Solution icon of github
via GitHub by LevelX2
, 1 year 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 atlassian
via Atlassian JIRA by Mark Lassau [Atlassian], 1 year ago
java.lang.ClassCastException: com.sun.jndi.ldap.LdapSearchEnumeration cannot be cast to com.atlassian.shaded.com.sun.jndi.ldap.ReferralEnumeration

Solution icon of github
via GitHub by NightKosh
, 1 year ago
java.lang.ClassCastException: org.freeforums.geforce.securitycraft.entity.EntityTnTCompact cannot be cast to net.minecraft.entity.EntityLivingBase

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.