java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map

Jenkins JIRA | jay amm | 3 years 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
  2. 0
  3. 0

    Issue by using TestLink plugin in Jenkins

    Stack Overflow | 4 years ago | daguerrier
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    please help me to fix this error in jenkin -testlink Continuous integration --------------------- Running MevanProject.CI.TestClass Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.749 sec Results : Tests run: 4, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.852s [INFO] Finished at: Mon Jan 12 12:44:38 IST 2015 [INFO] Final Memory: 18M/173M [INFO] ------------------------------------------------------------------------ Preparing TestLink client API. Using TestLink URL: http............/Testlink/lib/api/xmlrpc.php FATAL: [Ljava.lang.Object; cannot be cast to java.util.Map java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map at br.eti.kinoshita.testlinkjavaapi.util.Util.castToMap(Util.java:591) at br.eti.kinoshita.testlinkjavaapi.TestProjectService.getTestProjectByName(TestProjectService.java:115) at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.getTestProjectByName(TestLinkAPI.java:438) at hudson.plugins.testlink.TestLinkBuilder.getTestLinkSite(TestLinkBuilder.java:309) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:186) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Jenkins JIRA | 2 years ago | sreelesh kunnath
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map
  6. 0

    Build Failure on Jenkins using the Testlink plug-in

    Stack Overflow | 11 months ago | snowmanlarry
    java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to java.util.Map

    1 unregistered visitors
    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

      [Ljava.lang.Object; cannot be cast to java.util.Map

      at br.eti.kinoshita.testlinkjavaapi.util.Util.castToMap()
    2. TestLink Java API
      TestLinkAPI.getTestProjectByName
      1. br.eti.kinoshita.testlinkjavaapi.util.Util.castToMap(Util.java:591)
      2. br.eti.kinoshita.testlinkjavaapi.TestProjectService.getTestProjectByName(TestProjectService.java:115)
      3. br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.getTestProjectByName(TestLinkAPI.java:438)
      3 frames
    3. hudson.plugins.testlink
      TestLinkBuilder.perform
      1. hudson.plugins.testlink.TestLinkBuilder.getTestLinkSite(TestLinkBuilder.java:309)
      2. hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:186)
      2 frames
    4. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
      3. hudson.model.Build$BuildExecution.build(Build.java:199)
      4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:566)
      6. hudson.model.Run.execute(Run.java:1678)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:231)
      9 frames