java.lang.ClassCastException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19421

  • via GitHub by gsteimer
    , 1 year ago
    java.util.LinkedHashMap cannot be cast to java.lang.String
  • java.util.LinkedHashMap cannot be cast to java.lang.String
  • java.util.LinkedHashMap cannot be cast to java.lang.String
  • Stack trace

    • java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String at io.dockstore.webservice.resources.WorkflowResource.getWorkflowDag(WorkflowResource.java:781)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3] at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_72] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_72] at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3] at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3] at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[dockstore-webservice-0.4-beta.3.jar:0.4-beta.3]

    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’re the first here who have seen this exception.