cloud-pipeline icon indicating copy to clipboard operation
cloud-pipeline copied to clipboard

NPE at creation of object storage if "Versioning Enabled" and "Backup Duration" aren't specified for both Cloud Region and created object storage

Open maryvictol opened this issue 6 months ago • 0 comments

NullPointerException is returned at creation of Object Storage if "Versioning Enabled" and "Backup Duration" aren't specified for both Cloud Region in which the object storage is created, and created storage.

To Reproduce

  1. Go to Settings >> Cloud Regions >> Select region
  2. Untick Versioning enabled checkbox if if ticked and save region settings
  3. Go to Library.
  4. Click + Create button and select Storages option
  5. Specify storage name
  6. In the Cloud region field select region from the step 1
  7. Don't set Backup duration value
  8. Click Create button

Actual result:

  • Error message Your operation has been aborted as we encountered a server problem. is appears.
  • error.log: ExceptionHandlerAdvice - This operation has been aborted: uri=/pipeline/restapi/datastorage/save;client=10.244.0.2;session=<...>;user=<...>. java.lang.NullPointerException: null

Environment:

  • Cloud Provider: AWS
  • Version 0.17.0.18166

maryvictol avatar May 12 '25 15:05 maryvictol