1 Reply Latest reply on Dec 30, 2019 6:35 AM by Srinath Menon-Oracle

    null pointer exception during search

    Sanjeev-OFM

      Hello experts,

       

      Kindly suggest why this null pointer exception is occurring during GET_SEARCH_RESULTS service call in webcenter content 12.2.1.3.0.

       

      Error:

       

      Error    12/27/19 10:50 AM    Event generated by user 'FMWAdmin' at host '10.58.16.211'. Unable to retrieve search results. Unable to execute service method 'getSearchResults'. Null pointer is dereferenced. [ Details ]

       

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

       

      !csUserEventMessage,User,host 1!$!csUnableToRetrieveSearchResults!csUnableToExecMethod,getSearchResults!syNullPointerException

      intradoc.common.ServiceException: !csUnableToRetrieveSearchResults!csUnableToExecMethod,getSearchResults

      *ScriptStack GET_SEARCH_RESULTS

      3:getSearchResults,**no captured values**

              at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2312)

              at intradoc.server.Service.buildServiceException(Service.java:2435)

              at intradoc.server.Service.createServiceExceptionEx(Service.java:2429)

              at intradoc.server.Service.createServiceException(Service.java:2424)

              at intradoc.server.Service.doCodeEx(Service.java:678)

              at intradoc.server.Service.doCode(Service.java:599)

              at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1813)

              at intradoc.server.Service.doAction(Service.java:571)

              at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1587)

              at intradoc.server.Service.doActions(Service.java:566)

              at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1519)

              at intradoc.server.Service.executeActions(Service.java:552)

              at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:763)

              at intradoc.server.Service.doRequest(Service.java:2007)

              at intradoc.server.ServiceManager.processCommand(ServiceManager.java:520)

              at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:359)

              at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1360)

              at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1764)

              at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:223)

              at sun.reflect.GeneratedMethodAccessor677.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

              at java.lang.reflect.Method.invoke(Method.java:508)

              at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)

              at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)

              at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)

              at idcservlet.webdav.WebdavFilter.doFilter(WebdavFilter.java:173)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

              at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)

              at java.security.AccessController.doPrivileged(AccessController.java:739)

              at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

              at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)

              at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:110)

              at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)

              at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:147)

              at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

              at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:294)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

              at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:248)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

              at oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:172)

              at java.security.AccessController.doPrivileged(AccessController.java:739)

              at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)

              at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)

              at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:110)

              at oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:273)

              at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:147)

              at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)

              at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)

              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3706)

              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3672)

              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328)

              at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)

              at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)

              at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)

              at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443)

              at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291)

              at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269)

              at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705)

              at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1665)

              at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)

              at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)

              at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)

              at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)

              at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)

              at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)

              at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)

              at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)

      Caused by: java.lang.NullPointerException

              at intradoc.search.SearchCacheUtils.checkUpdateTemplateResultSet(SearchCacheUtils.java:333)

              at intradoc.search.SearchCache.updateCache(SearchCache.java:1732)

              at intradoc.server.SearchService.getSearchResults(SearchService.java:834)

              at sun.reflect.GeneratedMethodAccessor753.invoke(Unknown Source)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

              at java.lang.reflect.Method.invoke(Method.java:508)

              at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)

              at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)

              at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)

              at intradoc.server.Service.doCodeEx(Service.java:644)

              ... 63 more