java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String

GitHub | denis-yuen | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    DAG resource fails on bracketed CWL import syntax

    GitHub | 10 months ago | denis-yuen
    java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.LinkedHashMap cannot be cast to java.lang.String

      at io.dockstore.webservice.resources.WorkflowResource.getWorkflowDag()
    2. io.dockstore.webservice
      WorkflowResource.getWorkflowDag
      1. io.dockstore.webservice.resources.WorkflowResource.getWorkflowDag(WorkflowResource.java:781)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3]
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_72]
      3. java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_72]
      3 frames
    4. jersey-core-server
      AbstractJavaResourceMethodDispatcher.dispatch
      1. org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3]
      2. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3]
      3. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3]
      4. org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3]
      5. org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3]
      5 frames