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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by daguerrier
, 2 years ago
[Ljava.lang.Object; cannot be cast to java.util.Map
via Stack Overflow by snowmanlarry
, 1 year ago
[Ljava.lang.Object; cannot be cast to java.util.Map
via Jenkins JIRA by sreelesh kunnath, 1 year ago
[Ljava.lang.Object; cannot be cast to java.util.Map
via Jenkins JIRA by sreelesh kunnath, 1 year ago
[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 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:785)
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:566)
at hudson.model.Run.execute(Run.java:1678)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:231)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.