-
Bug
-
Resolution: Fixed
-
Blocker
-
None
Enabling the plugin for a project in the configuration and applying the config lead to the following exception:
javax.servlet.ServletException: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class hudson.plugins.crap4j.Crap4JPublisher
org.kohsuke.stapler.Stapler.invoke(Stapler.java:569)
org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
org.kohsuke.stapler.Stapler.service(Stapler.java:132)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
root cause
org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class hudson.plugins.crap4j.Crap4JPublisher
org.kohsuke.stapler.RequestImpl.loadConstructorParamNames(RequestImpl.java:470)
org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:290)
org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:286)
hudson.plugins.crap4j.Crap4JPluginDescriptor.newInstance(Crap4JPluginDescriptor.java:37)
hudson.plugins.crap4j.Crap4JPluginDescriptor.newInstance(Crap4JPluginDescriptor.java:14)
hudson.util.DescribableList.rebuild(DescribableList.java:147)
hudson.model.Project.submit(Project.java:198)
hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97)
hudson.model.Job.doConfigSubmit(Job.java:1086)
hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:259)
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:126)
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:65)
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:79)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
org.kohsuke.stapler.MetaClass$7.doDispatch(MetaClass.java:219)
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:534)
org.kohsuke.stapler.Stapler.invoke(Stapler.java:450)
org.kohsuke.stapler.Stapler.service(Stapler.java:132)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)