IBM Support

JR57904: YOU RECEIVE A NULLPOINTEREXCEPTION DURING A TEAM UPDATE WHEN SUBGROUPS ARE ADDED TO GROUPS

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

  • If you defined a team by using a team retrieval service (TRS),
    the TRS returns a Team business object with a subgroup as a
    member, and you refresh this team, you might get a
    NullPointerException.
    
    A typical stack trace of this exception is
    
    java.lang.NullPointerException
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.u
    pdateMembershipSorted(ParticipantGroupsCore.java:1577)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.u
    pdateMembership(ParticipantGroupsCore.java:1453)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.r
    esolveAddressForRetrievalService(ParticipantGroupsCore.java:611)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.r
    esolveAddressInternal(ParticipantGroupsCore.java:502)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.r
    esolveAddress(ParticipantGroupsCore.java:411)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.u
    pdateParticipantGroupMembership(ParticipantGroupsCore.java:1380)
     at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown
    Source)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:56)
     at java.lang.reflect.Method.invoke(Method.java:620)
     at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingRef
    lection(AopUtils.java:310)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.inv
    okeJoinpoint(ReflectiveMethodInvocation.java:182)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.pro
    ceed(ReflectiveMethodInvocation.java:149)
     at
    com.lombardisoftware.utility.spring.TransactionInterceptor$2.cal
    l(TransactionInterceptor.java:70)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt$3.doInTransaction(ProgrammaticTransactionSupport.java:500)
     at
    org.springframework.transaction.jta.WebSphereUowTransactionManag
    er$UOWActionAdapter.run(WebSphereUowTransactionManager.java:306)
     at
    com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderNewUO
    W(EmbeddableUOWManagerImpl.java:791)
     at
    com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderUOW(E
    mbeddableUOWManagerImpl.java:370)
     at
    org.springframework.transaction.jta.WebSphereUowTransactionManag
    er.execute(WebSphereUowTransactionManager.java:252)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt.executeInNewTransaction(ProgrammaticTransactionSupport.java:4
    88)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt.execute(ProgrammaticTransactionSupport.java:349)
     at
    com.lombardisoftware.utility.spring.TransactionInterceptor.invok
    e(TransactionInterceptor.java:68)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.pro
    ceed(ReflectiveMethodInvocation.java:171)
     at
    com.lombardisoftware.utility.spring.CoreEntryInterceptor.invoke(
    CoreEntryInterceptor.java:44)
     at
    com.lombardisoftware.utility.spring.PSCoreEntryInterceptor.invok
    e(PSCoreEntryInterceptor.java:14)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.pro
    ceed(ReflectiveMethodInvocation.java:171)
     at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkD
    ynamicAopProxy.java:204)
     at
    com.sun.proxy.$Proxy77.updateParticipantGroupMembership(Unknown
    Source)
     at
    com.lombardisoftware.client.delegate.ParticipantGroupsDelegateDe
    fault.updateParticipantGroupMembership(ParticipantGroupsDelegate
    Default.java:558)
     at
    com.lombardisoftware.core.script.js.objects.TeamScriptable.jsFun
    ction_refresh(TeamScriptable.java:821)
     at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown
    Source)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:56)
     at java.lang.reflect.Method.invoke(Method.java:620)
     at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
     at
    org.mozilla.javascript.FunctionObject.call(FunctionObject.java:4
    67)
     at
    org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.jav
    a:3330)
     at
    org.mozilla.javascript.Interpreter.interpret(Interpreter.java:24
    87)
     at
    org.mozilla.javascript.InterpretedFunction.call(InterpretedFunct
    ion.java:164)
     at
    org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.j
    ava:398)
     at
    com.lombardisoftware.core.script.JavaScriptContextFactory.doTopC
    all(JavaScriptContextFactory.java:192)
     at
    org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.jav
    a:3070)
     at
    org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunct
    ion.java:175)
     at
    com.lombardisoftware.core.script.js.JSScript.exec(JSScript.java:
    78)
     at
    com.lombardisoftware.core.script.js.JavaScriptRunner$2.execute(J
    avaScriptRunner.java:287)
     at
    com.lombardisoftware.core.script.js.PreparedScope.executeWithSco
    pe(PreparedScope.java:224)
     at
    com.lombardisoftware.core.script.js.JavaScriptRunner.execute(Jav
    aScriptRunner.java:285)
     at
    com.lombardisoftware.core.script.js.JavaScriptRunner.evalScript(
    JavaScriptRunner.java:392)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContext$
    1.call(ExecutionContext.java:608)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContext$
    1.call(ExecutionContext.java:606)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContext.
    doWithParams(ExecutionContext.java:742)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContext.
    evalScript(ExecutionContext.java:606)
     at
    com.lombardisoftware.component.common.workflow.ExecutionContext.
    evalScript(ExecutionContext.java:600)
     at
    com.lombardisoftware.component.twscript.worker.ScriptWorker.doJo
    b(ScriptWorker.java:73)
     at
    com.lombardisoftware.component.common.workflow.ExecutionJob.doJo
    b(ExecutionJob.java:461)
     at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    doResumeWorkflowEngine(EJBWorkflowManagerBean.java:1437)
     at
    com.lombardisoftware.server.ejb.workflow.EJBWorkflowManagerBean.
    executeProcessByUCA(EJBWorkflowManagerBean.java:520)
     at
    com.lombardisoftware.server.ejb.workflow.EJSRemoteStatefulEJBWor
    kflowManager_82478d70.executeProcessByUCA(Unknown Source)
     at
    com.lombardisoftware.server.ejb.workflow._EJBWorkflowManagerInte
    rface_Stub.executeProcessByUCA(_EJBWorkflowManagerInterface_Stub
    .java:623)
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateDefault.executeProcessByUCA(EJBWorkflowManagerDelegateD
    efault.java:165)
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateWebSphere$9.run(EJBWorkflowManagerDelegateWebSphere.jav
    a:108)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:416)
     at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.j
    ava:204)
     at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.j
    ava:188)
     at
    com.lombardisoftware.component.common.workflow.EJBWorkflowManage
    rDelegateWebSphere.executeProcessByUCA(EJBWorkflowManagerDelegat
    eWebSphere.java:106)
     at
    com.lombardisoftware.server.eventmgr.UnderCoverAgentExecutor.exe
    cute(UnderCoverAgentExecutor.java:298)
     at
    com.lombardisoftware.server.ejb.eventmgr.EventMgrCore.executeUCA
    (EventMgrCore.java:182)
     at sun.reflect.GeneratedMethodAccessor340.invoke(Unknown
    Source)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:56)
     at java.lang.reflect.Method.invoke(Method.java:620)
     at
    org.springframework.aop.support.AopUtils.invokeJoinpointUsingRef
    lection(AopUtils.java:310)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.inv
    okeJoinpoint(ReflectiveMethodInvocation.java:182)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.pro
    ceed(ReflectiveMethodInvocation.java:149)
     at
    com.lombardisoftware.utility.spring.TransactionInterceptor$2.cal
    l(TransactionInterceptor.java:70)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt$3.doInTransaction(ProgrammaticTransactionSupport.java:500)
     at
    org.springframework.transaction.jta.WebSphereUowTransactionManag
    er$UOWActionAdapter.run(WebSphereUowTransactionManager.java:306)
     at
    com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderNewUO
    W(EmbeddableUOWManagerImpl.java:791)
     at
    com.ibm.ws.uow.embeddable.EmbeddableUOWManagerImpl.runUnderUOW(E
    mbeddableUOWManagerImpl.java:370)
     at
    org.springframework.transaction.jta.WebSphereUowTransactionManag
    er.execute(WebSphereUowTransactionManager.java:252)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt.executeInNewTransaction(ProgrammaticTransactionSupport.java:4
    88)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt.execute(ProgrammaticTransactionSupport.java:349)
     at
    com.lombardisoftware.utility.spring.TransactionInterceptor.invok
    e(TransactionInterceptor.java:68)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.pro
    ceed(ReflectiveMethodInvocation.java:171)
     at
    com.lombardisoftware.utility.spring.CoreEntryInterceptor.invoke(
    CoreEntryInterceptor.java:44)
     at
    com.lombardisoftware.utility.spring.PSCoreEntryInterceptor.invok
    e(PSCoreEntryInterceptor.java:14)
     at
    org.springframework.aop.framework.ReflectiveMethodInvocation.pro
    ceed(ReflectiveMethodInvocation.java:171)
     at
    org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkD
    ynamicAopProxy.java:204)
     at com.sun.proxy.$Proxy52.executeUCA(Unknown Source)
     at
    com.lombardisoftware.server.ejb.eventmgr.EventMgrBean$2.execute(
    EventMgrBean.java:72)
     at
    com.lombardisoftware.server.ejb.eventmgr.EventMgrBean$2.execute(
    EventMgrBean.java:70)
     at
    com.lombardisoftware.server.ejb.EjbServerUtils.handleEjbCall(Ejb
    ServerUtils.java:86)
     at
    com.lombardisoftware.server.ejb.eventmgr.EventMgrBean.handleEjbC
    all(EventMgrBean.java:50)
     at
    com.lombardisoftware.server.ejb.eventmgr.EventMgrBean.executeUCA
    (EventMgrBean.java:70)
     at
    com.lombardisoftware.server.ejb.eventmgr.EJSRemoteStatelessEvent
    Mgr_12e670a8.executeUCA(Unknown Source)
     at
    com.lombardisoftware.server.ejb.eventmgr._EventMgrInterface_Stub
    .executeUCA(_EventMgrInterface_Stub.java:326)
     at
    com.lombardisoftware.client.delegate.EventMgrDelegateDefault$2.r
    un(EventMgrDelegateDefault.java:156)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:416)
     at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.j
    ava:204)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)0
    

Local fix

Problem summary

  • When you add a subgroup to a user group, which is derived from a
     team, a list is iterated that might contain null values. As a
    result, you might see a NullPointerException.
    

Problem conclusion

  • A fix is available for IBM BPM V8.5.6 cumulative fix 2 that
    iterates over the correct list, which does not contain null
    values.
    
    The problem is already fixed starting with IBM BPM 8.5.7
    CF2016.09
    
    PRODUCT AFFECTED
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR57904

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    856

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-16

  • Closed date

    2017-06-06

  • Last modified date

    2017-06-06

  • 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

  • R856 PSY

       UP

  • R857 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":"856","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
06 June 2017