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

Calendar portlet fails with UnsupportedOperationException error

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 M3
    • Fix Version/s: 7.0.0 M1
    • Component/s: Calendar
    • Labels:

      Description

      Calendar portlet fails with UnsupportedOperationException.

      Steps to reproduce

      1. Deploy calendar, add calendar to a page
      2. Access the page

      Expected results

      • Calendar will be rendered

      Actual results

      • Calendar is not rendered.
      • The following error is presented in the logs:
      15:47:47,051 ERROR [http-bio-8080-exec-21][IncludeTag:129] Current URL / generates exception: An exception occurred processing JSP page /init.jsp at line 129__126: Calendar userDefaultCalendar = null;_127: _128: if (userCalendarResource != null) {_129: 	long defaultCalendarId = userCalendarResource.getDefaultCalendarId();_130: _131: 	if (defaultCalendarId > 0) {_132: 		userDefaultCalendar = CalendarServiceUtil.getCalendar(defaultCalendarId);___Stacktrace: [Sanitized]
      java.lang.UnsupportedOperationException
      	at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.fetchByPrimaryKeys(BasePersistenceImpl.java:128)
      	at com.liferay.portal.dao.orm.common.FinderCacheImpl._primaryKeyToResult(FinderCacheImpl.java:288)
      	at com.liferay.portal.dao.orm.common.FinderCacheImpl.getResult(FinderCacheImpl.java:139)
      

        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:
                  5 years, 18 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 M1