javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder from {"":["0","0","8"],"condition":{"stapler-class":"org.jenkins_ci.plugins.run_condition.core.AlwaysRun"},"runner":{"stapler-class":"org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"},"buildStep":{"stapler-class":"hudson.plugins.gradle.Gradle","useWrapper":{"value":"false","gradleName":"(Default)"},"description":"","switches":"","tasks":"","rootBuildScriptDir":"","buildFile":""},"stapler-class":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder","kind":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder"}

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 Vladimir Trubnikov, 1 year ago
":{"stapler-class":"org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"},"buildStep":{"stapler-class":"hudson.plugins.gradle.Gradle","useWrapper":{"value":"false","gradleName":"(Default)"},"description":"","switches":"","tasks
via Jenkins JIRA by Vladimir Trubnikov, 1 year ago
":{"stapler-class":"org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"},"buildStep":{"stapler-class":"hudson.plugins.gradle.Gradle","useWrapper":{"value":"false","gradleName":"(Default)"},"description":"","switches":"","tasks
via Jenkins JIRA by kumar Shanmuga Raju, 1 year ago
java.lang.NoClassDefFoundError: Could not initialize class com.ibm.ws.pmi.server.PmiRegistry
via Jenkins JIRA by kumar Shanmuga Raju, 1 year ago
java.lang.NoClassDefFoundError: Could not initialize class com.ibm.ws.pmi.server.PmiRegistry
via Google Groups by fah...@cliqz.com (JIRA), 11 months ago
java.lang.ClassCastException: org.jenkinsci.plugins.workflow.job.WorkflowJob cannot be to hudson.model.AbstractProject
via GitHub by victornoel
, 2 years ago
java.lang.RuntimeException: Failed to serialize hudson.maven.MavenModuleSet#postbuilders for class hudson.maven.MavenModuleSet
javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder from {"":["0","0","8"],"condition":{"stapler-class":"org.jenkins_ci.plugins.run_condition.core.AlwaysRun"},"runner":{"stapler-class":"org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail"},"buildStep":{"stapler-class":"hudson.plugins.gradle.Gradle","useWrapper":{"value":"false","gradleName":"(Default)"},"description":"","switches":"","tasks":"","rootBuildScriptDir":"","buildFile":""},"stapler-class":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder","kind":"org.jenkinsci.plugins.conditionalbuildstep.singlestep.SingleConditionalBuilder"}
at org.kohsuke.stapler.ClassDescriptor.loadConstructorParamNames(ClassDescriptor.java:176)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:575)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:391)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:588)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:391)
at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:588)
at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:391)
at hudson.model.Descriptor.newInstance(Descriptor.java:593)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:941)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:926)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:203)
at hudson.model.Project.submit(Project.java:200)
at hudson.model.Job.doConfigSubmit(Job.java:1076)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:758)
at sun.reflect.GeneratedMethodAccessor804.invoke(Unknown Source)
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)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:241)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:677)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:770)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:583)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:594)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
at com.marvelution.hudson.plugins.apiv2.servlet.filter.HudsonAPIV2ServletFilter.doFilter(HudsonAPIV2ServletFilter.java:112)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
at org.jenkinsci.plugins.reverse_proxy_auth.ReverseProxySecurityRealm$1.doFilter(ReverseProxySecurityRealm.java:92)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1337)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:484)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:499)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:351)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:900)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:954)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 1 year ago

Write tip

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