Null Pointer Exception With Schema Publish After CMU Import (Doc ID 603385.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Symptoms

After importing a CMU bundle from another instance of content server, schema functionality stopped working on optionlists and docinfo pages with the errors below:

Checkin and Search page

[Unable to generate data for the view 'websiteobjecttypelist'. Exception type
is 'java.lang.NullPointerException'. [  Details ]

An error has occurred. The stack trace below shows more information.

!csSchemaErrorGeneratingViewData,websiteobjecttypelist!syExceptionType,java.la
ng.NullPointerException
java.lang.NullPointerException
at intradoc.data.QueryUtils.createSubclause(QueryUtils.java:215)
at intradoc.server.schema.SchemaUtils.buildSubclause(SchemaUtils.java:241)
at
intradoc.server.schema.SchemaUtils.appendBaseWhereClause(SchemaUtils.java:195)

at intradoc.server.schema.SchemaUtils.appendLoadQuery(SchemaUtils.java:668)
at
intradoc.server.schema.ServerSchemaLoader.loadAllValues(ServerSchemaLoader.jav
a:550)
at
intradoc.shared.schema.SchemaViewData.syncViewValues(SchemaViewData.java:680)
at
intradoc.shared.schema.SchemaViewData.getAllViewValuesEx(SchemaViewData.java:2
41)
at
intradoc.shared.schema.SchemaViewData.getAllViewValues(SchemaViewData.java:234
)
at
intradoc.shared.schema.SchemaViewData.getAllViewValuesWithFilter(SchemaViewDat
a.java:257)
at
intradoc.server.schema.SchemaUtils.prepareSendSchemaViewFragmentEx(SchemaUtils
.java:1169)
at
intradoc.server.SchemaService.getSchemaViewFragment(SchemaService.java:715)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
ava:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:128)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:113)
at intradoc.server.Service.doCodeEx(Service.java:505)
at intradoc.server.Service.doCode(Service.java:470)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1332)
at intradoc.server.Service.doAction(Service.java:450)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1173)
at intradoc.server.Service.doActions(Service.java:445)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImpleme
ntor.java:1093)
at intradoc.server.Service.executeActions(Service.java:431)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
at intradoc.server.Service.doRequest(Service.java:1697)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)

Text continued in next action...]


DocInfo Page:

[Event generated by user 'sysadmin' at host 'dpdwina511'. Unable to generate
HTML page. (System Error: Runtime error: java.lang.NullPointerException
at intradoc.data.QueryUtils.createSubclause(QueryUtils.java:215)
at intradoc.server.schema.SchemaUtils.buildSubclause(SchemaUtils.java:241)
at
intradoc.server.schema.SchemaUtils.appendBaseWhereClause(SchemaUtils.java:195)

at intradoc.server.schema.SchemaUtils.appendLoadQuery(SchemaUtils.java:668)
at
intradoc.server.schema.ServerSchemaLoader.loadValues(ServerSchemaLoader.java:6
65)
at
intradoc.shared.schema.SchemaViewData.syncViewValues(SchemaViewData.java:674)
at
intradoc.shared.schema.SchemaViewData.getViewValuesEx(SchemaViewData.java:347)

at
intradoc.shared.schema.SchemaViewData.getViewValues(SchemaViewData.java:334)
at
intradoc.shared.schema.SchemaViewData.getViewValuesWithFilter(SchemaViewData.j
ava:322)
at
intradoc.server.script.SchemaScriptExtensions.getViewValues(SchemaScriptExtens
ions.java:1222)
at
intradoc.server.script.SchemaScriptExtensions.getViewDisplayValue(SchemaScript
Extensions.java:1252)
at
intradoc.server.script.SchemaScriptExtensions.getDisplayFieldValue(SchemaScrip
tExtensions.java:1179)
at
intradoc.server.script.SchemaScriptExtensions.evaluateFunction(SchemaScriptExt
ensions.java:661)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1160)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:776)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:548)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1237)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:979)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1012)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:999)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1079)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1079)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1012)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1079)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1079)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1012)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1079)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:999)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:899)
at
intradoc.common.DynamicHtmlMerger.writeResourceInclude(DynamicHtmlMerger.java:1690)
at
intradoc.common.DynamicHtmlMerger.evaluateResourceIncludeToWriter(DynamicHtmlMerger.java:1676)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1191)
at
Text continued in next action...]

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