Attempt to Approve/Reject Workflow item Results in Null Pointer Exception Error

(Doc ID 2329660.1)

Last updated on JANUARY 08, 2018

Applies to:

Oracle WebCenter Content - Version 11.1.1.9.0 to 12.2.1.3.0 [Release 11g to 12c]
Information in this document applies to any platform.

Symptoms

When attempting to approve or reject an item that is in a workflow (possibly 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 (sample)
--------------------------------------------------------------------------------------------------------------------
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. Login as user to approve workflow
2. Approve/Reject that newly checked in document
3. Note the null pointer error that is displayed

Changes

Possibly 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