IBM Support

JR48171: MAPPING A VARIABLE TO A SUB-SERVICE IS INCOMPLETE WHILE DEBUGGING A USERTASK

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Mapping a variable to a sub-service is incomplete while
    debugging a UserTask.
    .
    A User-Task's implementation service calls a System-Task, which
    maps a local variable of type XMLDocument.
    .
    
    During debugging a UserTask, the XMLDocument looses its
    additional namespace definitions.
    .
    
    Which finally results in the following text being displayed in
    the debugging session:
    .
    
    Error
    .
      source
      source
    .
    
    
    org.jdom.transform.JDOMSource$JDOMInputSource.setDocument(JDOMSo
    urce.java:284)
    .
    org.jdom.transform.JDOMSource$JDOMInputSource.<init>(JDOMSource.
    java:269)
    .
    
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor dom.transform.JDOMSource.<init>(JDOMSource.java:138)
    Impl.java:37)
        java.lang.reflect.Method.invoke(Method.java:611)
    .
    teamworks.connector.JavaReflectionConnector$1.execute(JavaReflec
    tionConn ct.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    ector.java:81)
    
    com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.exe
    cuteWith
    ManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:53)
    .
    teamworks.connector.JavaReflectionConnector.execute(JavaReflecti
    onConnector.java:49)
    .
    
    com.lombardisoftware.component.javaconnector.worker.JavaConnecto
    rWorker.invokeJavaMethod(JavaConnectorWorker.java:149)
    
    com.lombardisoftware.component.javaconnector.worker.JavaConnecto
    rWorker.doJob(JavaConnectorWorker.java:82)
    .
    
    com.lombardisoftware.component.common.workflow.ExecutionJob.doJo
    b(Execution.java:403)
    .
    
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1066)
    
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    resumeProcess(EHBWorkflowManagerBean.java:361)
    .
    
    com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWor
    kflowManager_82478d70.resumeProcess(Unknown Source)
    .
    
    com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInte
    rface_St
    ub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
    
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault
    .java:142)
    .
    
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.jav
    a:84)
    
    java.security.AccessController.doPrivileged(AccessController.jav
    a:277)
    
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.j
    ava:175)
    
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAs
    CurrentSubjectContextSensitive(WebsphereDelegateHelper.java:159)
    .
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateWebSphere.resumeProcess(EJBWorkflowManagerDelegateWebSp
    here.java:82)
    .
    
    com.lombardisoftware.component.common.web.WebWorkflowManager.cal
    lEJBWorkflowManager(WebWorkflowManager.java:709)
    .
    
    com.lombardisoftware.component.common.web.WebWorkflowManager.sta
    rtProcess(WebWorkflowManager.java:377)
    .
    
    
    ... lines ommitted ...
    
      java.lang.NullPointerException: source
      java.lang.NullPointerException: source
     at
    org.jdom.transform.JDOMSource$JDOMInputSource.setDocument(JDOMSo
    urce.java:284)
     at
    org.jdom.transform.JDOMSource$JDOMInputSource.<init>(JDOMSource.
    java:269)
     at
    org.jdom.transform.JDOMSource.setDocument(JDOMSource.java:153)
     at org.jdom.transform.JDOMSource.<init>(JDOMSource.java:138)
     at teamworks.XSLConnector.compileXSL(XSLConnector.java:132)
     at teamworks.XSLConnector.transform(XSLConnector.java:63)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
     at java.lang.reflect.Method.invoke(Method.java:611)
     at
    teamworks.connector.JavaReflectionConnector$1.execute(JavaReflec
    tionConnector.java:81)
     at
    com.lombardisoftware.server.core.ManagedAssetClassLoaderUtil.exe
    cuteWith
    ManagedAssetClassLoader(ManagedAssetClassLoaderUtil.java:53)
     at
    teamworks.connector.JavaReflectionConnector.execute(JavaReflecti
    onConnector.java:49)
     at
    com.lombardisoftware.component.javaconnector.worker.JavaConnecto
    rWorker.invokeJavaMethod(JavaConnectorWorker.java:149)
     at
    com.lombardisoftware.component.javaconnector.worker.JavaConnecto
    rWorker.doJob(JavaConnectorWorker.java:82)
     at
    com.lombardisoftware.component.common.workflow.ExecutionJob.doJo
    b(ExecutionJob.jaba:403)
     at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1066)
     at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    resumeProcess(EJBWorkflowManagerBean.java:361)
     at
    com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWor
    kflowManager_82478d70.resumeProcess(Unknown Source)
     at
    com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInte
    rface_St
    ub.resumeProcess(_EJBWorkflowManagerInterface_Stub.java:518)
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateDefault.resumeProcess(EJBWorkflowManagerDelegateDefault
    .java:142)
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegat
    eWebSphere$6.run(EJBWorkflowManagerDelegateWebSphere.java:84)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:277)
     at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAs
    CurrentSubjectContextSensitive(WebsphereDelegateHelper.java:175)
     at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAs
    CurrentSubjectContextSensitive(WebsphereDelegateHelper.java:159)
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateWebSphere.resumeProcess(EJBWorkflowMangerDelegateWebSph
    ere.java:82)
     at
    com.lombardisoftware.component.common.web.WebWorkflowManager.cal
    lEJBWorkflowManager(WebWorkflowManager.java:709)
     at
    com.lombardisoftware.component.common.web.WebWorkflowManager.sta
    rtProcess(WebWorkflowManager.java:377)
    .
    
    ... lines ommitted ...
    

Local fix

Problem summary

  • MAPPING A VARIABLE TO A SUB-SERVICE IS INCOMPLETE WHILE
    DEBUGGING A USERTASK
    
    PROBLEM DETAILED DESCRIPTION:
    The variable is stored as part of an ExecutionContext.
    The variable's value consists of an XSLT document which contains
    additional namespaces.  After loading a stored ExecutionContext
    from the database, these additional namespaces are missing.
    

Problem conclusion

  • The open source class Element has been fixed to store and load
    the additional namespaces.
    
    FIX AVAILABILITY:
    iFix for 7.5.1.1 is available on Fix Central, search for APAR
    JR48171 at http://www.ibm.com/support/fixcentral/
    Fix is also targetted for inclusion in next fixpack for BPM
    V7.5.1, BPM 8.0.1
    
    When obtaining any of the above fixes, be sure to download the
    accompanying readme, for itself, and any prerequisite fixes, and
    review them thorougly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR48171

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-10-22

  • Closed date

    2013-11-04

  • Last modified date

    2013-11-04

  • 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

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
04 November 2013