A fix is available
Closed as program error.
Environment: z/OS WDI 3.3 CICS * AM0005*08*An error occurred while parsing the XML document. Message text from parser is: java.lang.ArrayIndexOutOfBoundsException **** File: //'SYS10124.T120544.RA000.IVA82608.TRANSO.H01' Line: 548 Func: Amm_Parser::ReadErrMsgToBuf(char *, shor EV0003*08*An attempt to Envelope or De-envelope a message failed. The syntax was xml. **** File: //'EDI.TE51MAS.CPP(EDIEVERR)' Line: 142 Func: EVException::logError() MB0099*08*Data transformation failed for the current message. See preceding messages for more details. **** File: //'EDI.TE52INT.CPP(EDIMBCNI)' Line: 589 Func: cniPropagate(int *, CciTerminal *, CciMe FF0586*00*Processing ended - RC = 0008, ERC = 0008, Type = FILE, INFILE = XWMDI001, Name = XWMDI001 **** Level 2 was unable to recreate customer's problem. Level 3 advised that this was due to the element that exceeded 12000 characters. Keywords: Hang XML AM0005 arrayindexoutofbounds exception
1. Use EDI8 to stop the edijava parser and then EDI7 to start it up. 2. Ensure that any one element does not exceed 12000 characters.
AM0005*08*An error occurred while parsing the XML document. Java.Lang.ArrayIndexOutOfBoundsException.
In CICS while parsing an input file containing a large element, an ArrayIndexOutOfBoundsException error occurs. The maximum item size was set at 12000 characters (24000 bytes of unicode data). The large element in the input file exceeded this size. The code will be changed to support elements greater than 12000 characters. The theory behind this fix is to keep the large element intact. Each such large element will begin a new TSQ record, and may span more than one TSQ record. This occurs in our Java code. The TSQ is eventually passed back to our C++ code for translation. TSQ records are read and the large element emerges intact with its original size.
This change affects CICS only. There is change to EDIJPXML.java on this PTR too. A new edijavaparser.jar file must be built and distributed on the PTF. Additional Modules/Macros EDIJPXML.java in CMVC.
Reported component name
WEBS DI ZOS
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
CPP EDIEXPSR H EDIUPAMM
Fixed component name
WEBS DI ZOS
Fixed component ID
Applicable component levels
R330 PSY UK79105
UP12/06/29 P F206
Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.