Error while Promote Change to Release status "java.lang.ArrayIndexOutOfBoundsException: -1" (Doc ID 2192491.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Agile Product Collaboration - Version 9.3.2.0 and later
Information in this document applies to any platform.

Symptoms


When attempting to promote the workflow from CCB Review status the following error occurs.

ERROR
-----------------------
Web client:
Unable to save your changes. you have one error.
or

-1


Java Client:
EJB Exception: ; nested exception is: java.lang.ArrayIndexOutOfBoundsException

STERR.log shows:

java.lang.ArrayIndexOutOfBoundsException: -1
at com.agile.util.cache.hashtable.HashTable.getHashObject(HashTable.java:60)
at com.agile.pc.cmserver.base.CMObjectCacheManager.getObjectCache(CMObjectCacheManager.java:223)
at com.agile.pc.cmserver.base.ObjectAgent.getObjectCache(ObjectAgent.java:160)
at com.agile.pc.cmserver.base.BaseUserService.getUserProfile(BaseUserService.java:264)
at com.agile.pc.cmserver.util.CMLibrary.getUserProfile(CMLibrary.java:819)
at com.agile.pc.cmserver.base.UserContext.initialize(UserContext.java:256)
at com.agile.pc.cmserver.base.UserContext.<init>(UserContext.java:159)
at com.agile.pc.cmserver.base.BaseServiceRoute.checkACSWorkflowEvents(BaseServiceRoute.java:12983)
at com.agile.pc.cmserver.base.BaseServiceRoute.validateOnChangeStatusExtra(BaseServiceRoute.java:5857)
at com.agile.pc.cmserver.base.BaseServiceRoute.doChangeStatus(BaseServiceRoute.java:3110)
at com.agile.pc.cmserver.base.BaseServiceRoute.handleChangeStatus(BaseServiceRoute.java:12049)

STDOUT.log in debug mode (PCExtract debug) shows:

 

2016-10-11 17:01:25,853> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 0 ms): "select id, description, is_public from folder where owner = -1 and (description in ( 'Home Folder' , 'My In-box' , 'Report Home Folder' ) or is_public in (28, 26, 27)) order by id desc"
<2016-10-11 17:01:25,853> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 0 ms): "Select id from folder where owner = -1 and description = 'My In-box' order by id desc"
<2016-10-11 17:01:25,853> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 0 ms): "Select id from folder where owner = -1 and description = 'Personal Searches' order by id desc"
<2016-10-11 17:01:25,853> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 0 ms): "Select id from folder where owner = -1 and description = 'My Bookmarks' order by id desc"
<2016-10-11 17:01:25,853> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 0 ms): "Select id from folder where owner = -1 and description = 'Recent Visits' order by id desc"
<2016-10-11 17:01:25,853> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 0 ms): "Select id from folder where owner = -1 and description = 'Home Folder' order by id desc"
<2016-10-11 17:01:25,869> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 16 ms): "Select id from folder where owner = -1 and description = 'Report Home Folder' order by id desc"
<2016-10-11 17:01:25,869> <SqlLogger:DEBUG> executeQuery (Elapsed Time = 0 ms): "Select id from folder where owner = -1 and description = 'Personal Report Folder' order by id desc"
<2016-10-11 17:01:25,869> <SqlLogger:DEBUG> executeBatch (Elapsed Time = 0 ms): "Delete From folder where (ID = 0)

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