Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6775

http 500 error thrown whilst saving a job

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: seleniumhq-plugin
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      I tried to configure a job but when I try to save I always get this exception.

      Status Code: 500

      Exception:
      Stacktrace:

      org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class hudson.plugins.seleniumhq.SeleniumhqPublisher
      at org.kohsuke.stapler.RequestImpl.loadConstructorParamNames(RequestImpl.java:461)
      at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:285)
      at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:281)
      at hudson.plugins.seleniumhq.SeleniumhqPublisher$DescriptorImpl.newInstance(SeleniumhqPublisher.java:195)
      at hudson.plugins.seleniumhq.SeleniumhqPublisher$DescriptorImpl.newInstance(SeleniumhqPublisher.java:167)
      at hudson.model.Descriptor.newInstance(Descriptor.java:458)
      at hudson.util.DescribableList.rebuild(DescribableList.java:147)
      at hudson.model.Project.submit(Project.java:198)
      at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97)
      at hudson.model.Job.doConfigSubmit(Job.java:1051)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555)
      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:235)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:116)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:57)
      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:525)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:441)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:123)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
      at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:304)
      at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:31)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:64)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
      at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.lang.Thread.run(Thread.java:619)

        Attachments

          Activity

          Hide
          mindless Alan Harder added a comment -

          can you disable seleniumhq plugin, or are you using it?

          Show
          mindless Alan Harder added a comment - can you disable seleniumhq plugin, or are you using it?
          Hide
          partizan77 Partizan77 added a comment -

          I use this plugin every day.
          If I disable the plugin the error disappeared, but ... i need it

          Show
          partizan77 Partizan77 added a comment - I use this plugin every day. If I disable the plugin the error disappeared, but ... i need it
          Hide
          abayer Andrew Bayer added a comment -

          Looks like this is due to a stapler change - SeleniumhqPublisher and CloverPublisher (which is seeing this too) both have "@stapler-constructor" in their constructor's javadoc, but no @DataBoundConstructor annotation. I'm guessing Stapler no longer supports "@stapler-constructor"?

          Show
          abayer Andrew Bayer added a comment - Looks like this is due to a stapler change - SeleniumhqPublisher and CloverPublisher (which is seeing this too) both have "@stapler-constructor" in their constructor's javadoc, but no @DataBoundConstructor annotation. I'm guessing Stapler no longer supports "@stapler-constructor"?
          Hide
          uresu uresu added a comment -

          I am also seeing this for Clover, which I shall disable for the time being.

          Status Code 500
          Exception:
          Stacktrace:
          
          org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class hudson.plugins.clover.CloverPublisher
          	at org.kohsuke.stapler.RequestImpl.loadConstructorParamNames(RequestImpl.java:461)
          	at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:285)
          	at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:281)
          	at hudson.plugins.clover.CloverPublisher$DescriptorImpl.newInstance(CloverPublisher.java:331)
          	at hudson.plugins.clover.CloverPublisher$DescriptorImpl.newInstance(CloverPublisher.java:307)
          	at hudson.util.DescribableList.rebuild(DescribableList.java:147)
          	at hudson.model.Project.submit(Project.java:198)
          	at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97)
          	at hudson.model.Job.doConfigSubmit(Job.java:1050)
          	at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555)
          	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:616)
          	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:235)
          	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:116)
          	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:57)
          	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:525)
          	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181)
          	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525)
          	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:441)
          	at org.kohsuke.stapler.Stapler.service(Stapler.java:123)
          	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
          	at winstone.ServletConfiguration.execute(ServletConfiguration.java:249)
          	at winstone.RequestDispatcher.forward(RequestDispatcher.java:335)
          	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378)
          	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94)
          	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51)
          	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97)
          	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86)
          	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
          	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
          	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
          	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
          	at winstone.FilterConfiguration.execute(FilterConfiguration.java:195)
          	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368)
          	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
          	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244)
          	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
          	at java.lang.Thread.run(Thread.java:636)
          
          Show
          uresu uresu added a comment - I am also seeing this for Clover, which I shall disable for the time being. Status Code 500 Exception: Stacktrace: org.kohsuke.stapler.NoStaplerConstructorException: There's no @DataBoundConstructor on any constructor of class hudson.plugins.clover.CloverPublisher at org.kohsuke.stapler.RequestImpl.loadConstructorParamNames(RequestImpl.java:461) at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:285) at org.kohsuke.stapler.RequestImpl.bindParameters(RequestImpl.java:281) at hudson.plugins.clover.CloverPublisher$DescriptorImpl.newInstance(CloverPublisher.java:331) at hudson.plugins.clover.CloverPublisher$DescriptorImpl.newInstance(CloverPublisher.java:307) at hudson.util.DescribableList.rebuild(DescribableList.java:147) at hudson.model.Project.submit(Project.java:198) at hudson.model.FreeStyleProject.submit(FreeStyleProject.java:97) at hudson.model.Job.doConfigSubmit(Job.java:1050) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:555) 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:616) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:235) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:116) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:57) 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:525) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:181) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:525) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:441) at org.kohsuke.stapler.Stapler.service(Stapler.java:123) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:51) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang. Thread .run( Thread .java:636)
          Hide
          pascal_martin pascal_martin added a comment -

          I try fix the bug this weekend, Monday morning a new version should be available.

          Show
          pascal_martin pascal_martin added a comment - I try fix the bug this weekend, Monday morning a new version should be available.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : pascal_martin
          Path:
          trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/SeleniumhqPublisher.java
          http://jenkins-ci.org/commit/32712
          Log:
          Fix issue http://issues.jenkins-ci.org/browse/JENKINS-6775
          Add annotation @DataBoundConstructor

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : pascal_martin Path: trunk/hudson/plugins/seleniumhq/src/main/java/hudson/plugins/seleniumhq/SeleniumhqPublisher.java http://jenkins-ci.org/commit/32712 Log: Fix issue http://issues.jenkins-ci.org/browse/JENKINS-6775 Add annotation @DataBoundConstructor
          Hide
          pascal_martin pascal_martin added a comment -

          Fixed available in next version 0.3

          Show
          pascal_martin pascal_martin added a comment - Fixed available in next version 0.3

            People

            • Assignee:
              pascal_martin pascal_martin
              Reporter:
              partizan77 Partizan77
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: