Cluster Operation Backups to S3 fail with NullPointerException

Article ID:4402702830989
1 minute readKnowledge base

Issue

  • Cluster Operations Backup build fails for controller(s) with a NullPointerException similar to:

Uploading...
java.lang.NullPointerException
    at com.infradna.hudson.plugins.backup.store.S3Store.getClient(S3Store.java:133)
  • BEE-3409: Error when running a backup cluster operation to S3 storage

Resolution

The recommended solution is to upgrade CloudBees CI Operations Center and Controllers to version 2.289.1.2 or later.

Workaround

A workaround is to upgrade the CloudBees Backup Plugin to version 3.38.35, at least on the Controllers.

Our experience is that always the same controller is impacted by this issue. So another workaround would be to configure the Cluster Operations with a failure mode "Fail At The End" in the "Advanced Operation Options" so that backup operations of most controllers are not interrupted and succeed. Then create another Cluster Operations Backup job for the impacted controller only.