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

Google Groups | Vinay Sudhakaran | 3 years ago
  1. 0

    Error during Storm execution: java.util.ArrayList cannot be cast to java.util.Map

    Google Groups | 3 years ago | Vinay Sudhakaran
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Map
  2. 0

    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Ma - 爱程序网

    aichengxu.com | 1 year ago
    java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.Map
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.ArrayList cannot be cast to java.util.Map

      at backtype.storm.utils.Utils.findAndReadConfigFile()
    2. backtype.storm.utils
      Utils.findAndReadConfigFile
      1. backtype.storm.utils.Utils.findAndReadConfigFile(Utils.java:120)[storm-core-0.9.0-wip21.jar:na]
      1 frame
    3. com.yahoo.storm
      TestIntegration.setup
      1. com.yahoo.storm.yarn.Config.readStormConfig(Config.java:56)[classes/:na]
      2. com.yahoo.storm.yarn.Config.readStormConfig(Config.java:42)[classes/:na]
      3. com.yahoo.storm.yarn.TestIntegration.setup(TestIntegration.java:82)[test-classes/:na]
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_45]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_45]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_45]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_45]
      4 frames
    5. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)[junit-4.10.jar:na]
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)[junit-4.10.jar:na]
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)[junit-4.10.jar:na]
      4. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)[junit-4.10.jar:na]
      5. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)[junit-4.10.jar:na]
      6. org.junit.runners.ParentRunner.run(ParentRunner.java:300)[junit-4.10.jar:na]
      6 frames
    6. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)[surefire-junit4-2.10.jar:2.10]
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)[surefire-junit4-2.10.jar:2.10]
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)[surefire-junit4-2.10.jar:2.10]
      3 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.7.0_45]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[na:1.7.0_45]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_45]
      4. java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_45]
      4 frames
    8. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)[surefire-api-2.10.jar:2.10]
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)[surefire-booter-2.10.jar:2.10]
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)[surefire-booter-2.10.jar:2.10]
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)[surefire-booter-2.10.jar:2.10]
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)[surefire-booter-2.10.jar:2.10]
      5 frames