Menu

#21 ArrayIndexOutOfBoundsException and No parser for byte code 117 and 120

v1.0 (example)
closed
Erik H
None
5
2019-04-15
2019-03-15
Kenneth C
No

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.

3 Attachments

Discussion

  • Erik H

    Erik H - 2019-03-18

    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

     
  • Kenneth C

    Kenneth C - 2019-03-18

    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
  • Erik H

    Erik H - 2019-03-22

    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).

     
  • Kenneth C

    Kenneth C - 2019-03-26

    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
  • Erik H

    Erik H - 2019-04-15
    • status: open --> closed
    • assigned_to: Alphonse --> Erik H
     

Log in to post a comment.