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

Deleting Site that has a Calendar Event that was upgraded to 6.2 results in NoSuchGroupException upon restart

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 6.2.X EE, 7.0.0 M3
    • Fix Version/s: None
    • Labels:
      None

      Description

      Issue: Deleting Site that has a Calendar Event that was upgraded to 6.2 results in NoSuchGroupException upon restart

      Steps to Reproduce:
      1) Start Liferay 6.0 EE SP2
      2) Create a Community with a Page
      3) On that page, place a Calendar Portlet and create a reoccurring event
      4) Upgrade to 6.2 EE
      5) Delete the Community (Site in 6.2 EE) that was created in Step 2
      6) Restart Liferay

      Expected Result: No errors are thrown upon restart

      Actual Result: Receive the below error in the logs upon restart

      16:37:16,110 ERROR [liferay/hot_deploy-1][SerialDestination:68] Unable to process message {destinationName=liferay/hot_deploy, response=null, responseDestinationName=null, responseId=null, payload=null, values={groupId=0, command=deploy, companyId=0, servletContextName=calendar-portlet}}
      com.liferay.portal.kernel.messaging.MessageListenerException: com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 10291
              at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
              at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:72)
              at com.liferay.portal.kernel.messaging.SerialDestination$1.run(SerialDestination.java:65)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:682)
              at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:593)
              at java.lang.Thread.run(Unknown Source)
      Caused by: com.liferay.portal.NoSuchGroupException: No Group exists with the primary key 10291
              at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:7953)
              at com.liferay.portal.service.persistence.GroupPersistenceImpl.findByPrimaryKey(GroupPersistenceImpl.java:7971)
              at com.liferay.portal.service.impl.GroupLocalServiceImpl.getGroup(GroupLocalServiceImpl.java:1181)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              john.zhao John Zhao (Inactive)
              Reporter:
              john.zhao John Zhao (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Packages

                Version Package