java.lang.UnsupportedOperationException

Jenkins JIRA | Gabriel Lopez | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Teamconcert fails to check out code when the builds are requested from RTC. This is due to changes in Jenkins 1.655, specifically in JENKINS-33467 and [this commit|https://github.com/jenkinsci/jenkins/commit/4adee7597aad7a338db8d3eb320575ae618a8c81]. There, it is mentioned that some plugins break due to the new changes, and need to be changed. Teamconcert suffers the same issue, it assumes that CauseAction.getCauses is not inmutable in [this line|https://github.com/jenkinsci/teamconcert-plugin/blob/master/com.ibm.team.build.hjplugin/src/main/java/com/ibm/team/build/internal/hjplugin/RTCScm.java#L1158]. [See fix|https://github.com/Diabol/delivery-pipeline-plugin/commit/541cca5f10d2c3419a10514f61aa9d238a01d6e4] from another plugin. Please fix it ASAP, as we can't update jenkins. Full stacktrace: RTC : checkout... RTC : Build initiated by request from RTC FATAL: RTC : checkout failure: null java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1158) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) ERROR: RTC : checkout failure: null

    Jenkins JIRA | 12 months ago | Gabriel Lopez
    java.lang.UnsupportedOperationException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Teamconcert fails to check out code when the builds are requested from RTC. This is due to changes in Jenkins 1.655, specifically in JENKINS-33467 and [this commit|https://github.com/jenkinsci/jenkins/commit/4adee7597aad7a338db8d3eb320575ae618a8c81]. There, it is mentioned that some plugins break due to the new changes, and need to be changed. Teamconcert suffers the same issue, it assumes that CauseAction.getCauses is not inmutable in [this line|https://github.com/jenkinsci/teamconcert-plugin/blob/master/com.ibm.team.build.hjplugin/src/main/java/com/ibm/team/build/internal/hjplugin/RTCScm.java#L1158]. [See fix|https://github.com/Diabol/delivery-pipeline-plugin/commit/541cca5f10d2c3419a10514f61aa9d238a01d6e4] from another plugin. Please fix it ASAP, as we can't update jenkins. Full stacktrace: RTC : checkout... RTC : Build initiated by request from RTC FATAL: RTC : checkout failure: null java.lang.UnsupportedOperationException at java.util.Collections$UnmodifiableCollection.add(Collections.java:1075) at com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1158) at hudson.scm.SCM.checkout(SCM.java:485) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) ERROR: RTC : checkout failure: null

    Jenkins JIRA | 12 months ago | Gabriel Lopez
    java.lang.UnsupportedOperationException
  4. 0

    error starting IDE caused by change to model loader

    GitHub | 3 years ago | gavinking
    java.lang.UnsupportedOperationException

  1. tvrmsmith 2 times, last 2 months ago
  2. filpgame 3 times, last 2 months ago
  3. Larten 1 times, last 1 year ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedOperationException

    No message provided

    at java.util.Collections$UnmodifiableCollection.add()
  2. Java RT
    Collections$UnmodifiableCollection.add
    1. java.util.Collections$UnmodifiableCollection.add(Collections.java:1075)
    1 frame
  3. com.ibm.team
    RTCScm.checkout
    1. com.ibm.team.build.internal.hjplugin.RTCScm.checkout(RTCScm.java:1158)
    1 frame
  4. Hudson
    AbstractBuild$AbstractBuildExecution.defaultCheckout
    1. hudson.scm.SCM.checkout(SCM.java:485)
    2. hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
    3 frames
  5. jenkins.scm
    SCMCheckoutStrategy.checkout
    1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    1 frame
  6. Hudson
    Executor.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
    2. hudson.model.Run.execute(Run.java:1738)
    3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    4. hudson.model.ResourceController.execute(ResourceController.java:98)
    5. hudson.model.Executor.run(Executor.java:410)
    5 frames