java.lang.NullPointerException: Cannot read the array length because "profiles" is null
at com.niku.bpm.services.oi.odf.ODFUtils.getProfile(ODFUtils.java:95)
at com.niku.bpm.services.oi.odf.BpmObjectImpl.getProfile(BpmObjectImpl.java:550)
at com.niku.bpm.xbl.handlers.XOGGetAssignees.getObjectProfileAssignees(XOGGetAssignees.java:157)
at com.niku.bpm.xbl.handlers.XOGGetAssignees.postProcess(XOGGetAssignees.java:65)
at com.niku.xql2.XQLVisitor.postProcess(XQLVisitor.java:1439)
at com.niku.union.xml.dom.DOMWalker.postProcess(DOMWalker.java:217)
at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:97)
at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:95)
at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:54)
at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:388)
at com.niku.xql2.handlers.LoopHandler.processSet(LoopHandler.java:259)
at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:216)
Environment
Any Supported Clarity Release
Cause
This is connected to Object roles (specifically Manager) not being available as a Process Action Item assignee for CIT.
XOG accepts invalid values on Assignees on Import and validation.
Then the process hangs at runtime
Resolution
Workaround
Check the process assignees - In the Classic PPM UI, go to the process definition and check which steps/actions have "Object Profile" or "Template Profile" type assignees
Remove problematic assignees - Temporarily remove object profile assignees, export, then re-add them manually in the target
Use selective export - If exporting a content pack, try excluding the problematic process or its assignee configuration