Community maintenance is complete. Thank you for your patience!

Software Development Kit (SDK) and API Discussions

Malformed XML exception

tekaravind

ONTAP version is 7.3.1,
SDK- Java-manage-ontap-sdk-3.0

 

Below is the exception on invoking "volume-list-info" command:-

netapp.manage.NaProtocolException: Malformed XML
at netapp.manage.NaServer.invokeElem(NaServer.java:549)
Caused by: org.xml.sax.SAXParseException: Expected "</mirror-status>" to terminate element starting on line 3.
at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3376)

 

Please suggest if there is any workaround for this issue.

 

Thanks

2 REPLIES 2

kaushikc

Hi,

even I am getting similar kinna issue ..

2014-05-16 06:03:37,674 (pool-1-thread-1) INFO  [ControllerUtil] - initializeFiler: NtapFiler[id=1873795136-0, name=netapp11, connectIpAddress=130.20.248.39] Controller supports the VAAI primitatives

2014-05-16 06:03:38,143 (pool-1-thread-1) INFO  [ControllerUtil] - initializeFiler: NtapFiler[id=1873795136-0, name=netapp11, connectIpAddress=130.20.248.39] fcp is licensed and enabled.

2014-05-16 06:03:38,362 (pool-1-thread-1) INFO  [ControllerUtil] - initializeFiler: NtapFiler[id=1873795136-0, name=netapp11, connectIpAddress=130.20.248.39] nfs is licensed and enabled.

2014-05-16 06:03:46,159 (pool-1-thread-1) ERROR [ZAPI_LOGGER] - Sent 12574 (and received error) to 130.20.248.39<nfs-exportfs-list-rules-2/>

2014-05-16 06:03:46,159 (pool-1-thread-1) ERROR [ZAPI_LOGGER] - NaException netapp.manage.NaProtocolException: Malformed XML

2014-05-16 06:03:46,159 (pool-1-thread-1) ERROR [ZAPI_ERROR_LOGGER] - Sent 12574 (and received error) to 130.20.248.39<nfs-exportfs-list-rules-2/>

2014-05-16 06:03:46,159 (pool-1-thread-1) ERROR [ZAPI_ERROR_LOGGER] - NaException netapp.manage.NaProtocolException: Malformed XML

2014-05-16 06:03:46,159 (pool-1-thread-1) INFO  [ZAPIInvoker] - invokeZAPI(1): failed NtapFiler[id=1873795136-0, name=netapp11, connectIpAddress=130.20.248.39] protocol exception : Malformed XML (called from com.netapp.offtap.ControllerUtil.populateExportSecurity(...) on line 8450)

2014-05-16 06:03:46,159 (pool-1-thread-1) ERROR [ControllerUtil] - populateExports: NtapFiler[id=1873795136-0, name=netapp11, connectIpAddress=130.20.248.39] Unable to load exports.

rkiran

Hi Aravind,

Not sure if SAX XML parser is seeing additional < or > characters in volume-list-info response data. Could you please take the raw xml output of

volume-list-info command using apitest utility with -X option to check whether XML respose contains any additional < or > characters.

Thanks.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public