Skip to main content
NetApp Knowledge Base

SCV backup starts to fail with exception "Content is not allowed in prolog"

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

Applies to

  • SnapCenter Plug-in for VMware vSphere(SCV) 4.5
  • No configuration changes since the last successful backup

Issue

  • SCV backup starts to fail to discover resources with message:

Error: Unable to discover resources on SCV: Storage discovery failed, received error during operation: java.lang.NullPointerException.

8327afe0-83f5-485e-bb44-cc25d6e07ec0.png

  • vmcontrol_<JOB_ID>.log shows that storage discovery failed with java.lang.NullPointerException

ERROR <SCV> --- [94819250-652034] c.n.a.s.p.DiscoverResourcesManager       : [JobId:6370] 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.vsphere.VsphereInventoryService.getVirtualMachineByUuid(VsphereInventoryService.java:132)
    at com.netapp.aegis.discovery.VsphereDiscoveryManager.addVmInfo(VsphereDiscoveryManager.java:781)
    at com.netapp.aegis.backup.BackupMetadataManager.discoverMetdataInfo(BackupMetadataManager.java:725)
    at com.netapp.aegis.discovery.StorageDiscoveryManager.discoverVirtualEntities(StorageDiscoveryManager.java:260)
    at com.netapp.aegis.sms.provider.DiscoverResourcesManager.discoverResources(DiscoverResourcesManager.java:222)
    at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)

  • vmcontrol-<TIMESTAMP>.log shows that VI SDK gets exception with Content is not allowed in prolog

DEBUG <SCV> --- [94819250-652034] c.n.a.v.VcenterUtil                      : VCURL :https://<VCENTER_IP>:443/sdk
DEBUG <SCV> --- [94819250-652034] c.n.a.v.VsphereService                   : vSphereServiceURL is : https://<VCENTER_IP>:443/sdk
DEBUG <SCV> --- [94819250-652034] c.n.a.v.VsphereService                   : VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document  : Content is not allowed in prolog.
ERROR <SCV> --- [94819250-652034] c.n.a.s.p.DiscoverResourcesManager       : VI SDK invoke exception:org.dom4j.DocumentException: Error on line 1 of document  : Content is not allowed in prolog.
​​​​​​

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.