IBM Support

JR57430: CLEANING UP UNUSED STAFF QUERY INSTANCES WHILE A STAFF QUERY IS REFRESHING CAUSES AN ASSERTION ERROR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • A ProcessAssertionError can occur if a staff query (work item)
    is refreshing (or updating) while unused staff query instances
    are being cleaned up. For example, you might refresh the expired
     staff query results so you can update work items.
    
    A typical error stack is
    
        com.ibm.bpe.util.ProcessAssertionError: Precondition
    violation !(staff query instance is null) in method >>
    com.ibm.task.core.EventManager.handleObserverEvent(EventManager.
    java:7579) <<
        at com.ibm.bpe.util.Assert.precondition(Assert.java:145)
        at
    com.ibm.task.core.EventManager.handleObserverEvent(EventManager.
    java:7579)
        at
    com.ibm.task.core.EventManager.handleObserverEventStaffQueryWork
    ItemRefreshed(EventManager.java:8635)
        at
    com.ibm.task.staff.StaffQueryRefreshManager$2.observeQIIDRefresh
    (StaffQueryRefreshManager.java:575)
        at
    com.ibm.bpe.database.WorkItemManagerImpl$QiidBasedWorkItemUpdate
    Worker.process(WorkItemManagerImpl.java:2512)
        at
    com.ibm.task.core.message.WorkItemUpdateMessage.process(WorkItem
    UpdateMessage.java:67)
        at
    com.ibm.task.core.message.AsynchronousMessage.process(Asynchrono
    usMessage.java:221)
        at
    com.ibm.task.core.scheduler.HTMSchedulerMDB.processMessage(HTMSc
    hedulerMDB.java:259)
    
    
    PRODUCT AFFECTED
    IBM Business Process Manager (BPM)
    

Local fix

Problem summary

  • When you update a work item that has many inherited work items,
    the related staff query instance and its work items cannot be
    reused.
    A new staff query instance must be used and associated with new
    work items.
    
    After creating the new staff query instance, and before
    associating it with new work items, the new staff query is
    marked UNUSED. As a result, a started cleanup of unused staff
    query instances might pick up this new UNUSED staff query
    instance and delete it, causing the ProcessAssertionError.
    

Problem conclusion

  • A fix is available for a future release of IBM BPM V8.6 that
    prevents the new staff query instance from being left in the
    UNUSED state.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR57430

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    860

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-23

  • Closed date

    2017-12-13

  • Last modified date

    2017-12-13

  • 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

  • Fixed component ID

    5737A5700

Applicable component levels

  • R860 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFPJS","label":"IBM Business Process Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.6.0.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
14 September 2022