IBM Support

PI60305: A JSON PARSE ERROR OBSERVED ON REST SERVICE CALL WHERE THE PARAMPASSED INCLUDES SPECIAL CHARACTERS LIKE THE GERMAN UMLAUT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Test scenario:
    a) A RUI project has an input field and a submit button to call
    the REST service.
    b) Enter a value with a special character ie ⠜abcä⠝ into
    the input field and then clicking the submit button the service
    call will fail with the following error:
    EGL1546E The request could not be converted to a service call.
    The received request was
    '{"bindingName":"IStoreData","method":"StoreRecord","params":
    [{"customerNumber":1,"customerName":"abcä"}'. EGL0001I The
    error occurred in EGL REST Service servlet. 500 FAILED
    com.ibm.javart.json.ParseException:Encountered ""
    at line 1, column 104. Was expecting one of: "," ... "]" ...
    EGL1546E The request could not be converted to a service call.
    The received request was
    '{"bindingName":"IStoreData","method":"StoreRecord","params":
    [{"customerNumber":1,"customerName":"abcä"}'. EGL0001I The
    error occurred in EGL REST Service servlet.
    
    With the additional exception in the console output ie:
    [01/04/16 13:38:59:813 CEST] 00000097 SystemOut     O (13:38:59>
    REQUEST:
    [01/04/16 13:38:59:813 CEST] 00000097 SystemOut     O (13:38:59>
    /com.ibm.egltest95.data/restservices/StoreData
    [01/04/16 13:38:59:813 CEST] 00000097 SystemOut     O (13:38:59>
    {"bindingName":"IStoreData","method":"StoreRecord","params":
    [{"customerNumber":1,"customerName":"abcä"}
    [01/04/16 13:38:59:813 CEST] 00000097 SystemOut     O (13:38:59>
    POST
    [01/04/16 13:38:59:814 CEST] 00000097 SystemOut     O (13:38:59>
    EGL1546E The request could not be converted to a service call.
    The received request was
    '{"bindingName":"IStoreData","method":"StoreRecord","params":[{"
    customerNumber":1,"customerName":"abcä"}'.
    [01/04/16 13:38:59:814 CEST] 00000097 SystemOut     O (13:38:59>
    EGL0001I The error occurred in EGL REST Service servlet.
    [01/04/16 13:38:59:814 CEST] 00000097 SystemOut     O (13:38:59>
    EGL1546E The request could not be converted to a service call.
    The received request
    was'{"bindingName":"IStoreData","method":"StoreRecord","params":
    [{"customerNumber":1,"customerName":"abcä"}'.
    EGL0001I The error occurred in EGL REST Service servlet.
    com.ibm.javart.json.ParseException: Encountered "<EOF>" at line
    1, column 104.Was expecting one of:
        "," ...
        "]" ...
        at
    com.ibm.javart.json.JsonParser.generateParseException(JsonParser
    .java:353)
        at
    com.ibm.javart.json.JsonParser.jj_consume_token(JsonParser.java:
    291)
        at com.ibm.javart.json.JsonParser.Value(JsonParser.java:137)
        at com.ibm.javart.json.JsonParser.Pair(JsonParser.java:98)
        at com.ibm.javart.json.JsonParser.Object(JsonParser.java:80)
        at
    com.ibm.javart.json.JsonParser.ObjectParse(JsonParser.java:56)
        at com.ibm.javart.json.JsonParser.parse(JsonParser.java:46)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * EGL services users                                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A JSON PARSE ERROR OBSERVED ON REST SERVICE CALL WHERE THE   *
    * PARAM PASSED INCLUDES SPECIAL CHARACTERS LIKE THE GERMAN     *
    * UMLAUT                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • the problem is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI60305

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-06

  • Closed date

    2019-01-17

  • Last modified date

    2019-01-17

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R901 PSY

       UP

  • R911 PSY

       UP

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
17 October 2021