Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

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

Views:
184
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx
Last Updated:

Applies to

  • SnapCenter Plug-in for VMware 4.1

Issue

Java related exception when attempting to list the Datastore in the Resource group:

2018-11-28T15:45:16.0000792+02:00 DEBUG VSC
com.netapp.aegis.discovery.StorageDiscoveryManager [JobId:93052] Retrieving Datastore by moref:
Datastore:datastore-239
2018-11-28T15:45:16.0000792+02:00 DEBUG VSC
com.netapp.aegis.discovery.StorageDiscoveryManager [JobId:93052] Did not find the Datastore by
Moref: Datastore:datastore-239, returning null

SnapCenter for Vmware plug-in could not find it via a MOB reference query:

2018-11-28T15:45:16.0000792+02:00 DEBUG VSC
com.netapp.aegis.model.DatastoreStorageDetailsCache JobId + 93052 count reduced to 0, removing from cache
2018-11-28T15:45:16.0000792+02:00 ERROR VSC
com.netapp.aegis.sms.provider.DiscoverResourcesManager [JobId:93052] Storage discovery failed,
received error during operation: java.lang.NullPointerException.

Please refer to operation logs for more details.

java.lang.NullPointerException

at

com.netapp.aegis.discovery.StorageDiscoveryManager.setStorageResourcesonSmObject(StorageDisc
overyManager.java:455)

at

com.netapp.aegis.discovery.StorageDiscoveryManager.discoverVirtualEntities(StorageDiscoveryManag
er.java:269)

at

com.netapp.aegis.sms.provider.DiscoverResourcesManager.discoverResources(DiscoverResourcesM
anager.java:184)

at

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at

java.lang.reflect.Method.invoke(Method.java:498)

at

org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)

at

org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)

at

org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)

at

org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)

at

org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)

at

org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)

at

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)

at

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)

at

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)

at

org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)

at

javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

at

org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)

at

javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at

org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)

at

org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)

at

org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at

org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)

at

org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)

at

org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)

at

org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)

at

org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)

at

org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)

at

org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at

org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)

at

org.eclipse.jetty.server.Server.handle(Server.java:485)

at

org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:290)

at

org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)

at

org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)

at

org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:606)

at

org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:535)

at

java.lang.Thread.run(Thread.java:748)
2018-11-28T15:45:16.0000808+02:00 DEBUG VSC
com.netapp.aegis.sms.provider.DiscoverResourcesManager "/><!-- <?xml version="1.0"encoding="UTF-8" standalone="yes"?> --><SmDiscoverResourcesResponse><Result><_message>Storage discovery failed, received error during operation: java.lang.NullPointerException.

Please refer to operation logs for more details.

</_message><_errorCode>-1</_errorCode></Result><TotalCount>0</TotalCount>
<DisplayCount>0</DisplayCount></SmDiscoverResourcesResponse>
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support