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

Manual configuration broken when HTTP2 and Resource Root URL are enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core
    • None
    • jenkins/jenkins:2.375.2-alpine

      After enabling HTTP2 on Jenkins, manual configuration changes using the Jenkins UI 'Configure System' menu are broken. When trying to apply or save the changes it will fail.

       

       

      The root cause of the issue seems to be the Resource Root URL '/checkUrl' call.

       

      WARNING: Error while serving https://<URL>/manage/descriptorByName/jenkins.security.ResourceDomainConfiguration/checkUrl
      java.lang.reflect.InvocationTargetException
          at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:401)
          at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)
      <...>
          at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:933)
          at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1077)
          at java.base/java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.NullPointerException
          at jenkins.security.ResourceDomainConfiguration.checkUrl(ResourceDomainConfiguration.java:139)
          at jenkins.security.ResourceDomainConfiguration.doCheckUrl(ResourceDomainConfiguration.java:89)
          at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
          at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)
          ... 131 more

       

       

       

       

            Unassigned Unassigned
            carlos_monteiro Carlos Monteiro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: