java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Ping - OpenDaylight Project
    via by Unknown author,
    • java.lang.ClassCastException: org.opendaylight.yang.gen.v1.urn.opendaylight.ping.rev130911.SendEchoOutput$EchoResult cannot be cast to java.lang.String at org.opendaylight.yangtools.yang.data.impl.codec.TypeDefinitionAwareCodec$EnumCodecStringImpl.serialize(TypeDefinitionAwareCodec.java:512)[bundlefile:na] at org.opendaylight.controller.sal.restconf.impl.RestCodec$ObjectCodec.serialize(RestCodec.java:141)[bundlefile:na] at org.opendaylight.controller.sal.rest.impl.JsonMapper.writeValueOfNodeByType(JsonMapper.java:240)[bundlefile:na] at org.opendaylight.controller.sal.rest.impl.JsonMapper.writeLeaf(JsonMapper.java:193)[bundlefile:na] at org.opendaylight.controller.sal.rest.impl.JsonMapper.writeChildrenOfParent(JsonMapper.java:118)[bundlefile:na] at org.opendaylight.controller.sal.rest.impl.JsonMapper.writeContainer(JsonMapper.java:154)[bundlefile:na] at org.opendaylight.controller.sal.rest.impl.JsonMapper.write(JsonMapper.java:70)[bundlefile:na] at org.opendaylight.controller.sal.rest.impl.StructuredDataToJsonProvider.writeTo(StructuredDataToJsonProvider.java:61)[bundlefile:na] at org.opendaylight.controller.sal.rest.impl.StructuredDataToJsonProvider.writeTo(StructuredDataToJsonProvider.java:33)[bundlefile:na] at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)[jersey-server-1.17.jar:1.17] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)[jersey-server-1.17.jar:1.17] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)[jersey-server-1.17.jar:1.17]
    No Bugmate found.