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

jenkins configSubmig error-save/apply in job report Caught unhandled exception with ID xxxx

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core
    • None

      when I want to click "save" or "apply" in a job with some changes, it will take a few seconds and tell "Caught unhandled exception with ID 9e829f24-10cf-4305-87ce-ea1346c868df".

       

      I find the jenkins.log. It show:

      2023-05-18 05:24:27.026+0000 [id=1286513]       WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID e2d169ed-d1f1-42a1-ac20-5b94d062b4e7
      Also:   java.lang.Throwable: HttpInput failure
                      at org.eclipse.jetty.server.HttpInput.failed(HttpInput.java:895)
                      at org.eclipse.jetty.server.HttpConnection$BlockingReadCallback.failed(HttpConnection.java:660)
                      at org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:140)
                      at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:407)
      java.util.concurrent.TimeoutException: Idle timeout expired: 60000/60000 ms
              at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171)
              at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113)
              at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
              at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
              at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      Caused: java.io.IOException
              at org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:1149)
              at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:333)
              at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:270)
              at org.eclipse.jetty.util.UrlEncoded.decodeUtf8To(UrlEncoded.java:485)
              at org.eclipse.jetty.util.UrlEncoded.decodeTo(UrlEncoded.java:577)
              at org.eclipse.jetty.server.Request.extractFormParameters(Request.java:582)
      Caused: org.eclipse.jetty.io.RuntimeIOException
              at org.eclipse.jetty.server.Request.extractFormParameters(Request.java:587)
              at org.eclipse.jetty.server.Request.extractContentParameters(Request.java:531)
              at org.eclipse.jetty.server.Request.getParameters(Request.java:434)
              at org.eclipse.jetty.server.Request.getParameterNames(Request.java:1093)
              at javax.servlet.ServletRequestWrapper.getParameterNames(ServletRequestWrapper.java:212)
              at hudson.security.csrf.CrumbFilter.extractCrumbFromRequest(CrumbFilter.java:167)
              at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:136)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:94)
              at jenkins.security.AcegiSecurityExceptionFilter.doFilter(AcegiSecurityExceptionFilter.java:52)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:54)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
              at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:102)
              at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:93)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:219)
              at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:213)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:97)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:110)
              at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:80)
              at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:63)
              at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:99)
              at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:111)
              at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:172)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
              at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:53)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
              at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:86)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
              at org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
              at jenkins.security.SuspiciousRequestFilter.doFilter(SuspiciousRequestFilter.java:38)
              at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
              at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)

              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
              at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
              at org.eclipse.jetty.server.Server.handle(Server.java:516)
              at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
              at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
              at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
              at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
              at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
              at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
              at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
              at java.base/java.lang.Thread.run(Thread.java:829)

       

      I find so many ways to fix it, like change the jdk from open-jdk to oracle-jdk, add parameters "–httpKeepAliveTimeout=60000" to start jenkins.

      All of them are useless.

          [JENKINS-71291] jenkins configSubmig error-save/apply in job report Caught unhandled exception with ID xxxx

          Mark Waite added a comment -

          I can't duplicate the problem as reported.

          You might check the network configuration of the computer in case it is doing something surprising with HTTP traffic to the port where you are running Jenkins. You might try running Jenkins on a different port as a test to see if the behavior is specific to a particular port.

          You might try reporting the list of installed plugins and their versions in case it is somehow specific to the installed plugins. The "How to report an issue" page includes a script that reports plugin identifiers and versions to the script console.

          Mark Waite added a comment - I can't duplicate the problem as reported. You might check the network configuration of the computer in case it is doing something surprising with HTTP traffic to the port where you are running Jenkins. You might try running Jenkins on a different port as a test to see if the behavior is specific to a particular port. You might try reporting the list of installed plugins and their versions in case it is somehow specific to the installed plugins. The "How to report an issue" page includes a script that reports plugin identifiers and versions to the script console.

          feifan added a comment - - edited

          Yes. It is so weird.

          I hava checked the port and connetction. It is normal. When I use other button in jenkins, like "build" "user list" and so on, it tells me the right page.

          I have got the plugins information:

          Jenkins: 2.332.2 OS: Linux - 5.13.0-44-generic Java: 11.0.18 - Ubuntu (OpenJDK 64-Bit Server VM) — ace-editor:1.1 ant:1.13 antisamy-markup-formatter:2.7 apache-httpcomponents-client-4-api:4.5.13-1.0 artifactory:3.12.1 authentication-tokens:1.4 bootstrap4-api:4.6.0-3 bootstrap5-api:5.1.3-6 bouncycastle-api:2.25 branch-api:2.1044.v2c007e51b_87f build-timeout:1.20 build-token-root:151.va_e52fe3215fc caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.7.4 cloudbees-folder:6.722.v8165b_a_cf25e9 command-launcher:1.6 conditional-buildstep:1.4.2 config-file-provider:2.16.4 credentials:1087.1089.v2f1b_9a_b_040e4 credentials-binding:1.27.1 description-setter:1.10 display-url-api:2.3.6 durable-task:495.v29cd95ec10f2 echarts-api:5.3.2-1 font-awesome-api:6.0.0-1 gerrit-code-review:0.4.7 gerrit-trigger:2.35.3 gerrit-verify-status-reporter:0.0.3 git:4.11.0 git-client:3.11.0 git-server:1.10 github:1.34.3 github-api:1.301-378.v9807bd746da5 github-branch-source:1598.v91207e9f9b_4a gradle:1.38 handlebars:3.0.8 htmlpublisher:1.29 ivy:1.28 jackson2-api:2.13.2.20220328-273.v11d70a_b_a_1a_52 javadoc:217.v905b_86277a_2a_ javax-activation-api:1.2.0-2 javax-mail-api:1.6.2-5 jaxb:2.3.0.1 jdk-tool:1.5 jjwt-api:0.11.2-9.c8b45b8bb173 jnr-posix-api:3.1.7-3 jquery3-api:3.6.0-2 jsch:0.1.55.2 junit:1119.va_a_5e9068da_d7 ldap:2.8 localization-support:1.1 localization-zh-cn:1.0.24 lockable-resources:2.14 mailer:414.vcc4c33714601 matrix-auth:3.1 matrix-project:771.v574584b_39e60 maven-plugin:3.20 momentjs:1.1.1 okhttp-api:4.9.3-105.vb96869f8ac3a pam-auth:1.7 parameterized-trigger:2.45 pipeline-build-step:2.17 pipeline-github-lib:36.v4c01db_ca_ed16 pipeline-graph-analysis:188.v3a01e7973f2c pipeline-input-step:447.v95e5a_6e3502a_ pipeline-milestone-step:100.v60a_03cd446e1 pipeline-model-api:2.2075.vce74e77b_ce40 pipeline-model-definition:2.2075.vce74e77b_ce40 pipeline-model-extensions:2.2075.vce74e77b_ce40 pipeline-rest-api:2.23 pipeline-stage-step:291.vf0a8a7aeeb50 pipeline-stage-tags-metadata:2.2075.vce74e77b_ce40 pipeline-stage-view:2.23 plain-credentials:1.8 plugin-util-api:2.16.0 popper-api:1.16.1-2 popper2-api:2.11.5-1 resource-disposer:0.18 role-strategy:3.2.0 run-condition:1.5 scm-api:608.vfa_f971c5a_a_e9 script-security:1158.v7c1b_73a_69a_08 snakeyaml-api:1.30.1 ssh-credentials:1.19 ssh-slaves:1.806.v2253cedd3295 sshd:3.228.v4c9f9e652c86 structs:324.va_f5d6774f3a_d timestamper:1.17 token-macro:293.v283932a_0a_b_49 trilead-api:1.57.v6e90e07157e1 variant:1.4 workflow-aggregator:2.7 workflow-api:1200.v8005c684b_a_c6 workflow-basic-steps:941.vdfe1b_a_132c64 workflow-cps:2686.v7c37e0578401 workflow-cps-global-lib:570.v21311f4951f8 workflow-durable-task-step:1128.v8c259d125340 workflow-job:1174.vdcb_d054cf74a_ workflow-multibranch:711.vdfef37cda_816 workflow-scm-step:2.13 workflow-step-api:625.vd896b_f445a_f8 workflow-support:818.v4eb_969241b_c7_

          feifan added a comment - - edited Yes. It is so weird. I hava checked the port and connetction. It is normal. When I use other button in jenkins, like "build" "user list" and so on, it tells me the right page. I have got the plugins information: Jenkins: 2.332.2 OS: Linux - 5.13.0-44-generic Java: 11.0.18 - Ubuntu (OpenJDK 64-Bit Server VM) — ace-editor:1.1 ant:1.13 antisamy-markup-formatter:2.7 apache-httpcomponents-client-4-api:4.5.13-1.0 artifactory:3.12.1 authentication-tokens:1.4 bootstrap4-api:4.6.0-3 bootstrap5-api:5.1.3-6 bouncycastle-api:2.25 branch-api:2.1044.v2c007e51b_87f build-timeout:1.20 build-token-root:151.va_e52fe3215fc caffeine-api:2.9.3-65.v6a_47d0f4d1fe checks-api:1.7.4 cloudbees-folder:6.722.v8165b_a_cf25e9 command-launcher:1.6 conditional-buildstep:1.4.2 config-file-provider:2.16.4 credentials:1087.1089.v2f1b_9a_b_040e4 credentials-binding:1.27.1 description-setter:1.10 display-url-api:2.3.6 durable-task:495.v29cd95ec10f2 echarts-api:5.3.2-1 font-awesome-api:6.0.0-1 gerrit-code-review:0.4.7 gerrit-trigger:2.35.3 gerrit-verify-status-reporter:0.0.3 git:4.11.0 git-client:3.11.0 git-server:1.10 github:1.34.3 github-api:1.301-378.v9807bd746da5 github-branch-source:1598.v91207e9f9b_4a gradle:1.38 handlebars:3.0.8 htmlpublisher:1.29 ivy:1.28 jackson2-api:2.13.2.20220328-273.v11d70a_b_a_1a_52 javadoc:217.v905b_86277a_2a_ javax-activation-api:1.2.0-2 javax-mail-api:1.6.2-5 jaxb:2.3.0.1 jdk-tool:1.5 jjwt-api:0.11.2-9.c8b45b8bb173 jnr-posix-api:3.1.7-3 jquery3-api:3.6.0-2 jsch:0.1.55.2 junit:1119.va_a_5e9068da_d7 ldap:2.8 localization-support:1.1 localization-zh-cn:1.0.24 lockable-resources:2.14 mailer:414.vcc4c33714601 matrix-auth:3.1 matrix-project:771.v574584b_39e60 maven-plugin:3.20 momentjs:1.1.1 okhttp-api:4.9.3-105.vb96869f8ac3a pam-auth:1.7 parameterized-trigger:2.45 pipeline-build-step:2.17 pipeline-github-lib:36.v4c01db_ca_ed16 pipeline-graph-analysis:188.v3a01e7973f2c pipeline-input-step:447.v95e5a_6e3502a_ pipeline-milestone-step:100.v60a_03cd446e1 pipeline-model-api:2.2075.vce74e77b_ce40 pipeline-model-definition:2.2075.vce74e77b_ce40 pipeline-model-extensions:2.2075.vce74e77b_ce40 pipeline-rest-api:2.23 pipeline-stage-step:291.vf0a8a7aeeb50 pipeline-stage-tags-metadata:2.2075.vce74e77b_ce40 pipeline-stage-view:2.23 plain-credentials:1.8 plugin-util-api:2.16.0 popper-api:1.16.1-2 popper2-api:2.11.5-1 resource-disposer:0.18 role-strategy:3.2.0 run-condition:1.5 scm-api:608.vfa_f971c5a_a_e9 script-security:1158.v7c1b_73a_69a_08 snakeyaml-api:1.30.1 ssh-credentials:1.19 ssh-slaves:1.806.v2253cedd3295 sshd:3.228.v4c9f9e652c86 structs:324.va_f5d6774f3a_d timestamper:1.17 token-macro:293.v283932a_0a_b_49 trilead-api:1.57.v6e90e07157e1 variant:1.4 workflow-aggregator:2.7 workflow-api:1200.v8005c684b_a_c6 workflow-basic-steps:941.vdfe1b_a_132c64 workflow-cps:2686.v7c37e0578401 workflow-cps-global-lib:570.v21311f4951f8 workflow-durable-task-step:1128.v8c259d125340 workflow-job:1174.vdcb_d054cf74a_ workflow-multibranch:711.vdfef37cda_816 workflow-scm-step:2.13 workflow-step-api:625.vd896b_f445a_f8 workflow-support:818.v4eb_969241b_c7_

          Mark Waite added a comment -

          Cannot duplicate the issue.

          Mark Waite added a comment - Cannot duplicate the issue.

            Unassigned Unassigned
            floatingalone feifan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: