IBM Support

JR50051: TW.SYSTEM.ORG.TEAM RETURNS WITH AN ERROR WHEN YOU RUN ANY API IN AN AJAX SERVICE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you run any API from tw.system.org.team in an AJAX service
    against a tip of a process application, you receive the
    following error:
    Error while creating Team object: The 'id' argument cannot be
    null
    
    PRODUCTS AFFECTED:
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    

Local fix

  • Yes. Take a snapshot of the process and run the snapshot. The
    problem occurs only on the tip.
    

Problem summary

  • The REST API, which is used to start the AJAX services, is being
     invoked with the snapshotId parameter. Internally, the REST API
     layer assumes that the snapshotId does not represent the tip.
    As a result, the tw.system.org.* JavaScript APIs  fail
    
    The following exception is logged in the systemOut:
    [3/13/14 14:27:34:526 CDT] 00000262 wle           E
    CWLLG2229E: An exception occurred in an EJB call.  Error: The
    'id' argument cannot be null
    
    java.lang.IllegalArgumentException: The 'id' argument cannot be
    null
     at
    com.lombardisoftware.server.ejb.security.SecurityCore.getGroup(S
    ecurityCore.java:582)
     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
    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:67)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt.executeWithNoTransaction(ProgrammaticTransactionSupport.java:
    601)
     at
    com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo
    rt.execute(ProgrammaticTransactionSupport.java:315)
     at
    com.lombardisoftware.utility.spring.TransactionInterceptor.invok
    e(TransactionInterceptor.java:65)
     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.$Proxy78.getGroup(Unknown Source)
     at
    com.lombardisoftware.server.ejb.security.SecurityBean$19.execute
    (SecurityBean.java:296)
     at
    com.lombardisoftware.server.ejb.security.SecurityBean$19.execute
    (SecurityBean.java:294)
     at
    com.lombardisoftware.server.ejb.EjbServerUtils.handleEjbCall(Ejb
    ServerUtils.java:86)
     at
    com.lombardisoftware.server.ejb.security.SecurityBean.handleEjbC
    all(SecurityBean.java:50)
     at
    com.lombardisoftware.server.ejb.security.SecurityBean.getGroup(S
    ecurityBean.java:294)
     at
    com.lombardisoftware.server.ejb.security.EJSRemoteStatelessSecur
    ity_287acf5b.getGroup(Unknown Source)
     at
    com.lombardisoftware.server.ejb.security._SecurityInterface_Stub
    .getGroup(_SecurityInterface_Stub.java:811)
     at
    com.lombardisoftware.client.delegate.SecurityDelegateDefault$12.
    run(SecurityDelegateDefault.java:405)
     at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:327)
     at
    com.lombardisoftware.client.delegate.common.WebsphereDelegateHel
    per.doAsCurrentSubjectContextSensitive(WebsphereDelegateHelper.j
    ava:197)
     at
    com.lombardisoftware.client.delegate.SecurityDelegateDefault.get
    Group(SecurityDelegateDefault.java:402)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.g
    etGroup(ParticipantGroupsCore.java:370)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.g
    etAddressInternal(ParticipantGroupsCore.java:418)
     at
    com.lombardisoftware.server.ejb.security.ParticipantGroupsCore.g
    etAddress(ParticipantGroupsCore.java:375)
     at
    com.lombardisoftware.core.script.js.objects.TeamScriptable.initi
    alize(TeamScriptable.java:469)
     at
    com.lombardisoftware.core.script.js.objects.TeamScriptable.<init
    >(TeamScriptable.java:101)
     at
    com.lombardisoftware.core.script.js.Utilities.getTeamByName(Util
    ities.java:1606)
     at
    com.lombardisoftware.core.script.js.TeamNamespaceScriptable.get(
    TeamNamespaceScriptable.java:58)
    

Problem conclusion

  • A fix is available for IBM BPM V8.5.0.1. The REST API code has
    been changed to correctly set the tip value when a service is
    started and a snapshotId is provided.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR50051:
    
    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 JR50051, 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

Comments

APAR Information

  • APAR number

    JR50051

  • Reported component name

    BPM APPL PATTER

  • Reported component ID

    5725L4000

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-23

  • Closed date

    2014-05-16

  • Last modified date

    2014-05-16

  • 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 APPL PATTER

  • Fixed component ID

    5725L4000

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRQ5X","label":"IBM Business Process Manager Application Pattern"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021