javax.servlet.ServletException: java.lang.ClassCastException: hudson.plugins.downstream_ext.DownstreamTrigger cannot be cast to hudson.tasks.BuildTrigger

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Jenkins JIRA by ramzez ramzez, 1 year ago
java.lang.ClassCastException: hudson.plugins.downstream_ext.DownstreamTrigger cannot be cast to hudson.tasks.BuildTrigger
via Jenkins JIRA by ramzez ramzez, 1 year ago
java.lang.ClassCastException: hudson.plugins.downstream_ext.DownstreamTrigger cannot be cast to hudson.tasks.BuildTrigger
via GitHub by ilx
, 2 years ago
java.lang.RuntimeException: Failed to instantiate class com.xebialabs.deployit.ci.DeployitNotifier from {"credential":"admina2","application":"","version":"","packageProperties":{"propertyName":"exportAllPasswords","propertyValue":"true"},"verbose
via Google Groups by Jorge Costa, 2 years ago
java.lang.RuntimeException: Failed to serialize hudson.model.AbstractProject#scm for class hudson.model.FreeStyleProject
via jenkins-ci.org by Unknown author, 2 years ago
java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"value":"2","userRemoteConfigs": {"url":"","name":"","refspec":""} ,"branches": {"name":""} ,"gitTool":"jgit","":"auto"}
via Stack Overflow by Michael Irey
, 2 years ago
java.lang.RuntimeException: Failed to instantiate class hudson.plugins.git.GitSCM from {"":["hudson.plugins.git.util.DefaultBuildChooser","7"],"authorOrCommitter":false,"branches":{"name":"**"},"browser":{"stapler-class
javax.servlet.ServletException: java.lang.ClassCastException: hudson.plugins.downstream_ext.DownstreamTrigger cannot be cast to hudson.tasks.BuildTrigger
at hudson.model.AbstractProject.submit(AbstractProject.java:1919)
at hudson.model.Project.submit(Project.java:195)
at hudson.model.Job.doConfigSubmit(Job.java:1045)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:740)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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