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

GitHub | janeczku | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 6227#254014009

    GitHub | 4 months ago | janeczku
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String
  2. 0

    GitHub comment 6173#253411402

    GitHub | 4 months ago | virtuman
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String

    Root Cause Analysis

    1. java.lang.ClassCastException

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

      at io.cattle.platform.process.host.HostCreateUpdate.handle()
    2. io.cattle.platform
      ProcessInstanceParallelDispatcher$1.runInContext
      1. io.cattle.platform.process.host.HostCreateUpdate.handle(HostCreateUpdate.java:65)[cattle-iaas-logic-0.5.0-SNAPSHOT.jar:na]
      2. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandler(DefaultProcessInstanceImpl.java:427)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      3. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:378)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      4. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:372)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      5. io.cattle.platform.engine.idempotent.Idempotent.execute(Idempotent.java:42)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      6. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandlers(DefaultProcessInstanceImpl.java:372)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      7. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runLogic(DefaultProcessInstanceImpl.java:474)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      8. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runWithProcessLock(DefaultProcessInstanceImpl.java:308)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      9. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$2.doWithLockNoResult(DefaultProcessInstanceImpl.java:247)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      10. io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:7)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      11. io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:3)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      12. io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      13. io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      14. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      15. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      16. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.acquireLockAndRun(DefaultProcessInstanceImpl.java:244)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      17. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runDelegateLoop(DefaultProcessInstanceImpl.java:186)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      18. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.executeWithProcessInstanceLock(DefaultProcessInstanceImpl.java:159)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      19. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:108)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      20. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:105)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      21. io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      22. io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      23. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      24. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      25. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.execute(DefaultProcessInstanceImpl.java:105)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      26. io.cattle.platform.engine.eventing.impl.ProcessEventListenerImpl.processExecute(ProcessEventListenerImpl.java:75)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      27. io.cattle.platform.engine.server.impl.ProcessInstanceParallelDispatcher$1.runInContext(ProcessInstanceParallelDispatcher.java:27)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      27 frames
    3. org.apache.cloudstack
      ManagedContextRunnable.run
      1. org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      2. org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      3. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      4. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      5. org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      5 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_111]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_111]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_111]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_111]
      5. java.lang.Thread.run(Thread.java:745)[na:1.7.0_111]
      5 frames