APAR status
Closed as program error.
Error description
ECM: NullPointerException when numItems not set for query When the ECM system does not set the numItems in the CMIS query result, a NullPointerException occurs in BPM. It happens during the CMIS to ECM data conversion. [7/9/12 13:38:54:594 EDT] 00000084 LocalExceptio E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "query" on bean "BeanId(IBM_BPM_WebAPI_IBMBPMNode01_server1#integration-clients- ejb.jar#ECMIntegrationClient, null)". Exception data: java.lang.NullPointerException at com.ibm.bpm.integration.ecm.impl.CmisToDataTypes.convert(CmisToD ataTypes.java:485) at com.ibm.bpm.integration.ecm.impl.ECMIntegrationClientBean.query( ECMIntegrationClientBean.java:975) at com.ibm.bpm.integration.ecm.EJSLocalCSLECMIntegrationClient_40d9 2831.query(EJSLocalCSLECMIntegrationClient_40d92831.java) at com.ibm.bpm.integration.runtime.ECMIntegrationServices$24.run(EC MIntegrationServices.java:1506) at com.ibm.bpm.integration.runtime.ECMIntegrationServices$24.run(EC MIntegrationServices.java:1503) at com.ibm.bpm.integration.runtime.ECMIntegrationServices.executeWi thCorrectAuthentication(ECMIntegrationServices.java:1565) at com.ibm.bpm.integration.runtime.ECMIntegrationServices.query(ECM IntegrationServices.java:1503) at com.ibm.bpm.integration.runtime.ECMIntegrationServices.queryForD esignTime(ECMIntegrationServices.java:1480) at com.lombardisoftware.server.ejb.clientservices.ClientServicesCor e.searchECM(ClientServicesCore.java:3877)
Local fix
Problem summary
Problem Description: JR45136 ECM: NULLPOINTEREXCEPTION WHEN NUMITEMS NOT SET FOR QUERY java.lang.NullPointerException at com.ibm.bpm.integration.ecm.impl.CmisToDataTypes.convert(CmisToD ataTypes.java:514) at com.ibm.bpm.integration.ecm.impl.ECMIntegrationClientBean.query( ECMIntegrationClientBean.java:1013) at com.ibm.bpm.integration.ecm.EJSLocalCSLECMIntegrationClient_40d9 2831.query(EJSLocalCSLECMIntegrationClient_40d92831.java) at com.ibm.bpm.integration.runtime.ECMIntegrationServices$24.run(EC MIntegrationServices.java:1620) at com.ibm.bpm.integration.runtime.ECMIntegrationServices$24.run(EC MIntegrationServices.java:1617) at com.ibm.bpm.integration.runtime.ECMIntegrationServices.executeWi thCorrectAuthentication(ECMIntegrationServices.java:1679) at com.ibm.bpm.integration.runtime.ECMIntegrationServices.query(ECM IntegrationServices.java:1617) at com.ibm.bpm.integration.runtime.ECMIntegrationServices.query(ECM IntegrationServices.java:1557) at com.lombardisoftware.component.ecmconnector.worker.ECMConnectorW orker.query(ECMConnectorWorker.java:780) at com.lombardisoftware.component.ecmconnector.worker.ECMConnectorW orker.doJob(ECMConnectorWorker.java:176) at com.lombardisoftware.component.common.workflow.ExecutionJob.doJo b(ExecutionJob.java:409) Problem Summary: When the ECM system does not return the numItems in the CMIS query result, a NullPointerException occurs in BPM. It happens during the CMIS to ECM data conversion. Problem Conclusion: If property numItems is not returned by the ECM system, the mapping method sets property value to the size of the result set.
Problem conclusion
Problem fixed iFix available on top of V800 GA
Temporary fix
Comments
APAR Information
APAR number
JR45136
Reported component name
BPM STANDARD
Reported component ID
5725C9500
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-12-14
Closed date
2013-01-21
Last modified date
2013-01-21
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
R800 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":"8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
21 January 2013