跳转到主内容

适用于 VMware 的 SnapCenter 插件备份失败,出现空指针异常

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

适用于

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

问题

  • 尝试在资源组中列出数据存储时出现与 Java 相关的异常:
DEBUG VSC com.netapp.aegis.discovery.StorageDiscoveryManager [JobId:<JOB>] Retrieving Datastore by moref: Datastore:datastore-<NUM> DEBUG VSC com.netapp.aegis.discovery.StorageDiscoveryManager [JobId:<JOB>] Did not find the Datastore by Moref: Datastore:datastore-<NUM>, returning null
  • SCV 无法通过 MOB 引用查询找到它:
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.
  • 在 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.)

  • 有关更多详细信息,请参见操作日志。
java.lang.NullPointerException at com.netapp.aegis.discovery.StorageDiscoveryManager.setStorageResourcesonSmObject(StorageDiscoveryManager.java:454) at com.netapp.aegis.discovery.StorageDiscoveryManager.discoverVirtualEntities(StorageDiscoveryManager.java:283) at com.netapp.aegis.sms.provider.DiscoverResourcesManager.discoverResources(DiscoverResourcesManager.java:220) at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source) 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:205) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) ... at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:698) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:804) at java.lang.Thread.run(Thread.java:748) 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> 

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.