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

exceptions when submitting form in 1.333 with Winstone

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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)

        Attachments

          Issue Links

            Activity

            Hide
            mindless Alan Harder added a comment -
                • Issue 4841 has been marked as a duplicate of this issue. ***
            Show
            mindless Alan Harder added a comment - Issue 4841 has been marked as a duplicate of this issue. ***
            Hide
            tonioska tonioska added a comment -

            Hi kohsuke,
            First of all, thanks for this brilliant application, to you and all the people behind it.

            Now, im using version 1.339 and i get the following error every time i go to Manage Hudson -> Manage Plugins, resulting in blank Updates and Available tabs :

            java.lang.IllegalStateException: Form too large218763>200000
            at org.mortbay.jetty.Request.extractParameters(Request.java:1276)
            at org.mortbay.jetty.Request.getParameterNames(Request.java:664)
            at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:59)
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
            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 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
            at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
            at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
            at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
            at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
            at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
            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:313)
            at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
            at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
            at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
            at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
            at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
            at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
            at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

            Show
            tonioska tonioska added a comment - Hi kohsuke, First of all, thanks for this brilliant application, to you and all the people behind it. Now, im using version 1.339 and i get the following error every time i go to Manage Hudson -> Manage Plugins, resulting in blank Updates and Available tabs : java.lang.IllegalStateException: Form too large218763>200000 at org.mortbay.jetty.Request.extractParameters(Request.java:1276) at org.mortbay.jetty.Request.getParameterNames(Request.java:664) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:59) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) 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 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) 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:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
            Hide
            mindless Alan Harder added a comment -

            tonioska, how do you run Hudson? The problem should be resolved for "java -jar hudson.war" but if you run in your own jetty container then maybe your jetty configuration needs to be updated.

            Show
            mindless Alan Harder added a comment - tonioska, how do you run Hudson? The problem should be resolved for "java -jar hudson.war" but if you run in your own jetty container then maybe your jetty configuration needs to be updated.
            Hide
            mindless Alan Harder added a comment -

            tonioska, I am reclosing this issue because your case is not related.
            There were some changes related to this Jetty limitation, though I don't see that any issue was filed. Here are the changes:
            https://hudson.dev.java.net/source/browse/hudson?view=rev&rev=24378
            https://hudson.dev.java.net/source/browse/hudson?view=rev&rev=24390
            https://hudson.dev.java.net/source/browse/hudson?view=rev&rev=24469

            Hopefully you can find a jetty configuration to do the same as the above changes. If so, please put it on our wiki:
            http://wiki.jenkins-ci.org/display/JENKINS/Jetty
            Thanks!

            Show
            mindless Alan Harder added a comment - tonioska, I am reclosing this issue because your case is not related. There were some changes related to this Jetty limitation, though I don't see that any issue was filed. Here are the changes: https://hudson.dev.java.net/source/browse/hudson?view=rev&rev=24378 https://hudson.dev.java.net/source/browse/hudson?view=rev&rev=24390 https://hudson.dev.java.net/source/browse/hudson?view=rev&rev=24469 Hopefully you can find a jetty configuration to do the same as the above changes. If so, please put it on our wiki: http://wiki.jenkins-ci.org/display/JENKINS/Jetty Thanks!
            Hide
            vbeffa Vlad Beffa added a comment -

            My problem is more closely related to https://issues.jenkins-ci.org/browse/JENKINS-4833 but that is marked as a duplicate of this bug.

            I just installed Jenkins 1.502 on RedHat CentOS 6.3. Because the server already has Apache on it I set JENKINS_PORT="8081" and JENKINS_AJP_PORT="-1" to avoid port conflicts. Jenkins starts up OK. When I go to Manage Plugins, though, the list is empty. In the log file I see the same exception described above.

            I tried to update the site on the Advanced tab using the default URL http://updates.jenkins-ci.org/update-center.json but that didn't help.

            WARNING: Untrapped servlet exception
            javax.servlet.ServletException: net.sf.json.JSONException: Unterminated string at character 228525 of {"connectionCheckUrl": "http://www.google.com/", "core"
            ...
            8-22T16:03:14.00Z", "requiredCore": "1.466", "scm": "github.com", "sha1": "uWryTtC4mZPwLfmZ8JjHHT1tZDo=", "title": "Groovy Postbuild Plugin", "url": "http://updates.jenkins-ci.org/download/plu
            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$4.doDispatch(MetaClass.java:203)
            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:1146)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
            at java.lang.Thread.run(Thread.java:679)

            Show
            vbeffa Vlad Beffa added a comment - My problem is more closely related to https://issues.jenkins-ci.org/browse/JENKINS-4833 but that is marked as a duplicate of this bug. I just installed Jenkins 1.502 on RedHat CentOS 6.3. Because the server already has Apache on it I set JENKINS_PORT="8081" and JENKINS_AJP_PORT="-1" to avoid port conflicts. Jenkins starts up OK. When I go to Manage Plugins, though, the list is empty. In the log file I see the same exception described above. I tried to update the site on the Advanced tab using the default URL http://updates.jenkins-ci.org/update-center.json but that didn't help. WARNING: Untrapped servlet exception javax.servlet.ServletException: net.sf.json.JSONException: Unterminated string at character 228525 of {"connectionCheckUrl": "http://www.google.com/", "core" ... 8-22T16:03:14.00Z", "requiredCore": "1.466", "scm": "github.com", "sha1": "uWryTtC4mZPwLfmZ8JjHHT1tZDo=", "title": "Groovy Postbuild Plugin", "url": "http://updates.jenkins-ci.org/download/plu 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$4.doDispatch(MetaClass.java:203) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)

              People

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

                Dates

                Created:
                Updated:
                Resolved: