Direct links to fixes
APAR status
Closed as program error.
Error description
If a process app or a toolkit depends on a toolkit snapshot and the toolkit contains a team, that team is returned by the process app or toolkit call to the tw.system.org.getAllTeams() JS API. If there is a new toolkit snapshot that does not contain the team and the process app or toolkit dependency is upgraded to the new toolkit snapshot, the call to tw.system.org.getAllTeams() JS API fails with a NullPointerException that is similar to the following NullPointerException: Caused by: java.lang.NullPointerException at com.lombardisoftware.client.persistence.common. factorydelegate.VersionedFactoryDelegate.findByPrimaryKey (VersionedFactoryDelegate.java:69) com.lombardisoftware.client.persistence.common. AbstractVersionedPOFactory.findByPrimaryKey (AbstractVersionedPOFactory.java:123) at com.lombardisoftware.client.persistence.common. AbstractVersionedPOFactory.findByPrimaryKey (AbstractVersionedPOFactory.java:111) at com.lombardisoftware.core.script.js.objects.TeamScriptable. <init>(TeamScriptable.java:94) com.lombardisoftware.core.script.js.OrgScriptable. jsFunction_getAllTeams(OrgScriptable.java:583) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Local fix
In the toolkit, locate the deleted team in a previous snapshot and right-click Revert. The library item is restored to the current version.
Problem summary
A tw.system.orrg.getAllTeams() call tries to access the already deleted team, which results in a java.lang.NullPointerException because the team was not deleted properly.
Problem conclusion
A fix is available for IBM BPM 8.5.0.1 that deletes the team properly. On Fix Central (http://www.ibm.com/support/fixcentral), search for JR50137: 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 JR50137, 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
JR50137
Reported component name
BPM STANDARD
Reported component ID
5725C9500
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-05-01
Closed date
2014-06-12
Last modified date
2014-06-12
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
R850 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.5","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
14 October 2021