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

Portlet is temporarily unavailable when searching in Sharepoint REST repository

    Details

      Description

      Reproduction steps:

      1. Go to Control Panel > Configuration > System Settings > Collaboration > Sharepoint OAuth2
      2. Add Sharepoint OAuth2
      3. Go to DM to add a Sharepoint repository
      4. Add a document under the repository
      5. Search this document under the repository

      Expected Results: Can search it and no error throws.

      Actual Results: 'Portlet is temporarily unavailable' shows and error throws on the console:

      2020-12-16 02:41:02.936 ERROR [https-jsse-nio-8443-exec-7][render_portlet_jsp:131] null
      java.lang.NullPointerException
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter._toExtRepositoryObjectAdapter(ExtRepositoryAdapter.java:1406)
              at com.liferay.document.library.repository.external.ExtRepositoryAdapter.search(ExtRepositoryAdapter.java:960)
              at com.liferay.portal.kernel.repository.BaseRepositoryImpl.search(BaseRepositoryImpl.java:319)
              at com.liferay.portal.repository.util.RepositoryWrapper.search(RepositoryWrapper.java:633)
              at com.liferay.portal.repository.capabilities.CapabilityRepository.search(CapabilityRepository.java:788)
              at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.search(DLAppServiceImpl.java:2424)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.search(DLAppServiceWrapper.java:2002)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.search(DLAppServiceWrapper.java:2002)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.liferay.document.library.kernel.service.DLAppServiceWrapper.search(DLAppServiceWrapper.java:2002)
              at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50)
              at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.kernel.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:64)
              at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57)
              at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
              at com.liferay.document.library.kernel.service.DLAppServiceUtil.search(DLAppServiceUtil.java:1940)
      

        Attachments

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            yvonne.han Yvonne Han
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Engineering Assignee:
            Adolfo PĂ©rez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              26 weeks, 1 day ago

                Packages

                Version Package
                7.3.X
                7.3.10 DXP FP1
                7.3.10.1 DXP SP1
                7.3.6 CE GA7
                Master