java.lang.ClassCastException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Issue by using TestLink plugin in Jenkins
    via Stack Overflow by daguerrier
    ,
  • 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)
    via by sreelesh kunnath,
    • java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.util.Map at br.eti.kinoshita.testlinkjavaapi.util.Util.castToMap(Util.java:586) 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:255) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:140) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 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:586) at hudson.model.Run.execute(Run.java:1575) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241)

    Users with the same issue

    Unknown visitor1 times, last one,