IBM Support

JR46186: ABSTRACT: ERROR WHEN ACCESSING USER ROLES

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM DESCIRPTION: 'TeamWorksException: Can not find user
    name. User name is NULL' occurs when using javascript API
    user.roles;
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Applications using JavaScript API to        *
    *                  find a user by name.                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A runtime exception may occur when      *
    *                      invoking                                *
    *                      tw.system.org.findUserByName() API.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When using the JavaScript API tw.system.org.findUserByName() ,
    an exception may occur due to a NULL user name. The following
    exception stack may be seen:
    Caused by: com.lombardisoftware.core.TeamWorksException: Can
    not find user name. User name is NULL
    at
    com.lombardisoftware.server.ejb.persistence.dao.UserDAO.findByFi
    lter(UserDAO.java:35)
    at
    com.lombardisoftware.server.core.UserCore.findByFilter(UserCore.
    java:259)
    at
    com.lombardisoftware.server.core.UserCore.getOrCreateUserInfoObj
    ect(UserCore.java:117)
    at
    com.lombardisoftware.server.core.UserCore.getOrCreateUserInfoObj
    ect(UserCore.java:103)
    at
    com.lombardisoftware.server.core.GroupCore.getUserTeamworksGroup
    Memberships(GroupCore.java:389)
    The name of the UserScriptable object was not properly
    initialized which causes the null pointer exception to occur.
    

Problem conclusion

  • Code changes have been made to properly initialize the name of
    each user. An interim fix will be available on v8.0.1.0. The
    fix will also be integrated into the next fix pack release.
    Please refer to the readme file attached to the fix for
    install instructions and prerequisite details.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR46186

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-01

  • Closed date

    2013-06-03

  • Last modified date

    2013-06-03

  • 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 ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 January 2022