Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-82784

User cannot search for folder in Sharepoint repository; errors thrown

    Details

      Description

      Steps to reproduce:

      1. Add new Sharepoint REST repository to Portal
      2. Access Sharepoint REST repository
      3. Add a couple of folders
      4. Search for any folder

      Expected result:
      The folder searched for is returned.

      Actual result:
      No results are found.

      Errors are thrown into the console.

      2018-06-21 21:19:07.348 ERROR [https-jsse-nio-8443-exec-5][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=Another+Folder&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&p_p_state=maximized&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      2018-06-21 21:19:08.373 ERROR [https-jsse-nio-8443-exec-5][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=Another+Folder&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&p_p_state=maximized&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      2018-06-21 21:19:27.853 ERROR [https-jsse-nio-8443-exec-4][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=Folder&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&p_p_state=maximized&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      2018-06-21 21:19:28.700 ERROR [https-jsse-nio-8443-exec-4][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=Folder&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&p_p_state=maximized&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      2018-06-21 21:19:56.227 ERROR [https-jsse-nio-8443-exec-6][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=folder&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&p_p_state=maximized&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      2018-06-21 21:19:57.078 ERROR [https-jsse-nio-8443-exec-6][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=folder&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&p_p_state=maximized&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      2018-06-21 21:21:50.973 ERROR [https-jsse-nio-8443-exec-8][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=folder&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      2018-06-21 21:21:51.871 ERROR [https-jsse-nio-8443-exec-8][IncludeTag:128] Current URL /group/guest/~/control_panel/manage?p_p_id=com_liferay_document_library_web_portlet_DLAdminPortlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&_com_liferay_document_library_web_portlet_DLAdminPortlet_mvcRenderCommandName=%2Fdocument_library%2Fsearch&_com_liferay_document_library_web_portlet_DLAdminPortlet_repositoryId=37838&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchRepositoryId=37838&_com_liferay_document_library_web_portlet_DLAdminPortlet_folderId=0&_com_liferay_document_library_web_portlet_DLAdminPortlet_searchFolderId=37839&_com_liferay_document_library_web_portlet_DLAdminPortlet_keywords=folder&_com_liferay_document_library_web_portlet_DLAdminPortlet_showSearchInfo=true generates exception: com.liferay.portal.kernel.exception.SystemException: com.liferay.portal.kernel.search.SearchException: java.lang.NullPointerException
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1379)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:943)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:492)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:753)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:914)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2298)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:158)
              at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:54)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
              at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:135)
              at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:145)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1698)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchResults(DLAdminDisplayContext.java:606)
              at com.liferay.document.library.web.internal.display.context.DLAdminDisplayContext._getSearchSearchContainer(DLAdminDisplayContext.java:657)
      

      Documents are able to be searched successfully with no errors. However, if a user tries searching for a document inside a folder it will return no results.

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7.
      Portal 7.1.x-private GIT ID: 55801a7ba2d0436b191cae0a1d22115a0eab83f0

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 11 weeks, 3 days ago

                Packages

                Version Package
                7.1.X
                7.2.X
                Master