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

Triggering a build from the context menu produces a warning when security is enabled

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
    • Environment:
      Jenkins 1.480.3 (Winstone and Tomcat)
      LDAP plugin 1.1 and 1.2
    • Similar Issues:

      Description

      Hovering mouse over a job name brings up a context menu. Clicking Build Now from the context menu produces the following warning and a Proceed button. Build starts only if Proceed button is pressed. Context menu is accessible at least in job list view (e.g. default All view) and from the breadcrumb. Clicking Build Now on the left menu on a job page works normally, i.e. without warnings.

      You must use POST method to trigger builds. (From scripts you may instead pass a per-project authentication token, or authenticate with your API token.) If you see this page, it may be because a plugin offered a GET link; file a bug report for that plugin.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/jenkins/model/ModelObjectWithContextMenu.java
            core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
            core/src/main/resources/lib/layout/breadcrumbs.js
            core/src/main/resources/lib/layout/task.jelly
            http://jenkins-ci.org/commit/jenkins/b9c18a7b4c6d194645a20312352cd4d4994eafb4
            Log:
            [FIXED JENKINS-16844] MenuItem.post allows context menu items like Build Now to send a POST request.
            Currently just shows a hover notification; TBD if there are use cases for displaying the response.


            You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/jenkins/model/ModelObjectWithContextMenu.java core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly core/src/main/resources/lib/layout/breadcrumbs.js core/src/main/resources/lib/layout/task.jelly http://jenkins-ci.org/commit/jenkins/b9c18a7b4c6d194645a20312352cd4d4994eafb4 Log: [FIXED JENKINS-16844] MenuItem.post allows context menu items like Build Now to send a POST request. Currently just shows a hover notification; TBD if there are use cases for displaying the response. – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2291
            [FIXED JENKINS-16844] MenuItem.post allows context menu items like Build Now to send a POST request. (Revision b9c18a7b4c6d194645a20312352cd4d4994eafb4)

            Result = SUCCESS
            Jesse Glick : b9c18a7b4c6d194645a20312352cd4d4994eafb4
            Files :

            • changelog.html
            • core/src/main/resources/lib/layout/task.jelly
            • core/src/main/resources/lib/layout/breadcrumbs.js
            • core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
            • core/src/main/java/jenkins/model/ModelObjectWithContextMenu.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2291 [FIXED JENKINS-16844] MenuItem.post allows context menu items like Build Now to send a POST request. (Revision b9c18a7b4c6d194645a20312352cd4d4994eafb4) Result = SUCCESS Jesse Glick : b9c18a7b4c6d194645a20312352cd4d4994eafb4 Files : changelog.html core/src/main/resources/lib/layout/task.jelly core/src/main/resources/lib/layout/breadcrumbs.js core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly core/src/main/java/jenkins/model/ModelObjectWithContextMenu.java
            Hide
            dcheckoway Dan Checkoway added a comment -

            Heads-up...while this fix is much appreciated and does fix the hover-over "Build Now" in general, it has borked something else.

            You can no longer use the hover-over "Build Now" option on parameterized builds. It works great on non-parameterized builds, but with parameterized builds you just get a "Done." tooltippy floater and nothing happens.

            And this gets logged:

            SEVERE: Error while serving http://localhost:8082/view/Stage/job/STAGE%20-%20Deploy%20API/build
            java.lang.reflect.InvocationTargetException
            	at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            	at java.lang.reflect.Method.invoke(Method.java:601)
            	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:573)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
            	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:573)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
            	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:573)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487)
            	at org.kohsuke.stapler.Stapler.service(Stapler.java:164)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
            	at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
            	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
            	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	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:124)
            	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:174)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64)
            	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:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
            	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
            	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
            	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
            	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            	at java.lang.Thread.run(Thread.java:722)
            Caused by: java.lang.Error: This page expects a form submission
            	at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:754)
            	at hudson.model.ParametersDefinitionProperty._doBuild(ParametersDefinitionProperty.java:121)
            	at hudson.model.AbstractProject.doBuild(AbstractProject.java:1767)
            	... 69 more
            
            Mar 07, 2013 2:43:42 AM org.kohsuke.stapler.compression.CompressionFilter reportException
            WARNING: Untrapped servlet exception
            javax.servlet.ServletException: java.lang.Error: This page expects a form submission
            	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:615)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
            	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:573)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
            	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:573)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658)
            	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487)
            	at org.kohsuke.stapler.Stapler.service(Stapler.java:164)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
            	at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
            	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
            	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
            	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	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:124)
            	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:174)
            	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
            	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64)
            	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:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
            	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
            	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
            	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
            	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
            	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
            	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
            	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
            	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
            	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
            	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            	at java.lang.Thread.run(Thread.java:722)
            Caused by: java.lang.Error: This page expects a form submission
            	at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:754)
            	at hudson.model.ParametersDefinitionProperty._doBuild(ParametersDefinitionProperty.java:121)
            	at hudson.model.AbstractProject.doBuild(AbstractProject.java:1767)
            	at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            	at java.lang.reflect.Method.invoke(Method.java:601)
            	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:573)
            	... 60 more
            
            Show
            dcheckoway Dan Checkoway added a comment - Heads-up...while this fix is much appreciated and does fix the hover-over "Build Now" in general, it has borked something else. You can no longer use the hover-over "Build Now" option on parameterized builds. It works great on non-parameterized builds, but with parameterized builds you just get a "Done." tooltippy floater and nothing happens. And this gets logged: SEVERE: Error while serving http://localhost:8082/view/Stage/job/STAGE%20-%20Deploy%20API/build java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) 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:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) 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:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.service(Stapler.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 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:124) 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:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) 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:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.Error: This page expects a form submission at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:754) at hudson.model.ParametersDefinitionProperty._doBuild(ParametersDefinitionProperty.java:121) at hudson.model.AbstractProject.doBuild(AbstractProject.java:1767) ... 69 more Mar 07, 2013 2:43:42 AM org.kohsuke.stapler.compression.CompressionFilter reportException WARNING: Untrapped servlet exception javax.servlet.ServletException: java.lang.Error: This page expects a form submission at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:615) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) 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:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) 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:573) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:658) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:487) at org.kohsuke.stapler.Stapler.service(Stapler.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:248) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) 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:124) 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:174) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:64) 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:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:194) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366) at winstone.RequestDispatcher.forward(RequestDispatcher.java:331) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.Error: This page expects a form submission at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:754) at hudson.model.ParametersDefinitionProperty._doBuild(ParametersDefinitionProperty.java:121) at hudson.model.AbstractProject.doBuild(AbstractProject.java:1767) at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) 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:573) ... 60 more
            Hide
            jglick Jesse Glick added a comment -

            @dcheckoway: any related bugs should be filed separately.

            Show
            jglick Jesse Glick added a comment - @dcheckoway: any related bugs should be filed separately.
            Hide
            dcheckoway Dan Checkoway added a comment -

            @Jesse Glick, I did. https://issues.jenkins-ci.org/browse/JENKINS-17110 Just noted it here since I'm pretty sure the bug was introduced with JENKINS-16844's fix.

            Show
            dcheckoway Dan Checkoway added a comment - @Jesse Glick, I did. https://issues.jenkins-ci.org/browse/JENKINS-17110 Just noted it here since I'm pretty sure the bug was introduced with JENKINS-16844 's fix.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                salsa Sami Salonen
              • Votes:
                2 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: