IBM Support

JR52891: CALLING MANY SERVICES WITHIN THE SAME COACH VIEW MIGHT LEAD TO NULLPOINTEREXCEPTIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If a coach view contains many service calls, and those service
    calls run concurrently, the following NullPointerExceptions
    might occur:
    java.lang.NullPointerException
    at com.lombardisoftware.core.TWObject$SerializedForm.
      access$1902(TWObject.java:182)
    at com.lombardisoftware.core.TWObject.
      setActivationVersioningContext(TWObject.java:1257)
    at com.lombardisoftware.core.TWObject.
      setActivationVersioningContextOnObject(TWObject.java:1280)
    at com.lombardisoftware.core.TWObject.
      setActivationVersioningContext(TWObject.java:1270)
    at com.lombardisoftware.core.TWObject.
      setActivationVersioningContext(TWObject.java:1207)
    at com.lombardisoftware.core.TWObject.
      setActivationVersioningContext(TWObject.java:1199)
    As a result, UnexpectedFailureExceptions will occur, which lead
    to coach view fields being not set.
    .-----------------------------------------------
       This is a fuller set of the nested exceptions logged.
    [3/16/15 9:10:15:572 EDT] 0000090a wle           E
    CWLLG0594E: An
    exception occurred while initializing the runnable thread.
    Error:
    com.lombardisoftware.core.TeamWorksException:
    java.lang.NullPointerException
    
    com.lombardisoftware.core.TeamWorksException:
    java.lang.NullPointerException
     at
    com.lombardisoftware.core.TeamWorksException.asTeamWorksExceptio
    n(TeamWorksException.java:136)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContextH
    elper.saveTaskExecutionContext(ExecutionContextHelper.java:202)
     at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1400)
     at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    resumeTask(EJBWorkflowManagerBean.java:349)
     at
    com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWor
    kflowManager_82478d70.resumeTask(Unknown Source)
     at
    com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInte
    rface_Stub.resumeTask(_EJBWorkflowManagerInterface_Stub.java:347
    )
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateDefault.resumeTask(EJBWorkflowManagerDelegateDefault.ja
    va:105)
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateWebSphere$2.run(EJBWorkflowManagerDelegateWebSphere.jav
    a:52)
     ...
    Caused by: java.lang.NullPointerException
     at
    com.lombardisoftware.core.TWObject$SerializedForm.access$1902(TW
    Object.java:182)
     at
    com.lombardisoftware.core.TWObject.setActivationVersioningContex
    t(TWObject.java:1257)
     at
    com.lombardisoftware.core.TWObject.setActivationVersioningContex
    t(TWObject.java:1207)
     at
    com.lombardisoftware.core.TWObject.setActivationVersioningContex
    t(TWObject.java:1199)
     at
    com.lombardisoftware.component.common.workflow.SharedObjectProce
    ssor.getSharedObjectsMap(SharedObjectProcessor.java:544)
     at
    com.lombardisoftware.component.common.workflow.SharedObjectProce
    ssor.getSharedObjects(SharedObjectProcessor.java:495)
     at
    com.lombardisoftware.component.common.workflow.SharedObjectProce
    ssor.saveSharedObjects(SharedObjectProcessor.java:445)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContextH
    elper.serializeExecutionContext(ExecutionContextHelper.java:68)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContextH
    elper.saveTaskExecutionContext(ExecutionContextHelper.java:155)
     ... 66 more-
    

Local fix

Problem summary

  • After a business object is loaded from the database, it is
    activated. Before this activation is complete, the business
    object is already used in concurrent service calls. As a result,
    exceptions occur.
    

Problem conclusion

  • A fix is available for IBM BPM V.8.0.1.2 that prevents the use
    of a business object before its activation is complete.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR52891:
    
    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 JR52891, 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.
    

Temporary fix

  • Not applicable
    

Comments

APAR Information

  • APAR number

    JR52891

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-03-20

  • Closed date

    2015-05-20

  • Last modified date

    2017-10-10

  • 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

  • R801 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:
14 October 2021