IBM Support

JR49374: UNABLE TO WORK WITH USER ATTRIBUTES AFTER CLEANING UP OR DELETING SNAPSHOTS USING IBM BPM ADMIN COMMANDS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you use user attribute definitions in your process
    applications and assigned them to users, you might receive the
    following message after you run the BPMSnapshotCleanup command
    in Process Center or the BPMDeleteSnapshot command in Process
    Server:
    CWLLG1414E: An Exception occurred while getting user attributes.
    

Local fix

  • Yes. You can resolve the issue by modifying each user attribute
    definition in your process application and saving it. The saved
    revisions force previously deleted entries to be re-created. The
    new snapshot must be deployed to Process Server.
    

Problem summary

  • If you use user attribute definitions in your process
    applications and assigned them to users, you might receive the
    following message after you run the BPMSnapshotCleanup command
    in Process Center or the BPMDeleteSnapshot command in Process
    Server:
    CWLLG1414E: An Exception occurred while getting user attributes.
    
    PROBLEM DETAILED DESCRIPTION
    You might experience this issue in either of the following
    scenarios:
    
    * When you log in to IBM Process Portal and the user attributes
    are read from the database
    
    * When you view the user attributes in the Process Admin Console
    
    This issue occurs because deleting snapshots by using the
    BPMSnapshotCleanup command or the BPMDeleteSnapshot command
    deletes entries in LSW_RT_USER_ATTRIBUTE_DEF. This table is used
    to link between the user attributes and their definitions.
    Without this link, user attributes cannot be retrieved and you
    receive message CWLLG1414E.
    
    In addition, you receive the following
    java.lang.NullPointerException because the runtime environment
    always expects to find an entry in LSW_RT_USER_ATTRIBUTE_DEF:
    at com.lombardisoftware.server.ejb.security.SecurityCore.
      getUserAttributes(SecurityCore.java:737)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke
      (NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke
      (DelegatingMethod AccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    ...
    

Problem conclusion

  • A fix is available for IBM BPM V7.5.1, V8.0.1, and V8.5.0 that
    repairs the database if the issue already existed in the
    database and prevents the situation from occurring in the
    future.
    
    After you install this fix, an asynchronous repair is performed
    at the next server startup. The repair action creates the
    missing entries in LSW_RT_USER_ATTRBUTE_DEF for each process
    application and snapshot. With this fix installed, you can use
    the BPMSnapshotCleanup and BPMDeleteSnapshot commands to safely
    delete snapshots without disabling the information that links
    each user attribute value to its definition.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR49374:
    
    1. Select IBM Business Process Manager with your edition from
    the product selector, the installed version to the fix pack
    level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR49374, and click Continue.
    When you download 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.
    
    In addition to this interim fix, install the other interim fixes
    that are required for the BPMDeleteSnapshot and
    BPMSnapshotCleanup commands, which are listed in "Issues with
    BPMDeleteSnapshot and BPMSnapshotCleanup commands in IBM
    Business Process Manager (BPM)"
    (http://www.ibm.com/support/docview.wss?uid=swg21669992).
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49374

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-14

  • Closed date

    2014-05-06

  • Last modified date

    2014-05-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

  • R751 PSY

       UP

  • R801 PSY

       UP

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