Table of Contents

[V7] ISSUE: java.lang.NullPointerException error is returned when calling GetBackupJobReportSummary.do API

Article ID: 5327
Reviewed: 2018-04-13

Product Version:
AhsayCBS: Pre-7.15.4.10
OS: All platforms

ATTENTION 1st January, 2022: v7 officially End-of-Life [details]

Problem Description

java.lang.NullPointerException error is returned when calling the GetBackupJobReportSummary.do API for a missed backup job.

For example:

API call: GetBackupJobReportSummary.do

JSON Post:
{
"SysUser":"system",
"SysPwd":"system",
"LoginName":"username",
"BackupSetID":"backupset_id",
"BackupJobID":"YYYY-MM-DD-hh-mm-ss"
}

JSON Return:

{
"Status":"Error",
"Message":"java.lang.NullPointerException",
"ExptType":"java.lang.NullPointerException"
}

Note: This issue will only occur when retrieving backup job report summary for scheduled backup job that are missed.

Cause

This is a known issue with AhsayCBS version pre-7.15.4.10.

Resolution

To resolve the issue, patch the AhsayCBS application to version 7.15.4.10 or above. The instructions can be found by Clicking Here.

Keywords

GetBackupJobReportSummary.do, external, api, GetBackupJobReportSummary