IBM Support

JR54971: ABSTRACT: TOKENS CANNOT BE DELETED DUE TO NO TASK ID FOUND. IS NOT REMOVED.API, IT WILL RETURN 200 SUCCESS CODE. HOWEVER, ER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Tokens cannot be deleted due to no task id found.
    Delete/move token from flow line returns success but nothing is
    executed.
    
    Problem description: In some odd cases some process instances
    may contain active tokens sitting on an event but the task no
    longer exists.
    The token cannot be deleted due to 'Task id not found' error.
    
    Also when a token is sitting on a flow line, when attempting to
    move / delete the token via REST API, it will return 200
    success code. However, the token is not removed.
    
       This is the error message logged
    [11/13/15 9:40:16:052 EST] 00001284 RestHelper    W
    CWTBG0019E: Unexpected exception during execution.
    
    com.ibm.bpm.wle.api.UnexpectedFailureException: CWTBG0019E:
    Unexpected exception during execution.
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    Task with ID Task.974400 not found.
    com.lombardisoftware.core.TeamWorksException:
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    Task with ID Task.974400 not found.
    com.lombardisoftware.core.TeamWorksRuntimeException:
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    Task with ID Task.974400 not found.
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    Task with ID Task.974400 not found.
    com.lombardisoftware.core.TeamWorksException: Task with ID
    Task.974400 not found.
     at
    com.lombardisoftware.server.ejb.persistence.CommonDAO.assertNotN
    ull(CommonDAO.java:65)
     at
    com.lombardisoftware.server.ejb.persistence.CommonDAO.assertMapN
    otNull(CommonDAO.java:45)
     at
    com.lombardisoftware.server.ejb.persistence.dao.UnversionedPODAO
    .findByPrimaryKey(UnversionedPODAO.java:435)
     at
    com.lombardisoftware.server.ejb.persistence.DefaultHandler.findB
    yPrimaryKey(DefaultHandler.java:119)
     at
    com.lombardisoftware.server.ejb.persistence.PersistenceServicesC
    ore$3.call(PersistenceServicesCore.java:187)
     at
    com.lombardisoftware.server.ejb.persistence.PersistenceServicesC
    ore$3.call(PersistenceServicesCore.java:185)
     at
    com.lombardisoftware.server.ejb.persistence.versioning.BranchMan
    ager.readAccess(BranchManager.java:167)
     at
    com.lombardisoftware.server.ejb.persistence.PersistenceServicesC
    ore.findByPrimaryKey(PersistenceServicesCore.java:185)
    ...
    Caused by:
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    Task with ID Task.967891 not found.
     at
     com.lombardisoftware.client.delegate.BusinessDelegateException.
    asBusinessDelegateException(BusinessDelegateException.java:46)
     at
     com.lombardisoftware.client.delegate.PersistenceServicesDelegat
    eDefault
    .findByPrimaryKey(PersistenceServicesDelegateDefault.java:349)
    

Local fix

Problem summary

  • ERROR DESCRIPTION -
    Orphaned process instance tokens cannot be deleted when the
    referenced task does not exist.
    
    
    PRODUCTS AFFECTED
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    
    LOCAL FIX -
    None
    
    
    PROBLEM SUMMARY
    None
    

Problem conclusion

  • A fix is available on v8.5.0.1 such that orphaned tokens with
    missing tasks can be deleted forcefully if the following
    property is enabled in 100Custom.xml.
    
    <server>
     <instance-migration merge="mergeChildren">
      <force-token-action merge="replace">true</force-token-action>
     </instance-migration>
    </server>
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR54971
    
    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 JR54971, and click Continue.
    3.
    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.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54971

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-12-17

  • Closed date

    2016-02-12

  • Last modified date

    2016-02-12

  • 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

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

Document Information

Modified date:
14 October 2021