org.eclipse.smarthome.core.library.types.OnOffTypejava.lang.ClassCastException: org.eclipse.smarthome.core.types.RefreshType cannot be cast to org.eclipse.smarthome.core.library.types.OnOffType

GitHub | MHerbst | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [YamahReceiver] RefreshCommand not handled

    GitHub | 8 months ago | MHerbst
    org.eclipse.smarthome.core.library.types.OnOffTypejava.lang.ClassCastException: org.eclipse.smarthome.core.types.RefreshType cannot be cast to org.eclipse.smarthome.core.library.types.OnOffType

    Root Cause Analysis

    1. org.eclipse.smarthome.core.library.types.OnOffTypejava.lang.ClassCastException

      org.eclipse.smarthome.core.types.RefreshType cannot be cast to org.eclipse.smarthome.core.library.types.OnOffType

      at org.openhab.binding.yamahareceiver.handler.YamahaReceiverHandler.handleCommand()
    2. org.openhab.binding
      YamahaReceiverHandler.handleCommand
      1. org.openhab.binding.yamahareceiver.handler.YamahaReceiverHandler.handleCommand(YamahaReceiverHandler.java:224)
      1 frame
    3. org.eclipse.smarthome
      ItemChannelLinkRegistry.notifyListenersAboutAddedElement
      1. org.eclipse.smarthome.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:198)
      2. org.eclipse.smarthome.core.thing.link.ThingLinkManager.informHandlerAboutLinkedChannel(ThingLinkManager.java:190)
      3. org.eclipse.smarthome.core.thing.link.ThingLinkManager.access$1(ThingLinkManager.java:186)
      4. org.eclipse.smarthome.core.thing.link.ThingLinkManager$1.added(ThingLinkManager.java:104)
      5. org.eclipse.smarthome.core.thing.link.ThingLinkManager$1.added(ThingLinkManager.java:1)
      6. org.eclipse.smarthome.core.common.registry.AbstractRegistry.notifyListeners(AbstractRegistry.java:142)
      7. org.eclipse.smarthome.core.common.registry.AbstractRegistry.notifyListeners(AbstractRegistry.java:161)
      8. org.eclipse.smarthome.core.common.registry.AbstractRegistry.notifyListenersAboutAddedElement(AbstractRegistry.java:165)
      9. org.eclipse.smarthome.core.thing.link.ItemChannelLinkRegistry.notifyListenersAboutAddedElement(ItemChannelLinkRegistry.java:102)
      10. org.eclipse.smarthome.core.thing.link.ItemChannelLinkRegistry.notifyListenersAboutAddedElement(ItemChannelLinkRegistry.java:1)
      10 frames