IBM Support

JR48446: NPE OCCURS WHEN FILTERING WITH A STRING THAT RETURNS NO USERS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NPE occurs when filtering with a string that returns no users
    .
    When using coach function "Modify Task", if the user enters
    a string to filter for the assignment box and returns with no
    matches, an NPE occurs.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM BPM Express, Standard and Advanced.     *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException occurs when      *
    *                      searching for a non-existent user       *
    *                      using REST API.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Process Portal utilizes REST API  to modify task details
    during runtime. Users can utilize the  ¢â‚¬ “Modify Task ¢â‚¬  ½
    in Process Portal to reassign tasks to other users. If a
    string which does not match any existing user names is passed,
    a NullPointerException occurs.
    The following REST API HTTP request URL may be seen when
    invoking the task assignment function:
     ¢â‚¬ “/rest/bpm/wle/v1/users?filter=*an*&maxresult=11&assignTas
    il
    ter=3819&namesonly=true&parts=none ¢â‚¬  ½
    As a result a 500 error code is returned by REST API and the
    reassignment invocation is interrupted. The 500 error code may
    be seen in logs or any web browser debug plugin, however, on
    the browser screen it will only show the message  ¢â‚¬ “Unexpect
    error occurred ¢â‚¬  ½.
    The following exception stack may be seen in the trace logs:
    RestHelper    W   <Null Message>
    java.lang.NullPointerException
    at
    com.ibm.bpm.rest.impl.org.UsersResource.getUsers(UsersResource.j
    ava:438)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    

Problem conclusion

  • The user look-up functionality in REST API has been corrected
    to handle non-existent user names properly. A fix for 8.0.1.1
    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
    JR48446, 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

    JR48446

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-11

  • Closed date

    2014-01-06

  • Last modified date

    2014-01-06

  • 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

[{"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.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 October 2021