Fixes are available
6.1.0.3 Download: WebSphere Portal and WCM V6.1 fix pack 3, 6.1.5 feature pack
6.1.0.4 Download: WebSphere Portal and WCM V6.1.0 fix pack 4 & 6.1.5 fix pack 1
6.1.0.5 Download: WebSphere Portal and WCM V6.1.0 fix pack 5
6.1.0.6 Download: WebSphere Portal and WCM V6.1.0 fix pack 6
6.0.1.7 Download: WebSphere Portal and Web Content Manager V6.0.1, fix pack 7
APAR status
Closed as program error.
Error description
ArrayIndexOutOfBoundsException in createRestrictedMultiSelectField when using a paging table in the Profile section of the Authoring Template. If a user does not have access to a category that is selected for a piece of content or selects a category from a paging table they do not have access to and then selects ok the wcm authoring UI is lost and an ArrayIndexOutOfBoundsException in createRestrictedMultiSelectField is logged. .. Error seen in the logs: [8/6/09 9:46:53:469 EDT] 00000059 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet /jsp/html/AuthoringUIView.jsp. Exception thrown : java.lang.ArrayIndexOutOfBoundsException: 1 at com.ibm.workplace.wcm.app.ui.portlet.formmapper.util.FieldBuilde .createRestrictedMultiSelectField(FieldBuilder.java:1983) at com.ibm.workplace.wcm.app.ui.portlet.formmapper.ProfileControlSu FormMapper.createCategoriesField(ProfileControlSubFormMapper.jav :474) at com.ibm.workplace.wcm.app.ui.portlet.formmapper.ProfileControlSu FormMapper.produceEditForm(ProfileControlSubFormMapper.java:740) .. PK73690 addresses this condition for read mode but the exception can also be encountered when opening the document in edit mode.
Local fix
Either do not use the paging table or allow authors to have read access on all possible categories.
Problem summary
ARRAYINDEXOUTOFBOUNDSEXCEPTION IN CREATERESTRICTEDMULTISELECTFIELD WHEN USING A PAGING TABLE IN THE PROFILE SECTION OF THE AT Detailed Problem Description: ArrayIndexOutOfBoundsException in createRestrictedMultiSelectField when using a paging table in the Profile section of the Authoring Template. If a user does not have access to a category that is selected for a piece of content or selects a category from a paging table they do not have access to and then selects ok the wcm authoring UI crashes and an ArrayIndexOutOfBoundsException in createRestrictedMultiSelectField is logged. Error seen in the logs: 8/6/09 9:46:53:469 EDT 00000059 ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet /jsp/html/AuthoringUIView.jsp. Exception thrown : java.lang.ArrayIndexOutOfBoundsException: 1 at com.ibm.workplace.wcm.app.ui.portlet.formmapper.util.FieldBuilde .createRestrictedMultiSelectField(FieldBuilder.java:1983) at com.ibm.workplace.wcm.app.ui.portlet.formmapper.ProfileControlSu FormMapper.createCategoriesField(ProfileControlSubFormMapper.jav :474) at com.ibm.workplace.wcm.app.ui.portlet.formmapper.ProfileControlSu FormMapper.produceEditForm(ProfileControlSubFormMapper.java:740) PK73690 addresses this condition for read mode but the exceptioncan also be encountered when opening the document in edit mode.
Problem conclusion
ProfileControlSubFormMapper.createCategoriesField passes 2 arrays to FieldBuilder.createRestrictedMultiSelectField and in the event the user does not have access to one or more categories then the arrays will be different sizes and therefore the ArrayIndexOutOfBoundsException will be thrown.
Temporary fix
give authors access to all categories
Comments
APAR Information
APAR number
PK93272
Reported component name
WEBSPHERE PORTA
Reported component ID
5724E7600
Reported release
60K
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-08-06
Closed date
2009-08-28
Last modified date
2009-08-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
WCM
Fix information
Fixed component name
WEBSPHERE PORTA
Fixed component ID
5724E7600
Applicable component levels
R60J PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSHRKX","label":"WebSphere Portal"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1.6","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
28 August 2009