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

Stack overflow error attempting to install a plugin to Jenkins 2.249.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • tics-plugin
    • None
    • jenkins/jenkins:2.249.1 docker image

      When I try to install a plugin from a new installation of the Jenkins 2.249.1 docker image, the docker console log reports a stack overflow error and never displays the "Install" button.

      Steps I took:

      1. Run Jenkins 2.249.1 in Docker docker run --rm -i -t -p 8080:8080 jenkins/jenkins:2.249.1
      2. Create no user
      3. Install no plugins
      4. Search for 'platformlabeler' from the "Available" tab of "Manage Jenkins" >> "Manage Plugins"
      5. Click the checkbox on the 'platformlabeler' row
      6. Confirm that the console output shows the stack overflow error and no "Install" button is displayed
      2020-10-06 20:18:26.474+0000 [id=73]    WARNING h.i.i.InstallUncaughtExceptionHandler#handleException
      org.apache.commons.jelly.JellyTagException: jar:file:/var/jenkins_home/war/WEB-INF/lib/jenkins-core-2.249.1.jar!/lib/layout/isAdmin.jelly:28:21: <d:invokeBody> java.lang.StackOverflowError
              at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:745)
              at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:289)
              at org.apache.commons.jelly.tags.core.CoreTagLibrary$1.run(CoreTagLibrary.java:98)
              at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
              at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:120)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:100)
              at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
              at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      ... lots of stack trace deleted
      Caused: javax.servlet.ServletException
              at org.kohsuke.stapler.Facet$1.dispatch(Facet.java:249)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
              at org.kohsuke.stapler.Stapler.invoke(Stapler.java:898)
              at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:170)
              at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
              at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:766)
      

      Issue was not visible in update center data retrieved 18 hours ago by Jenkins 2.249.1. Became visible in my Jenkins 2.249.1 installation after I pressed "Check now" in the plugin manager.

            danielbeck Daniel Beck
            markewaite Mark Waite
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: