1.641 : Stack overflow error when saving a job with a bitbucketweb repository browser

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When saving a job that has a specified value for the repository browser in the "Source Code Management" section (e.g., bitbucketweb and a URL instead of "(auto)"), the processes throws a stack overflow exception:

      ??Caused by: java.lang.StackOverflowError
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400)
      at hudson.plugins.git.browser.BitbucketWeb$BitbucketWebDescriptor.newInstance(BitbucketWeb.java:81)
      at hudson.plugins.git.browser.BitbucketWeb$BitbucketWebDescriptor.newInstance(BitbucketWeb.java:73)
      at hudson.model.Descriptor$NewInstanceBindInterceptor.onConvert(Descriptor.java:663)
      at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:543)
      (...repeated over and over...)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400)
      at hudson.plugins.git.browser.BitbucketWeb$BitbucketWebDescriptor.newInstance(BitbucketWeb.java:81)
      at hudson.plugins.git.browser.BitbucketWeb$BitbucketWebDescriptor.newInstance(BitbucketWeb.java:73)
      at hudson.model.Descriptor$NewInstanceBindInterceptor.onConvert(Descriptor.java:663)
      at org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:543)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:404)
      at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:400)
      at hudson.plugins.git.browser.BitbucketWeb$BitbucketWebDescriptor.newInstance(BitbucketWeb.java:81)
      at hudson.plugins.git.browser.BitbucketWeb$BitbucketWebDescriptor.newInstance(BitbucketWeb.java:73)
      ??

      I've had to revert back to 1.636. Can't revert to more recent versions because of JENKINS-31458.

            Assignee:
            Unassigned
            Reporter:
            Aleksandr Sidorenko
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: