Null Pointer Exception Thrown When Approving Workflow Item That Contains More Than One Step

(Doc ID 2329660.1)

Last updated on NOVEMBER 21, 2017

Applies to:

Oracle WebCenter Content - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to approve an item that is in a workflow containing more than 1 step, the following error occurs.

ERROR on User Interface
-------------------------------------
Content Server Request Failed: Null pointer is dereferenced

ERROR from Content Server Logs
--------------------------------------------------------------------------------------------------------------------
Errror 8/24/17 4:35 PM Unable to inform step users for step Step1 in workflow Test. Null pointer is dereferenced. [ Details ]

The detailed exception is:
An error has occurred. The stack trace below shows more information.

!csWfInformUsersError,Step1,Test!syNullPointerException
java.lang.NullPointerException
at intradoc.server.workflow.WorkflowStates.addMailToQueue(WorkflowStates.java:2543)
at intradoc.server.workflow.WorkflowStates.updateRenotifyUsers(WorkflowStates.java:1909)
at intradoc.server.workflow.WorkflowStates.computeMailInfo(WorkflowStates.java:2480)
at intradoc.server.workflow.WorkflowStates.renotifyUsers(WorkflowStates.java:2376)
at intradoc.server.workflow.WorkflowStates.advanceWorkflowState(WorkflowStates.java:969)
at intradoc.server.workflow.WorkflowStates.advanceDocumentStateImplement(WorkflowStates.java:685)
at intradoc.server.workflow.WorkflowStates.advanceDocumentState(WorkflowStates.java:551)
at intradoc.server.DocStateTransition.advanceDocumentState(DocStateTransition.java:75)
at intradoc.server.workflow.WfCompanionManager.updateWorkflowItem(WfCompanionManager.java:456)
at intradoc.server.workflow.WfCompanionManager.updateWorkflowItemsEx(WfCompanionManager.java:400)
at intradoc.server.workflow.WfCompanionManager.updateWorkflowItems(WfCompanionManager.java:361)
at intradoc.server.ScheduledSystemEvents.checkHandleEvent(ScheduledSystemEvents.java:642)
at intradoc.server.ScheduledSystemEvents.processWork(ScheduledSystemEvents.java:591)
at intradoc.server.ScheduledSystemEvents.run(ScheduledSystemEvents.java:490)
at java.lang.Thread.run(Thread.java:682)


STEPS
-----------------------
The issue can be reproduced with the following steps:

1. Apply Patch 26149701: WebCenter Content Bundle Patch 11.1.1.9.170612
2. Create a two step criteria workflow
3. Checkin a new doc which places the doc automatically into workflow.
4. Login as user to approve workflow
5. Approve that newly checked in document
6. Note the null pointer error that is displayed


Changes

Applied Patch 26149701: WebCenter Content Bundle Patch 11.1.1.9.170612

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