IBM Support

IT28623: VMWARE GUEST BACKUP ERROR JAVA.LANG.NULLPOINTEREXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Backup VM fails as follows as seen in the job log :
    
    SUMMARY,<timestamp>,,===== Starting job for policy <SLA name>
    (ID:1036) on <timestamp>. id <SPP job ID> =====
    ...
       WARN,<timestamp>,2,<vmname>->Several values detected for the
    options proxySelection. Please ensure that this is fixed (ex.
    tag options datastore options)
    ...
       INFO,<timestamp>,2,Using storage volume <vSnap volume name>
    on controller <vSnap host> for backup
     DETAIL,<timestamp>,2,Initializing backup of vm: <vmname> (host:
    <ESXi host>)
      ERROR,<timestamp>,2,Backup of vm <vmname> failed. Error:
    java.lang.NullPointerException
    ...serviceprovider.common.hypervisor.exception.HypervisorVMBacku
    pException
    
    in virgo log :
    
    [<timestamp>] INFO pool-4028-thread-1
    c.c.e.serviceprovider.protection.hypervisor.cbt.CbtBackupHandler
    <SPP job ID> CBT destVol: f459ffc8021aff7655b0ccbea061c226 vol:
    <vSnap volume name> group: null
    ...
    [<timestamp>] INFO asyncTaskExecutor-34
    c.s.d.x.serviceprovider.commons.association.ResourceAssociation
    <SPP job ID> Options fetched for
    /MS:1003/DC:8a7648acf6c832e3c660c5b2c3e7912a/VOL:f459ffc8021aff7
    655b0ccbea061c226 is [https://<SPP host>/api/site/2102]
    [<timestamp>] INFO asyncTaskExecutor-34
    c.s.d.x.serviceprovider.commons.association.ResourceAssociation
    <SPP job ID> Node options fetched for
    /MS:1003/DC:8a7648acf6c832e3c660c5b2c3e7912a/VM:08feb5c56ae00e96
    8eae6cf10a6b1653 is [1, false]
    [<timestamp>] WARN asyncTaskExecutor-34
    c.c.e.s.protection.hypervisor.common.HypervisorProviderUtils
    <SPP job ID> <vmname>->Several values detected for the options
    proxySelection. Please ensure that this is fixed (ex. tag
    options, datastore options)
    ...
    [<timestamp>] INFO pool-4028-thread-1
    c.c.e.serviceprovider.protection.hypervisor.cbt.CbtBackupWorker
    <SPP job ID> Initializing backup of vm: <vmname> (host: <ESXi
    host>)
    [<timestamp>] INFO pool-4028-thread-1
    c.c.e.serviceprovider.protection.hypervisor.cbt.CbtBackupWorker
    <SPP job ID> VM <vmname> storageMapping key:
    f459ffc8021aff7655b0ccbea061c226 -> <vSnap volume name>
    [<timestamp>] INFO pool-4028-thread-1
    c.c.ecx.serviceprovider.common.hypervisor.vmware.VMwareException
    <SPP job ID> VMware exception:
    com.catalogic.ecx.serviceprovider.common.hypervisor.exception.Hy
    pervisorVMBackupException: null
           at
    sun.reflect.GeneratedConstructorAccessor827.newInstance(Unknown
    Source)
           at
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega
    tingConstructorAccessorImpl.java:45)
           at
    java.lang.reflect.Constructor.newInstance(Constructor.java:423)
           at
    com.catalogic.ecx.serviceprovider.common.hypervisor.vmware.VMwar
    eException.getHypervisorException(VMwareException.java:29)
           at
    com.catalogic.ecx.serviceprovider.common.hypervisor.vmware.VMwar
    eException.getHypervisorException(VMwareException.java:18)
           at
    com.catalogic.ecx.serviceprovider.common.hypervisor.vmware.VMwar
    eVirtualMachine.backup(VMwareVirtualMachine.java:1185)
           at
    com.catalogic.ecx.serviceprovider.protection.hypervisor.cbt.CbtB
    ackupWorker.runBackup(CbtBackupWorker.java:355)
           at
    com.catalogic.ecx.serviceprovider.protection.hypervisor.cbt.CbtB
    ackupWorker.call(CbtBackupWorker.java:533)
           at
    com.catalogic.ecx.serviceprovider.protection.hypervisor.cbt.CbtB
    ackupWorker.call(CbtBackupWorker.java:94)
           at
    java.util.concurrent.FutureTask.run(FutureTask.java:266)
           at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1149)
           at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
    Caused by: java.lang.NullPointerException: null
           at
    com.catalogic.ecx.serviceprovider.common.hypervisor.vmware.Vsphe
    reBackupVmUpdaterImpl.toVsphereResult(VsphereBackupVmUpdaterImpl
    .java:303)
           at
    com.catalogic.ecx.serviceprovider.common.hypervisor.vmware.VMwar
    eVirtualMachine.backup(VMwareVirtualMachine.java:1157)
           ... 7 common frames omitted
    [<timestamp>] ERROR pool-4028-thread-1
    c.c.e.serviceprovider.protection.hypervisor.cbt.CbtBackupWorker
    <SPP job ID> Backup of vm <vmname> failed. Error:
    java.lang.NullPointerException
    ...serviceprovider.common.hypervisor.exception.HypervisorVMBacku
    pException
    
    The root cause was found to be that two VMware guests were using
    the same config.uuid value.
    The SMBIOS UUID available inside the VM is also used by the
    VMware hypervisor and management tools as
    VirtualMachine.config.uuid
    This can happen when a VM is moved or copied and the
    administrator chooses to keep the same UUID as the original VM.
    More information on the usage of the VirtualMachine.config.uuid
    is found here :
    https://kb.vmware.com/s/article/1541
    
    IBM Spectrum Protect Plus Versions Affected:
    IBM Spectrum Protect Plus 10.1.x
    
    
    Initial Impact: Medium
    
    Additional Keywords: SPP, SPPLUS, TS001885360, SLA backup VMware
    

Local fix

  • Update the duplicate config UUID of the affected guest(s) on
    VMware side and run the hypervisor inventory job to update the
    affected guests records with the new UUID
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect Plus level 10.1.3                       *
    ****************************************************************
    * 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.4. Note that this is subject to change at the           *
    * discretion of IBM.                                           *
    ****************************************************************
    

Problem conclusion

  • The root cause of this issue was two guest VMs with identical
    config.UUID values which caused a null pointer exception during
    backup job run. The code was updated to handle this error and
    correctly report it in the job log.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT28623

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A13

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-04-01

  • Closed date

    2019-06-19

  • Last modified date

    2019-06-19

  • 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":"A13","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
30 January 2024