Skip to main content
NetApp Knowledge Base

SnapCenter Plug-in for VMware backup fails with NULL pointer exception

Last Updated:

Applies to

  • SnapCenter Plug-in for VMware vSphere (SCV)
  • NetApp Data Broker (NDB)


  • Java related exception when attempting to list the Datastore in the Resource group:
DEBUG VSC com.netapp.aegis.discovery.StorageDiscoveryManager [JobId:<JOB>] Retrieving Datastore by moref: 
DEBUG VSC com.netapp.aegis.discovery.StorageDiscoveryManager [JobId:<JOB>] Did not find the Datastore by Moref:
          Datastore:datastore-<NUM>, returning null
  • SCV could not find it via a MOB reference query:
DEBUG VSC com.netapp.aegis.model.DatastoreStorageDetailsCache JobId + <JOB> count reduced to 0, removing from cache
ERROR VSC com.netapp.aegis.sms.provider.DiscoverResourcesManager [JobId:<JOB>] Storage discovery failed,
received error during operation: java.lang.NullPointerException.
  • Error message visible in VMware vCenter UI 

Run Resource Group operation failed for Resource Group AllAFFDatastores. (Error: Unable to discover resources on SCV: Storage discovery failed, received error during operation: java.lang.NullPointerException. Please refer to operation logs for more details.)

  • Please refer to operation logs for more details.
    at com.netapp.aegis.discovery.StorageDiscoveryManager.setStorageResourcesonSmObject(
    at com.netapp.aegis.discovery.StorageDiscoveryManager.discoverVirtualEntities(
    at com.netapp.aegis.sms.provider.DiscoverResourcesManager.discoverResources(
    at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(
    at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(
    at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(
    at org.springframework.web.servlet.DispatcherServlet.doService(
    at org.springframework.web.servlet.FrameworkServlet.processRequest(
    at org.springframework.web.servlet.FrameworkServlet.doPost(
    at javax.servlet.http.HttpServlet.service(
    at org.springframework.web.servlet.FrameworkServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
    at org.eclipse.jetty.util.thread.QueuedThreadPool$
DEBUG VSC com.netapp.aegis.sms.provider.DiscoverResourcesManager "/><!-- 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <_message>Storage discovery failed, received error during operation: java.lang.NullPointerException. 
        Please refer to operation logs for more details.</_message>

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.