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

exceptions when submitting form in 1.333 with Winstone

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • core
    • None
    • Platform: All, OS: All

      I get the following exceptions both in IE and chrome when submitting a configuration form using 1.333, using 1.330 this works fine.

      [Winstone 2009/11/09 23:22:02] - Content-length said 8154, actual length was 1460
      [webapp 2009/11/09 23:22:02] - Error while serving http://[hostname deleted]null
      java.lang.reflect.InvocationTargetException
      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:185)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:493)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:493)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:118)
      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.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 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)
      Caused by: java.lang.Error: This page expects a form submission
      at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:686)
      at hudson.model.Job.doConfigSubmit(Job.java:946)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:519)
      ... 50 more

      [Winstone 2009/11/09 23:22:02] - Untrapped Error in Servlet
      javax.servlet.ServletException: java.lang.Error: This page expects a form submission
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:505)
      at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:180)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:493)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:409)
      at org.kohsuke.stapler.Stapler.service(Stapler.java:118)
      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.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)
      Caused by: java.lang.Error: This page expects a form submission
      at org.kohsuke.stapler.RequestImpl.getSubmittedForm(RequestImpl.java:686)
      at hudson.model.Job.doConfigSubmit(Job.java:946)
      at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:519)
      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:185)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:101)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:54)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:74)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:493)
      ... 40 more

      [Winstone 2009/11/09 23:22:02] - Error within request handler thread

      winstone.WinstoneException: Error URI Line: t_artifacts=on&.artifacts=&.targetPlatformName=&deploy.war=&stapler-
      class=hudson.plugins.deploy.Tomcat6xAdapter&deploy.userName=&deploy.password=&deploy.url=&stapler-
      class=hudson.plugins.deploy.Tomcat5xAdapter&deploy.userName=&deploy.password=&deploy.url=&stapler-
      class=hudson.plugins.deploy.Tomcat4xAdapter&deploy.userName=&deploy.password=&deploy.url=&stapler-
      class=hudson.plugins.deploy.JBoss5xAdapter&deploy.userName=&deploy.password=&deploy.url=&stapler-
      class=hudson.plugins.deploy.JBoss4xAdapter&deploy.userName=&deploy.password=&deploy.url=&stapler-
      class=hudson.plugins.deploy.JBoss3xAdapter&deploy.userName=&deploy.password=&deploy.url=&pattern=&healthy=&unHealthy=&threshold=&newThre
      shold=&failureThreshold=&newFailureThreshold=&checkstyle.thresholdLimit=low&_.defaultEncoding=&hudson-plugins-jira-
      JiraIssueUpdater=on&hudson-plugins-warnings-
      WarningsPublisher=on&canScanConsole=on&pattern=&includePattern=&excludePattern=&healthy=&unHealthy=&threshold=&newThreshold=&failureThre
      shold=&newFailureThreshold=&warnings.thresholdLimit=low&_.defaultEncoding=&hudson-plugins-tasks-
      TasksPublisher=on&pattern=&excludePattern=&high=FIXME%2C+HACK&normal=TODO&low=@deprecated&healthy=&unHealthy=&threshold=&newThreshold=&f
      ailureThreshold=&newFailureThreshold=&tasks.thresholdLimit=low&_.defaultEncoding=&hudson-plugins-emailext-
      ExtendedEmailPublisher=on&recipientlist_recipients=kooper@ncsa.uiuc.edu%2C+pbajcsy@ncsa.uiuc.edu&project_default_subject=%24DEFAULT_SUBJ
      ECT&project_default_content=%24DEFAULT_CONTENT&mailer.Failure.configured=true&mailer.Failure.sendToRecipientList=on&mailer.Failure.sendT
      oDevelopers=on&mailer.Failure.includeCulprits=on&mailer.Failure.recipientList=&mailer.Failure.subject=%24PROJECT_DEFAULT_SUBJECT&mailer.
      Failure.body=%24PROJECT_DEFAULT_CONTENT&mailer.Success.configured=true&mailer.Success.sendToRecipientList=on&mailer.Success.sendToDevelo
      pers=on&mailer.Success.recipientList=&mailer.Success.subject=%24PROJECT_DEFAULT_SUBJECT&mailer.Success.body=%24PROJECT_DEFAULT_CONTENT&m
      ailer.Unstable.configured=false&mailer.Unstable.sendToRecipientList=on&mailer.Unstable.sendToDevelopers=on&mailer.Unstable.recipientList
      =&mailer.Unstable.subject=%24PROJECT_DEFAULT_SUBJECT&mailer.Unstable.body=%24PROJECT_DEFAULT_CONTENT&mailer.Still-
      Failing.configured=false&mailer.Still-Failing.sendToDevelopers=on&mailer.Still-Failing.recipientList=&mailer.Still-
      Failing.subject=%24PROJECT_DEFAULT_SUBJECT&mailer.Still-
      Failing.body=%24PROJECT_DEFAULT_CONTENT&mailer.Fixed.configured=false&mailer.Fixed.sendToRecipientList=on&mailer.Fixed.sendToDevelopers=
      on&mailer.Fixed.recipientList=&mailer.Fixed.subject=%24PROJECT_DEFAULT_SUBJECT&mailer.Fixed.body=%24PROJECT_DEFAULT_CONTENT&mailer.Still
      Unstable.configured=false&mailer.Still-Unstable.sendToDevelopers=on&mailer.Still-Unstable.recipientList=&mailer.Still
      Unstable.subject=%24PROJECT_DEFAULT_SUBJECT&mailer.Still-
      Unstable.body=%24PROJECT_DEFAULT_CONTENT&mailer_recipients=&mailer_notifyEveryUnstableBuild=on&json=%7B%22name%22%3A+%22Im2Learn%22%2C+%
      22description%22%3A+%22%22%2C+%22logrotate%22%3A+%7B%22logrotate_days%22%3A+%22%22%2C+%22logrotate_nums%22%3A+%2210%22%7D%2C+%22jobPrope
      rty0%22%3A+%7B%7D%2C+%22jobProperty1%22%3A+%7B%7D%2C+%22jdk%22%3A+%22%22%2C+%22scm%22%3A+%7B%22value%22%3A+%221%22%2C+%22cvsRoot%22%3A+%
      22%2Fhome%2Fcvs%22%2C+%22allModules%22%3A+%22im2learn%22%2C+%22branch%22%3A+%22%22%2C+%22isTag%22%3A+false%2C+%22cvsRsh%22%3A+%22%22%2C+
      %22legacy%22%3A+false%2C+%22canUseUpdate%22%3A+true%2C+%22%22%3A+%22auto%22%2C+%22excludedRegions%22%3A+%22%22%7D%2C+%22hudson-triggers-
      SCMTrigger%22%3A+%7B%22scmpoll_spec%22%3A+%22%23+every+15+minutes%5Cr%5Cn*%2F15+%5Cr%5Cn%22%7D%2C%22builder%22%3A+%7B%22antName%
      22%3A+%22ANT+1.7%22%2C+%22targets%22%3A+%22realclean+installer+cyberintegrator.jar+copyisda%22%2C+%22buildFile%22%3A+%22%22%2C+%22proper
      ties%22%3A+%22%22%2C+%22antOpts%22%3A+%22%22%2C+%22stapler-
      class%22%3A+%22hudson.tasks.Ant%22%2C+%22kind%22%3A+%22hudson.tasks.Ant%24DescriptorImpl%22%7D%2C+%22hudson-tasks-
      ArtifactArchiver%22%3A+%7B%22artifacts%22%3A+%22build%2FIm2Learn_*%2Cbuild%2FIm2Learn.jar%2Cbui
      at winstone.HttpListener.parseURILine(HttpListener.java:318)
      at winstone.HttpListener.parseURI(HttpListener.java:246)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:87)
      at java.lang.Thread.run(Thread.java:619)

            kohsuke Kohsuke Kawaguchi
            kooper kooper
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: