IBM Support

DataStage XML Connector throws Java exception

Troubleshooting


Problem

DataStage job containing the XML Connector throws a "java.lang.ArrayIndexOutOfBoundsException" when processing higher volumes of data

Symptom

The exception usually refers SimplePositionHelper or the DataBufferHelper
Below are 2 examples which are seen in the job log when "Enable Logging" is set to Yes. "Enable Logging" is set on the stage properties before you open the assembly editor.

Example 1 SimplePositionHelper
The "java.lang.ArrayIndexOutOfBoundsException" was throwed out from java com.ibm.xml.xlxp.api.util.SimplePositionHelper package.
java.lang.ArrayIndexOutOfBoundsException
at com.ibm.xml.xlxp.api.util.SimplePositionHelper.getCurrentPosition10(SimplePositionHelper.java:147) (Java code)
at com.ibm.xml.xlxp.api.util.SimplePositionHelper.getCurrentPosition(SimplePositionHelper.java:104) (Java code)
at com.ibm.xml.xlxp.api.stax.XMLStreamReaderImpl.getLocation(XMLStreamReaderImpl.java:1400) (Java code)
at com.ibm.xml.xlxp.api.stax.XMLInputFactoryImpl$XMLStreamReaderProxy.getLocation(XMLInputFactoryImpl.java:317) (Java code)
at com.ibm.e2.core.api.daapi.xml.AbstractE2XMLStreamReader.getLocation(AbstractE2XMLStreamReader.java:127) (XML pack code)
at com.ibm.e2.core.api.daapi.xml.UnparsedXMLData.createStreamReader(UnparsedXMLData.java:149)

Example 2 DataBufferHelper
Error [XML_Parser] [] java.lang.ArrayIndexOutOfBoundsException
ByteStreamDataSource.load() 236
ParsedEntity.loadMore() 229
ParsedEntity.skippedQuote() 586
DocumentScanner.scanAttributes() 2391
DocumentScanner.scanStartElementCommon() 2299
DocumentScanner.scanStartElement() 2253
DocumentScanner.nextEvent() 1270
XMLStreamReaderImpl.next() 579
XMLInputFactoryImpl$XMLStreamReaderProxyImpl.next() 183

[{"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"11.3;9.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM InfoSphere Information Server

Software version:
11.3, 9.1

Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows

Document number:
536981

Modified date:
25 April 2025

UID

swg21965847

Manage My Notification Subscriptions