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

NoSuchMessageException throws when viewing document details info within Publications

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Publications
    • Labels:
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Enable Publication
      2. Add a new Publication "P1"
      3. Add new document
      4. Click on the document and view the details info

      Actual Result:
      Can view the document details info but the following error throws

      2020-09-07 09:21:28.013 ERROR [http-nio-8080-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%2Fview_file_entry&_com_liferay_document_library_web_portlet_DLAdminPortlet_redirect=http%3A%2F%2Flocalhost%3A8080%2Fgroup%2Fguest%2F~%2Fcontrol_panel%2Fmanage%3Fp_p_id%3Dcom_liferay_document_library_web_portlet_DLAdminPortlet%26p_p_lifecycle%3D0%26p_p_state%3Dmaximized%26p_p_mode%3Dview%26p_p_auth%3DQItQPQOb&_com_liferay_document_library_web_portlet_DLAdminPortlet_fileEntryId=40655&p_p_auth=QItQPQOb generates exception: com.liferay.message.boards.exception.NoSuchMessageException: No MBMessage exists with the primary key 40679
      com.liferay.message.boards.exception.NoSuchMessageException: No MBMessage exists with the primary key 40679
      	at com.liferay.message.boards.service.persistence.impl.MBMessagePersistenceImpl.findByPrimaryKey(MBMessagePersistenceImpl.java:21508)
      	at com.liferay.message.boards.service.persistence.impl.MBMessagePersistenceImpl.findByPrimaryKey(MBMessagePersistenceImpl.java:21526)
      	at com.liferay.message.boards.service.impl.MBMessageLocalServiceImpl.getMessage(MBMessageLocalServiceImpl.java:1233)
      	at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66)
      	at com.liferay.message.boards.service.MBMessageLocalServiceWrapper.getMessage(MBMessageLocalServiceWrapper.java:772)
      	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.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49)
      	at com.liferay.mentions.internal.service.MentionsMessageServiceWrapper.updateStatus(MentionsMessageServiceWrapper.java:67)
      	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.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60)
      	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.message.boards.internal.workflow.BaseMBWorkflowHandler.updateStatus(BaseMBWorkflowHandler.java:52)
      	at com.liferay.message.boards.internal.workflow.BaseMBWorkflowHandler.updateStatus(BaseMBWorkflowHandler.java:32)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel.tran Samuel Tran
              Reporter:
              linda.sui Linda Sui
              Participants of an Issue:
              Recent user:
              Preston Crary
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 weeks, 6 days ago

                  Packages

                  Version Package