IBM Support

PI51471: RUNNING THE "MFP ADAPTER CALL" COMMAND ENDED UP WITH THE FOLLOWING ERROR: "ILLEGAL JSON VALUE FOR KEY 'NAME': NULL"

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of the Operations Console using wladm or CLI           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Listing adapters or showing an adapter detail fails with     *
    * wladm. Deploying an adapter fails with CLI because it calls  *
    * wladm to show the deployed adapter. The server log contains  *
    * an exception:                                                *
    *                                                              *
    * java.lang.IllegalArgumentException: Illegal JSON value for   *
    * key 'name': null                                             *
    *     at                                                       *
    * com.ibm.worklight.admin.util.ResponseUtil.jsonToXML(Response *
    * Util.java:906)                                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • The problem is caused by the conversion from JSON to XML. The
    Operations Console UI gets information about adapters in JSON
    format, however wladm gets the same information in XML format.
    The XML schema used in wladm is too strict: it considered a
    "name" field as required even though this field is optional.
    
    The code was changed and the XML schema for wladm was updated.
    worklightadmin.war and worklight-ant-deployer.jar are affected.
    The worklightadmin.war needs to be redeployed on the webserver.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI51471

  • Reported component name

    MFPF/WORKLIGHT

  • Reported component ID

    5725I4301

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-29

  • Closed date

    2017-03-13

  • Last modified date

    2017-03-13

  • 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

    MFPF/WORKLIGHT

  • Fixed component ID

    5725I4301

Applicable component levels

  • R710 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 October 2021