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

Checkin or Cancel Checkout cause NullPointerException

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M3
    • Component/s: Documents & Media
    • Labels:
      None
    • Story Points:
      7
    • Fix Priority:
      3

      Description

      1. Add Documents and Media portlet to new page.
      2. Create a file.
      3. Checkout the file.
      4. Click all checkbox.
      5. Try to Checkin or Cancel checkout the file from Actions drop down menu.

      Actual results:

      • Documents and Media is temporarily unavailable.
      • Console throws NullPointerException.
        02:39:50,733 ERROR [http-bio-8080-exec-2][render_portlet_jsp:132] null
        java.lang.NullPointerException
                at com.liferay.portal.repository.capabilities.CapabilityRepository.cancelCheckOut(CapabilityRepository.java:171)
                at com.liferay.portlet.documentlibrary.service.impl.DLAppServiceImpl.cancelCheckOut(DLAppServiceImpl.java:459)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:149)
                at com.liferay.portal.spring.transaction.DefaultTransactionExecutor.execute(DefaultTransactionExecutor.java:53)
                at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
                at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
                at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:56)
                at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:123)
                at com.liferay.portal.spring.aop.ServiceBeanAopProxy.invoke(ServiceBeanAopProxy.java:174)
                at com.liferay.portlet.documentlibrary.service.DLAppServiceUtil.cancelCheckOut(DLAppServiceUtil.java:307)
                at com.liferay.portlet.documentlibrary.action.EditEntryAction.cancelCheckedOutEntries(EditEntryAction.java:195)
                at com.liferay.portlet.documentlibrary.action.EditEntryAction.processAction(EditEntryAction.java:82)
                at com.liferay.portal.struts.PortletRequestProcessor.process(PortletRequestProcessor.java:163)
                at com.liferay.portlet.StrutsPortlet.processAction(StrutsPortlet.java:216)
                at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:71)
                at com.liferay.portlet.CheckboxParametersPortletFilter.doFilter(CheckboxParametersPortletFilter.java:82)
                at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:68)
                at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:48)
        

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 27 weeks, 3 days ago

                Packages

                Version Package
                7.0.0 M3