So I added an event to my Google Calendar using the CalendarProvider according to this example.
http://developer.android.com/guide/topics/providers/calendar-provider.html#add-event
However, I mistakenly set the endTime as earlier than the startTime. Now when I search on my own Calendar (through the actual Google Calendar app) for an event with a similar name to the faulty one I added, it crashes. How can I resolve this issue?