IBM Support

IT38727: "OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT" IN CLOUDAGENT.LOG ON O365 CALENDAR BACKUP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Microsoft Office 365 objects protection was introduced with
    IBM Spectrum Protect Plus 10.1.5 version.
    Backups for Calendar items in Microsoft O365 can fail with the
    following messages seen in the job log :
    
    SUMMARY,..,CTGGA2398,Starting job for policy office365_Test
                         (ID:1234). id -> <JobId>.
                         IBM Spectrum Protect Plus version
                         10.1.8-4124.
    ...
      ERROR,..,CTGGR0009,[<ProxyHostAddress] EXCHANGE CALENDARS
                         BACKUP - <UserEmail> - The task ended with
                         a failed status.
      ERROR,..,CTGGR0026,[<ProxyHostAddress] EXCHANGE CALENDARS
                         BACKUP - <UserEmail> - An unexpected error
                         occurred when processing the job
    
    More details from the CloudAgent.log found in the job log
    bundle :
    
    .. [INF] .. Feature's type: EXCHANGE CALENDARS BACKUP
    .. [INF] .. User's login: <UserEmail>
    ...
    .. [FTL] .. BackupFeatureBase -> ExecuteUserTaskAsync has
                thrown an exception
    System.NullReferenceException: Object reference not set to an
    instance of an object.
       at CloudAgent.Core.Office365.Providers.CalendarProvider.
          GetIncrementalChangesAsync(String userId, String
          parentFolderId, Dictionary`2 additionalData,
          SynchronizationToken synchronizationToken, Nullable`1
          token)+MoveNext() in C:\BuildAgent\work\cloud4Cloud\
          Release\src\CloudAgent.Core\Office365\Providers\
          CalendarProvider.cs:line 172
       at CloudAgent.Core.Office365.Providers.CalendarProvider.
          GetIncrementalChangesAsync(String userId, String
          parentFolderId, Dictionary`2 additionalData,
          SynchronizationToken synchronizationToken, Nullable`1
          token)+System.Threading.Tasks.Sources.IValueTaskSource
          <System.Boolean>.GetResult()
       at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|620_0[
          TSource](IAsyncEnumerable`1 source, CancellationToken
          cancellationToken) in d:\a\1\s\Ix.NET\Source\System.Linq.
          Async\System\Linq\Operators\ToList.cs:line 27
       at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|620_0
          [TSource](IAsyncEnumerable`1 source, CancellationToken
          cancellationToken) in d:\a\1\s\Ix.NET\Source\System.Linq.
          Async\System\Linq\Operators\ToList.cs:line 27
       at CloudAgent.Core.Office365.Features.ExchangeCalendars
          BackupFeature.SynchronizeFlatContainersStructure(Office
          TaskDetails task, IReadOnlyCollection`1 synchronized
          Containers, User sourceAccount, SynchronizationToken
          synchronizationToken)+MoveNext() in C:\BuildAgent\work\
          cloud4Cloud\Release\src\CloudAgent.Core\Office365\
          Features\ExchangeCalendarsBackupFeature.cs:line 904
       at CloudAgent.Core.Office365.Features.ExchangeCalendars
          BackupFeature.SynchronizeFlatContainersStructure(Office
          TaskDetails task, IReadOnlyCollection`1 synchronized
          Containers, User sourceAccount, SynchronizationToken
          synchronizationToken)+System.Threading.Tasks.Sources.
          IValueTaskSource<System.Boolean>.GetResult()
       at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.
          <>c.<.cctor>b__4_0(Object state)
    --- End of stack trace from previous location where exception
        was thrown ---
       at System.Linq.AsyncEnumerable.Wait[T](ValueTask`1 task) in
          d:\a\1\s\Ix.NET\Source\System.Linq.Async\System\Linq\
          Operators\ToEnumerable.cs:line 69
       at System.Linq.AsyncEnumerable.<ToEnumerable>g__Core|615_0
          [TSource](IAsyncEnumerable`1 source)+MoveNext() in d:\a\
          1\s\Ix.NET\Source\System.Linq.Async\System\Linq\Operators
          \ToEnumerable.cs:line 30
       at System.Linq.Enumerable.WhereEnumerableIterator`1.ToList()
       at CloudAgent.Core.Office365.Features.BackupFeatureBase`2.
          ExecuteUserTaskAsync(TaskDetailsForAgent task,
          IPubliccloudRestService cloudRestService, Configuration
          configuration)
       at CloudAgent.Core.Office365.Features.BackupFeatureBase`2.
          ExecuteUserTaskAsync(TaskDetailsForAgent task,
          IPubliccloudRestService cloudRestService, Configuration
          configuration) in C:\BuildAgent\work\cloud4Cloud\Release\
          src\CloudAgent.Core\Office365\Features\BackupFeatureBase.
          cs:line 186
    .. [INF] .. <TaskId> finished. Status: "FAILED", Message:
             Object reference not set to an instance of an object.,
             ErrorCodes: 9999: 1
    
    IBM Spectrum Protect Plus Versions Affected:
    IBM Spectrum Protect Plus 10.1.5 and later
    
    Additional Keywords: SPP, SPPLUS, TS006641662
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum ProtectPlus level 10.1.8                        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed IBM Spectrum Protect Plus level        *
    * 10.1.9. Note that this is subject to change at the           *
    * discretion of IBM.                                           *
    ****************************************************************
    

Problem conclusion

  • This problem has been fixed so that after encountering the issue
    with incorrect data returned from the Microsoft Graph API, the
    backup is successfully continued
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT38727

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A18

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-10-18

  • Closed date

    2021-11-17

  • Last modified date

    2021-11-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SP PLUS

  • Fixed component ID

    5737SPLUS

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNQFQ","label":"IBM Spectrum Protect Plus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A18","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
31 January 2024