SCV backup fails with java.lang.NullPointerException after SCV upgrade
Applies to
Issue
- SCV backup that was successful before upgrade fails with error:
Storage discovery failed, received error during operation: java.lang.NullPointerException. Please refer to operation logs for more details.
vmcontrol_<JobID>.log
reports error:
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:<JOB_ID>] Starting Discovering Datastores
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : SmObject is Datastore:datastore-<MoRef_ID> Name:<DATASTORE_NAME>
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : SmObject is SmVMWareNASDataStore
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:<JOB_ID>] Retrieving Datastore by moref: Datastore:datastore-<MoRef_ID>
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.d.StorageDiscoveryManager : [JobId:<JOB_ID>] Did not find the Datastore by Moref: Datastore:datastore-<MoRef_ID>, returning null
DEBUG <HOSTNAME> --- [qtp474675244-16] c.n.a.m.DatastoreStorageDetailsCache : JobId + <JOB_ID> count reduced to 0, removing from cache
ERROR <HOSTNAME> --- [qtp474675244-16] c.n.a.s.p.DiscoverResourcesManager : [JobId:<JOB_ID>] Storage discovery failed, received error during operation: java.lang.NullPointerException. Please refer to operation logs for more details.