Unable to add roles to custom pages in the BPM Workspace due to varying exceptions (Doc ID 2239076.1)

Last updated on FEBRUARY 28, 2017

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When trying to add access privileges to a page in the bpm workspace you can choose a role. If you assign a role and click accept you'll get an error:

Caused By: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at oracle.bpm.workspace.model.layout.PaginatedLayout.getSelectedPage(PaginatedLayout.java:248)
at oracle.bpm.workspace.model.layout.UnifiedPaginatedLayout.getSelectedPage(UnifiedPaginatedLayout.java:371)


The same roles are also displayed twice, and if you try to multiple roles you'll also get this exception:

Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001:
unique constraint (DEV_SOAINFRA.BPM_USERAPPDATA_GRANT_UIDX) violated

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:407)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1113)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:546)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:269)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:603)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:234)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:55)


But if you just assign one role you end up with this exception:

Caused By: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at oracle.bpm.workspace.model.layout.PaginatedLayout.getSelectedPage(PaginatedLay out.java:248)
at oracle.bpm.workspace.model.layout.UnifiedPaginatedLayout.getSelectedPage(Unifi edPaginatedLayout.java:371)

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms