Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-1171

NPE in calendar portlet if an event hasn't an end date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 10.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      beta

      Description

      Error#: N1-E12
      Category/Class: org.olat.core.logging
      Referer: https://beta.openolat.com/auth/1%3A1%3A0%3A0%3A0/
      User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0
      Log msg: **RedScreen** null ::_::
      <dispatchinfo>
      	<componentinfo>
      		<compname>ffo_main_null</compname>
      		<compclass>org.olat.core.gui.components.form.flexible.impl.FormWrapperContainer</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>validation ok</command>
      			<tostring>com:validation ok,org.olat.core.gui.control.Event@d62b3f02</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.core.commons.controllers.resume.ResumeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      Cause: 
      stack of 1.cause::org.olat.core.logging.OLATRuntimeException: null
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:524)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:228)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:192)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:241)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:197)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:265)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:208)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      
      stack of 2.cause::java.lang.NullPointerException: null
      -> at org.olat.commons.calendar.CalendarUtils.listEventsForPeriod(CalendarUtils.java:268)
         at org.olat.portal.calendar.CalendarPortletRunController.getMatchingEvents(CalendarPortletRunController.java:135)
         at org.olat.portal.calendar.CalendarPortletRunController.<init>(CalendarPortletRunController.java:115)
         at org.olat.portal.calendar.CalendarPortlet.getInitialRunComponent(CalendarPortlet.java:95)
         at org.olat.core.gui.control.generic.portal.PortletContainer.initializeRunComponent(PortletContainer.java:119)
         at org.olat.core.gui.control.generic.portal.PortalImpl.initPortlets(PortalImpl.java:208)
         at org.olat.core.gui.control.generic.portal.PortalImpl.<init>(PortalImpl.java:108)
         at org.olat.core.gui.control.generic.portal.PortalImpl.createInstance(PortalImpl.java:153)
         at org.olat.core.gui.control.generic.portal.PortalMainController.<init>(PortalMainController.java:93)
         at org.olat.core.gui.control.generic.portal.PortalSite.createController(PortalSite.java:74)
         at org.olat.core.gui.control.navigation.AbstractSiteInstance.createController(AbstractSiteInstance.java:63)empty
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            kscherer Kirsten Scherer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: