Fixes are available
APAR status
Closed as program error.
Error description
In the task view of Process Portal, if there is more than one task and you click on a date column (for example, "Closed Date") to sort the list based on that column, a NullPointerException occurs. A stack trace similar to the following will appear: java.lang.NullPointerException at com.lombardisoftware.portal.action.ProcessDetails$18.compare (ProcessDetails.java:447) at com.lombardisoftware.portal.action.ProcessDetails$18.compare (ProcessDetails.java:445) at com.lombardisoftware.portal.utils.MultiColumnSorter$1.compare (MultiColumnSorter.java:26) at java.util.Arrays.mergeSort (Arrays.java:2874) at java.util.Arrays.sort (Arrays.java:3251) at java.util.Arrays.sort (Arrays.java:3269) at java.util.Collections.sort (Collections.java:1960) at com.lombardisoftware.portal.utils.MultiColumnSorter.sort (MultiColumnSorter.java:18) at com.lombardisoftware.portal.action.ProcessDetails.sortByCollator (ProcessDetails.java:483) at com.lombardisoftware.portal.action.ProcessDetails.execute (ProcessDetails.java:163) at org.apache.struts.action.RequestProcessor.processActionPerform (RequestProcessor.java:419) at com.lombardisoftware.portal.struts.RequestProcessor.access$001 (RequestProcessor.java:60) at com.lombardisoftware.portal.struts.RequestProcessor$1. doInTransaction(RequestProcessor.java:98) at com.lombardisoftware.server.core.TXCommand$1.call (TXCommand.java:71) at com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo rt $1.doInTransaction(ProgrammaticTransactionSupport.java:317) at org.springframework.transaction.jta.WebSphereUowTransactionManag er $UOWActionAdapter.run(WebSphereUowTransactionManager.java:306) at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW (UOWManagerImpl.java:1067) at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:62 8) at org.springframework.transaction.jta.WebSphereUowTransactionManag er. execute(WebSphereUowTransactionManager.java:252)
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: Users of BPM Express, Standard, and * * Advanced * **************************************************************** * PROBLEM DESCRIPTION: In the task view of Process Portal, if * * there is more than * * one task and you click on a date column * * (for example, "Closed * * Date") to sort the list based on that * * column, a NullPointerException * * occurs. * **************************************************************** * RECOMMENDATION: Recommended fix. * **************************************************************** If the "Closed Date" is not set for the process instance, when user clicks "Closed Date" column to sort it there will be a null pointer exception in the code due to comparing a null to a string. A stack trace similar to the following will appear: java.lang.NullPointerException at com.lombardisoftware.portal.action.ProcessDetails$18.compare(Pro cessDetails.java:447) at com.lombardisoftware.portal.action.ProcessDetails$18.compare(Pro cessDetails.java:445) at com.lombardisoftware.portal.utils.MultiColumnSorter$1.compare(Mu ltiColumnSorter.java:26) at java.util.Arrays.mergeSort(Arrays.java:2874) at java.util.Arrays.sort(Arrays.java:3251) at java.util.Arrays.sort(Arrays.java:3269) at java.util.Collections.sort(Collections.java:1960) at com.lombardisoftware.portal.utils.MultiColumnSorter.sort(MultiCo lumnSorter.java:18) at com.lombardisoftware.portal.action.ProcessDetails.sortByCollator (ProcessDetails.java:483) at com.lombardisoftware.portal.action.ProcessDetails.execute(Proces sDetails.java:163) at org.apache.struts.action.RequestProcessor.processActionPerform(R equestProcessor.java:419) at com.lombardisoftware.portal.struts.RequestProcessor.access$001(R equestProcessor.java:60) at com.lombardisoftware.portal.struts.RequestProcessor$1.doInTransa ction(RequestProcessor.java:98) at com.lombardisoftware.server.core.TXCommand$1.call(TXCommand.java :71) at com.lombardisoftware.utility.spring.ProgrammaticTransactionSuppo rt$1.doInTransaction(ProgrammaticTransactionSupport.java:317) at org.springframework.transaction.jta.WebSphereUowTransactionManag er$UOWActionAdapter.run(WebSphereUowTransactionManager.java:306) at com.ibm.ws.uow.UOWManagerImpl.runUnderNewUOW(UOWManagerImpl.java :1067) at com.ibm.ws.uow.UOWManagerImpl.runUnderUOW(UOWManagerImpl.java:62 8) atorg.springframework.transaction.jta.WebSphereUowTransactionMan ager.execute(WebSphereUowTransactionManager.java:252)
Problem conclusion
Add a null pointer check: if "Closed Date" is null, then set it an empty string, "". Problem is fixed in interim fix available in Fix Central. Problem is also fixed in future releases.
Temporary fix
Comments
APAR Information
APAR number
JR42910
Reported component name
BPM EXPRESS
Reported component ID
5725C9600
Reported release
751
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-05-22
Closed date
2012-07-31
Last modified date
2012-07-31
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 EXPRESS
Fixed component ID
5725C9600
Applicable component levels
R750 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTBX","label":"IBM Business Process Manager Express"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
31 July 2012