UCM 10g Java Null Pointer Exception During Content Update If Author Does not Exist In The System (Doc ID 1307140.1)

Last updated on MAY 30, 2017

Applies to:

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

Symptoms

There are many files that were created by authors who were deleted from the system.
Recently patched environment to latest Core Update Bundle build 92.

After applying the patch, a Java Null pointer exception happens during content update if author of the latest revision does not exist in the system.

1.  Logged in as sysadmin
2.  Go to Configuration Manager
3.  Go to the Rules tab and create a new rule
4.  Fields: dDocAuthor is set to infoOnly
5.  Go to the Profiles tab and add a new profile
6.  Set the Trigger Filed as dDocType
7.  Use ADACCT as the trigger
8.  Add the Rule to the Profile

1.  Login as user2
2.  Go to New check In and select the Profile
3.  The Author is Info Only showing user2.
4.  Proceed with checkin and document is released.

1.  Login as sysadmin
2.  Go to the User Admin applet
3.  Select user2 and click 'Delete'

1.  Logged in as sysadmin.
2.  Go to the document info page and click Content Actions > Update
3.  Received the error:

Content Server Request Failed
Unable to generate HTML page. (System Error: Runtime error: java.lang.NullPointerException
at intradoc.data.DataBinder.addLocaleFields(DataBinder.java:1408)
at intradoc.data.DataBinder.addResultSet(DataBinder.java:1803)
at intradoc.server.script.SchemaScriptExtensions.getViewValuesResultSetImplement(SchemaScriptExtensions.java:1612)
at intradoc.server.script.SchemaScriptExtensions.evaluateFunction(SchemaScriptExtensions.java:563)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1209)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:825)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:597)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1244)


Changes

The Content Server Core Update Bundle build 92 was installed on the system.

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