javax.servlet.ServletException: java.lang.ClassCastException: hudson.plugins.claim.ClaimTestDataPublisher$Data cannot be cast to hudson.model.Run

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 Google Groups by wo...@java.net (JIRA), 1 year ago
java.lang.ClassCastException: hudson.plugins.claim.ClaimTestDataPublisher$Data cannot be cast to hudson.model.Run
via Jenkins JIRA by Tom Ghyselinck, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.copyartifact.BuildSelector from {"name":"BYTEBLOWER_SERVER_BUILD","value":"<SavedBuildSelector/>"}
via Jenkins JIRA by Tom Ghyselinck, 1 year ago
java.lang.IllegalArgumentException: Failed to instantiate class hudson.plugins.copyartifact.BuildSelector from {"name":"BYTEBLOWER_SERVER_BUILD","value":"<SavedBuildSelector/>"}
via Google Groups by cta...@gmail.com (JIRA), 1 year ago
java.lang.Error: Unresolved compilation problem: Messages cannot be resolved
via Jenkins JIRA by Kuber Kaul, 1 year ago
java.lang.ClassCastException: org.apache.log4j.Hierarchy cannot be cast to hudson.model.Action
via Jenkins JIRA by Kuber Kaul, 1 year ago
java.lang.ClassCastException: org.apache.log4j.Hierarchy cannot be cast to hudson.model.Action
javax.servlet.ServletException: java.lang.ClassCastException: hudson.plugins.claim.ClaimTestDataPublisher$Data cannot be cast to hudson.model.Run
at hudson.plugins.claim.AbstractClaimBuildAction.doClaim(AbstractClaimBuildAction.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:121)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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