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

Calendar Portlet Crashes after Publishing Following Events with a Subscriber

    Details

      Description

      Calendar Portlet crashes after publishing a Calendar Booking to Following Events with a invited User.

      Steps to Reproduce

      1. Create a new User "Test1" through the Control Panel
      2. Add a Calendar Portlet to a page
      3. Click on a date to add a Calendar Booking, then click Edit
      4. Make the name "Recurring Event"
      5. Click "Repeat" and set to Daily, Stop Repeating after 2 times, click Done
      6. Under Invitations search for "Test1" and add them to the invite list
      7. Click Publish - A success message appears
      8. Click Publish - Options appear, choose "Following Events" - Are you Sure appears, choose "Save Changes."

      Expected Result: Event is published without errors
      Actual Result: The Portlet is temporarily unavailable and the following errors are thrown in the console

      ERROR [http-nio-8080-exec-83][PortletServlet:112] javax.portlet.PortletException: java.lang.NullPointerException
      javax.portlet.PortletException: java.lang.NullPointerException
      at com.liferay.portal.kernel.portlet.LiferayPortlet.callActionMethod(LiferayPortlet.java:203)
      [...]
      Caused by: java.lang.NullPointerException
      at com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl.addChildCalendarBookings(CalendarBookingLocalServiceImpl.java:1722)
      at com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl.addCalendarBooking(CalendarBookingLocalServiceImpl.java:236)
      at com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl.updateCalendarBookingInstance(CalendarBookingLocalServiceImpl.java:1397)
      at com.liferay.calendar.service.impl.CalendarBookingLocalServiceImpl.updateCalendarBookingInstance(CalendarBookingLocalServiceImpl.java:1326)
      [...]

      Reproduced in Master: a6f9c907b2b34e1e17fe22c2345923a21482aff4

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 39 weeks, 6 days ago

                  Packages

                  Version Package
                  7.1.X
                  Master