Deserialisation issue if agent installer doesn't match the server

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 9.2.20, 9.6.8, 10.0.3
    • Affects Version/s: 9.2.18, 9.6.6, 10.0.2
    • Component/s: Agents
    • None
    • 1
    • Severity 2 - Major

      Issue Summary

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Using the latest point release of Bamboo server, try to install agent using agent installer that 1 or more patch versions old

      Expected Results

      Agent installs correctly and updates itself.

      Actual Results

      The below exception is thrown in the atlassian-bamboo.log file:

      java.lang.NullPointerException: Cannot invoke "com.atlassian.bamboo.v2.build.agent.capability.CapabilitiesByKeys.reset()" because "this.capabilitiesByKeys" is null
      	at com.atlassian.bamboo.v2.build.agent.capability.CapabilitySetImpl.setCapabilities(CapabilitySetImpl.java:132) ~[atlassian-bamboo-core-9.6.4.jar:?]
      	at jdk.internal.reflect.GeneratedMethodAccessor325.invoke(Unknown Source) ~[?:?]
      	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]

      Workaround

      Use agent installer delivered by your current Bamboo version.

              Assignee:
              Marcin Gardias
              Reporter:
              Marcin Gardias
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: