IBM Support

IT00096: REST API NULL POINTER ONLIST() INSTANCES.GROOVY USING 'TOTALCOUNT' QUERY PARM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Passing the 'totalcount' query parameter on a GET to instances:
    https://rack34/admin/resources/instances/?totalcount=true
    will result in a NullPointerException:
    {
       "message": "CWZIP3700E Unexpected exception class
    java.lang.NullPointerException.",
       "stack_trace": "java.lang.NullPointerException: Cannot
    invoke method containsKey() on null object
       ..."
    }
    

Local fix

Problem summary

  • The json object used to determine 'TOTALCOUNT' is a map, but
    code attempts to treat it like an array.
    

Problem conclusion

  • Code corrected to treat object as a map.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT00096

  • Reported component name

    PUREAPP SYS W15

  • Reported component ID

    5725G3200

  • Reported release

    110

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-14

  • Closed date

    2013-11-19

  • Last modified date

    2013-11-19

  • 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

    PUREAPP SYS W15

  • Fixed component ID

    5725G3200

Applicable component levels

  • R110 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSM8NY","label":"PureApplication System"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.1.0.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
19 November 2013