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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              asidorenko_nexonia Aleksandr Sidorenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: