Search Results URL Results in a Java Runtime Error Message (Doc ID 1386639.1)

Last updated on MAY 23, 2017

Applies to:

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

Symptoms

When going to a URL like the following, a java.lang.NullPointerException is encountered.

http://localhost/idcm1/idcplg?IdcService=GET_SEARCH_RESULTS&SortField=dInDate&SortOrder=Desc&ResultCount=20&QueryText=<qsch>12345</qsch>&listTemplateId=&ftx=1&TargetedQuickSearchSelection=&SearchQueryFormat=www.company.com&MiniSearchText=12345&go=Search

Here is the exception that's generated.

Unable to generate HTML page. (System Error: Runtime error: java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:334)
at intradoc.server.script.SearchServiceScriptExtensions.evaluateFunction(SearchServiceScriptExtensions.java:686)
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)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:986)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1006)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:906)
at intradoc.common.DynamicHtmlMerger.writeResourceInclude(DynamicHtmlMerger.java:1739)
at intradoc.common.DynamicHtmlMerger.evaluateResourceIncludeToWriter(DynamicHtmlMerger.java:1725)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1240)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:825)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:597)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1244)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:986)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1019)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:906)
at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:1769)
at intradoc.server.Service.buildResponsePage(Service.java:1199)
at intradoc.server.Service.doResponse(Service.java:1868)
at intradoc.server.SearchService.doResponse(SearchService.java:1567)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:664)
at intradoc.server.Service.doRequest(Service.java:1707)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:197))
[ Details ]
java.io.IOException: !syServiceRuntime,java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:334)
at intradoc.server.script.SearchServiceScriptExtensions.evaluateFunction(SearchServiceScriptExtensions.java:686)
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)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:986)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1006)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:906)
at intradoc.common.DynamicHtmlMerger.writeResourceInclude(DynamicHtmlMerger.java:1739)
at intradoc.common.DynamicHtmlMerger.evaluateResourceIncludeToWriter(DynamicHtmlMerger.java:1725)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1240)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:825)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:597)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1244)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:986)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1019)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:906)
at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:1769)
at intradoc.server.Service.buildResponsePage(Service.java:1199)
at intradoc.server.Service.doResponse(Service.java:1868)
at intradoc.server.SearchService.doResponse(SearchService.java:1567)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:664)
at intradoc.server.Service.doRequest(Service.java:1707)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)

at intradoc.common.DynamicHtmlMerger.createIOException(DynamicHtmlMerger.java:2338)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:1032)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:597)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1244)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:986)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1006)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:906)
at intradoc.common.DynamicHtmlMerger.writeResourceInclude(DynamicHtmlMerger.java:1739)
at intradoc.common.DynamicHtmlMerger.evaluateResourceIncludeToWriter(DynamicHtmlMerger.java:1725)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1240)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:825)
at intradoc.common.DynamicHtmlMerger.substituteVariable(DynamicHtmlMerger.java:597)
at intradoc.common.DynamicHtml.substituteVariable(DynamicHtml.java:1244)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:986)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1086)
at intradoc.common.DynamicHtml.outputHtmlEx(DynamicHtml.java:1019)
at intradoc.common.DynamicHtml.outputHtml(DynamicHtml.java:906)
at intradoc.common.DynamicHtmlMerger.outputDynamicHtmlPage(DynamicHtmlMerger.java:1769)
at intradoc.server.Service.buildResponsePage(Service.java:1199)
at intradoc.server.Service.doResponse(Service.java:1868)
at intradoc.server.SearchService.doResponse(SearchService.java:1567)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:664)
at intradoc.server.Service.doRequest(Service.java:1707)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:359)
at intradoc.server.IdcServerThread.run(IdcServerThread.java:197)
Caused by: java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:334)
at intradoc.server.script.SearchServiceScriptExtensions.evaluateFunction(SearchServiceScriptExtensions.java:686)
at intradoc.common.DynamicHtmlMerger.computeFunction(DynamicHtmlMerger.java:1209)
at intradoc.common.DynamicHtmlMerger.evaluateGrammarElement(DynamicHtmlMerger.java:825)
... 25 more

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