ArrayIndexOutOfBoundsException and No parser for byte code 117 and 120
Decodes PeopleCode bytecode and submits the code to SVN or Git
Status: Beta
Brought to you by:
erikh3
Looks like there are issues handling the Directive PeopleCode. below is the log output. Seems new byte code might have been included as well which is maybe causing the ArrayIndex issue. The pcode is from a delivered record peoplecode object. I attached the .log and .pcode files that I ran with the parser set to debug = true; I am running with AlwaysDecode set to true. Also included a txt file of the byte array.
I'm running the latest version from the in SVN trunk 101.
Hi Kenneth
We'd need to have the plain-text version of this PeopleCode snippet, in order to see what the bytecode should translate to. Could you copy&paste the code from app designer please? (or run the tool with AlwaysDecode=false, so that the pcode will be extracted from the PSPCMTXT table).
Thanks.
Erik
Erik
I've attached two additional files, a txt and png,. The CNTRCT_CHIL_WK.CNTRCT_PB.FieldChange_appdesigner.txt is the text copied/pasted from application designer.
CNTRCT_CHIL_WK.CNTRCT_PB.FieldChange_appdesigner.png is a screen image of the code displayed in application designer.
Last edit: Kenneth C 2019-03-18
Kenneth,
Please rename your 'bin' folder to something else and extract the attached bin.zip file in the main folder, so that the new .class files will be used. Let me know if this solves the problem (not entirely sure because I don't have access to any PeopleSoft system anymore, and I had to improvise to test your bytecode).
Erik,
I replaced the bin with the version that you provided and ran the application. The application ran fine. The pcode file created looks as good as can be expected from the PSPCMPROG table. Also the application did not thrown ArrayOutOfBoundsException.
Last edit: Kenneth C 2019-03-26