IBM Support

JR47096: IMPROVEMENT OF RESILIENCY OF WEB INSPECTOR/REST API TO AVOID ERRORS WHEN VIEWING MIGRATED PROCESS INSTANCES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Web Inspector does not display migrated process instances where
    a service associated to a task instance has been removed in
    the new snapshot version.
    
    Following error can be seen in SystemOut.log:
    
    []0000040c RestHelper    W   Service
    with ID
    TWProcess.<id> not found.
    
    com.lombardisoftware.client.delegate.BusinessDelegateException:
    Service
    with ID TWProcess.<id> not
    found.
    at
    com.lombardisoftware.client.delegate.BusinessDelegateException.a
    sBusines
    sDelegateException(BusinessDelegateException.java:41)
    at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAs
    CurrentSubjectContextSensitive(WebsphereDelegateHelper.java:177)
    at
    com.lombardisoftware.client.delegate.PersistenceServicesDelegate
    Default.
    findByPrimaryKey(PersistenceServicesDelegateDefault.java:247)
    at
    com.lombardisoftware.client.persistence.common.factorydelegate.V
    ersioned
    FactoryDelegate.findByPrimaryKey(VersionedFactoryDelegate.java:9
    3)
    at
    com.lombardisoftware.client.persistence.common.factorydelegate.V
    ersioned
    FactoryDelegate.findByPrimaryKey(VersionedFactoryDelegate.java:6
    9)
    at
    com.lombardisoftware.client.persistence.common.AbstractVersioned
    POFactor
    y.findByPrimaryKey(AbstractVersionedPOFactory.java:123)
    at
    com.lombardisoftware.client.persistence.common.AbstractVersioned
    POFactor
    y.findByPrimaryKey(AbstractVersionedPOFactory.java:111)
    at
    com.lombardisoftware.component.common.workflow.ExecutionContext.
    findProc
    essByRef(ExecutionContext.java:1247)
    at
    com.lombardisoftware.component.common.workflow.ExecutionContext.
    getCurre
    ntProcess(ExecutionContext.java:1256)
    at
    com.ibm.bpm.rest.impl.service.GetDataActionHandler.getData(GetDa
    taAction
    Handler.java:196)
    at
    com.ibm.bpm.rest.jaxb.mapping.TaskDataMappingUtils.createExterna
    lTaskDat
    a(TaskDataMappingUtils.java:542)
    at
    com.ibm.bpm.rest.jaxb.mapping.TaskDataMappingUtils.createTaskDet
    ails(Tas
    kDataMappingUtils.java:397)
    at
    com.ibm.bpm.rest.jaxb.mapping.BPDMappingUtils.getTasks(BPDMappin
    gUtils.j
    ava:1133)
    at
    com.ibm.bpm.rest.jaxb.mapping.BPDMappingUtils.describeBPDInstanc
    e(BPDMap
    pingUtils.java:294)
    at
    com.ibm.bpm.rest.impl.process.BusinessProcessDefinitionResource.
    getBPDIn
    stanceDetails(BusinessProcessDefinitionResource.java:248)
    at sun.reflect.GeneratedMethodAccessor218.invoke(Unknown Source)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor
    Impl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at
    org.apache.wink.server.internal.handlers.InvokeMethodHandler.han
    dleReque
    st(InvokeMethodHandler.java:63)
    at
    org.apache.wink.server.handlers.AbstractHandler.handleRequest(Ab
    stractHa
    ndler.java:33)
    at
    org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ
    estHandl
    ersChain.java:26)
    at
    org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ
    estHandl
    ersChain.java:22)
    at
    org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab
    stractHa
    ndlersChain.java:67)
    at
    org.apache.wink.server.internal.handlers.CreateInvocationParamet
    ersHandl
    er.handleRequest(CreateInvocationParametersHandler.java:54)
    at
    org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ
    estHandl
    ersChain.java:26)
    at
    org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ
    estHandl
    ersChain.java:22)
    at
    org.apache.wink.server.handlers.AbstractHandlersChain.doChain(Ab
    stractHa
    ndlersChain.java:67)
    at
    org.apache.wink.server.handlers.AbstractHandler.handleRequest(Ab
    stractHa
    ndler.java:34)
    at
    org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ
    estHandl
    ersChain.java:26)
    at
    org.apache.wink.server.handlers.RequestHandlersChain.handle(Requ
    estHandl
    ersChain.java:22)
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of Process Admin Console's Process    *
    *                  Inspector, where process instance           *
    *                  migration has been used, and a service was  *
    *                  deleted between the source and target       *
    *                  snapshots.                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION: An error may occur when attempting to   *
    *                      view information about a process        *
    *                      instance. In this case, the root        *
    *                      cause is that instance migration does   *
    *                      not handle the case where a service     *
    *                      has been deleted in the target          *
    *                      snapshot, and does not check for that   *
    *                      case. As a result, trying to get the    *
    *                      "current" service throws an             *
    *                      exception because it cannot be found    *
    *                      in the target snapshot.                 *
    ****************************************************************
    * RECOMMENDATION:  This problem could be avoided by not        *
    *                  deleting services, and simply deprecating   *
    *                  them.                                       *
    ****************************************************************
    An error occurs when attempting to view information about a
    process instance.
    

Problem conclusion

  • This change treats a missing TWProcess (Service) as if the
    execution context was missing.
    
    The iFix is available on BPM v8.0.1.1. The iFix file and
    installation instruction can be downloaded from Fix Central.
    

Temporary fix

  • It may be possible to delete affected task instances or clear
    their execution contexts. As a result, the corresponding
    execution contexts won't be loaded.
    

Comments

APAR Information

  • APAR number

    JR47096

  • 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-06-28

  • Closed date

    2013-09-24

  • Last modified date

    2013-10-02

  • 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":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
02 October 2013