java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.shn.api.dto.LogProcessorExpression

nabble.com | 7 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

    Restlet Discuss - Restlet converts JSON to LinkedHashMap instead of List<MyObject>?

    nabble.com | 7 months ago
    java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.shn.api.dto.LogProcessorExpression

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.LinkedHashMap cannot be cast to com.shn.api.dto.LogProcessorExpression

      at com.shn.api.restlet.logprocessor.CustomAttributesManager.getCacheByCustomAttributeName()
    2. com.shn.api
      CustomAttributeMetadataRestlet.addLogProcessorExpression
      1. com.shn.api.restlet.logprocessor.CustomAttributesManager.getCacheByCustomAttributeName(CustomAttributesManager.java:55)
      2. com.shn.api.restlet.logprocessor.CustomAttributesManager.addLogProcessorExpression(CustomAttributesManager.java:24)
      3. com.shn.api.restlet.logprocessor.CustomAttributeMetadataRestlet.addLogProcessorExpression(CustomAttributeMetadataRestlet.java:44)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. org.restlet.resource
      ServerResource.doHandle
      1. org.restlet.resource.ServerResource.doHandle(ServerResource.java:521)
      1 frame