Page MenuHomePhorge

Fix NULL pointer exception from Calendar's homepage in some circumstances
Closed, ResolvedPublic

Description

I tried using the Phorge/Phabricator Calendar import feature related to Importing .ics URIs.

After importing specific events, for example from Google Calendar (bleah), it can happen that the Calendar's homepage becomes broken. This was the exception error shown to video:

Call to a member function getEventsBetween() on null

This NULL pointer is thrown since this method can return NULL and it needs proper checks when used:

PhabricatorCalendarEventQuery#newRecurrenceSet()

Related Objects