跳转到主内容

SnapCenter 插件 for VMware Backup 失败、并出现空指针异常

Views:
20
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
snapx<a>1086604.</a>
Last Updated:

适用场景

  • 适用于VMware vSphere的SnapCenter插件(SCV)
  • NetApp数据代理(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
  • 选择控制阀无法通过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.