java.lang.ClassCastException

java.net.Inet4Address cannot be cast to java.lang.Stringjava.util.concurrent.ExecutionException: java.lang.ClassCastException: java.net.Inet4Address cannot be cast to java.lang.String

Solutions on the web19464

  • via GitHub by kaikreuzer
    , 10 months ago
    java.net.Inet4Address cannot be cast to java.lang.Stringjava.util.concurrent.ExecutionException: java.lang.ClassCastException: java.net.Inet4Address cannot be cast to java.lang.String
  • java.net.Inet4Address cannot be cast to java.lang.String
  • via Stack Overflow by Theguy
    , 1 year ago
    java.net.Inet4Address cannot be cast to java.lang.CharSequence
  • Stack trace

    • java.lang.ClassCastException: java.net.Inet4Address cannot be cast to java.lang.Stringjava.util.concurrent.ExecutionException: java.lang.ClassCastException: java.net.Inet4Address cannot be cast to java.lang.String at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:206) at org.eclipse.smarthome.core.common.SafeMethodCaller.callAsynchronous(SafeMethodCaller.java:186) at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:79) at org.eclipse.smarthome.core.common.SafeMethodCaller.call(SafeMethodCaller.java:63) at org.eclipse.smarthome.core.thing.internal.ThingManager.thingUpdated(ThingManager.java:556) at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyTrackers(ThingRegistryImpl.java:226) at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutUpdatedElement(ThingRegistryImpl.java:149) at org.eclipse.smarthome.core.thing.internal.ThingRegistryImpl.notifyListenersAboutUpdatedElement(ThingRegistryImpl.java:1) at org.eclipse.smarthome.core.common.registry.AbstractRegistry.updated(AbstractRegistry.java:167) at org.eclipse.smarthome.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:57) Caused by: java.lang.ClassCastException: java.net.Inet4Address cannot be cast to java.lang.String at org.openhab.binding.miele.handler.MieleBridgeHandler.initialize(MieleBridgeHandler.java:154) at org.eclipse.smarthome.core.thing.binding.BaseThingHandler.thingUpdated(BaseThingHandler.java:184) at org.eclipse.smarthome.core.thing.internal.ThingManager$6.call(ThingManager.java:560) at org.eclipse.smarthome.core.thing.internal.ThingManager$6.call(ThingManager.java:1) at org.eclipse.smarthome.core.common.SafeMethodCaller$CallableWrapper.call(SafeMethodCaller.java:177) ... 4 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.