IBM Support

JR48150: JS API ISINROLE() RETURNS NPE WHEN ROLE IS NON-EXISTENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Problem Description: When using JS API isInRole() and passing in
    a
    non-existant role as a parameter, a NullPointerException occurs.
    The
    Role is not found and runtime code will return with a null
    value.  The
    JS API code should not end unexpectedly.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Applications utilizing the Javascript API   *
    *                  isInRole().                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: When calling the API isInRole(), a      *
    *                      NullPointerException occurs.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    During runtime when executing a service which invokes the
    Javascript API isInRole() , if the parameter(String/TWRole)
    passed in is a non-existant role group, an unexpected
    NullPointerException occurs and the service terminates.
    

Problem conclusion

  • Code fix has been implemented to properly handle the
    NullPointerException and return a 'false' value when the user
    is checked against a non-existant role group.
    A fix for v8.5.0.0 is available on Fix Central:
    http://www.ibm.com/support/fixcentral. After you select the
    product group, product, installed version, and platform, click
    Continue and then select APAR or SPR, enter JR48150, and click
    Continue. When downloading fix packages, ensure that you also
    download the readme file for each fix. Review each readme file
    for additional installation instructions and information about
    the fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR48150

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-22

  • Closed date

    2013-11-07

  • Last modified date

    2013-11-07

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R800 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5"}]

Document Information

Modified date:
07 October 2021