java.lang.IllegalArgumentException: class samplepackage.HelloWorldBuilder does not have a constructor with 1 arguments

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 ciryon, 1 year ago
class samplepackage.HelloWorldBuilder does not have a constructor with 1 arguments
via Jenkins JIRA by ciryon, 1 year ago
class samplepackage.HelloWorldBuilder does not have a constructor with 1 arguments
java.lang.IllegalArgumentException: class samplepackage.HelloWorldBuilder does not have a constructor with 1 arguments
at org.kohsuke.stapler.RequestImpl.findConstructor(RequestImpl.java:408)
at hudson.model.Descriptor.newInstance(Descriptor.java:179)
at hudson.model.Descriptor.newInstancesFromHeteroList(Descriptor.java:360)
at hudson.util.DescribableList.rebuildHetero(DescribableList.java:157)
at hudson.model.Project.submit(Project.java:167)
at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:68)
at hudson.model.Job.doConfigSubmit(Job.java:858)
at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:320)
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:146)
at org.kohsuke.stapler.Function.bindAndinvoke(Function.java:71)
at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:75)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:173)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:352)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491)
at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:61)
at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:53)
at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:88)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1065)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:185)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:689)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:391)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:146)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:457)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:765)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:628)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:357)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:329)

Users with the same issue

Once, 1 year ago
Once, 1 year ago

Write tip

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