gggard / AndroidCaldavSyncAdapater

Caldav synch adapter for Android
246 stars 88 forks source link

Updating calendar exception java.lang.NullPointerException #146

Open Merdica opened 10 years ago

Merdica commented 10 years ago
11-26 17:30:33.535  26327-26373/? I/SyncAdapter﹕ Event /calendars/.../events/4085
11-26 17:30:33.535  26327-26373/? D/SyncAdapter﹕ Event compare: "678e4475745a14c60fcd8692d2c5e5bf" <> "520f4f3d6b70c2e3f8e5a41454d098db"
11-26 17:30:33.595  26327-26373/? D/CaldavFacade﹕ LastAuthState: restored with user ...
11-26 17:30:33.595  26327-26373/? D/CaldavFacade﹕ LastAuthScope: restored

11-26 17:30:34.106  26327-26373/? E/SyncAdapter﹕ Updating calendar exception java.lang.NullPointerException
    java.lang.NullPointerException
            at org.gege.caldavsyncadapter.caldav.xml.MultiStatusHandler.endElement(MultiStatusHandler.java:56)
            at org.apache.harmony.xml.ExpatParser.endElement(ExpatParser.java:156)
            at org.apache.harmony.xml.ExpatParser.appendChars(Native Method)
            at org.apache.harmony.xml.ExpatParser.parseFragment(ExpatParser.java:497)
            at org.apache.harmony.xml.ExpatParser.parseDocument(ExpatParser.java:484)
            at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:309)
            at org.apache.harmony.xml.ExpatReader.parse(ExpatReader.java:267)
            at org.gege.caldavsyncadapter.caldav.entities.CalendarEvent.setICSasMultiStatus(CalendarEvent.java:153)
            at org.gege.caldavsyncadapter.caldav.CaldavFacade.getEvent(CaldavFacade.java:718)
            at org.gege.caldavsyncadapter.caldav.entities.CalendarEvent.fetchBody(CalendarEvent.java:262)
            at org.gege.caldavsyncadapter.caldav.entities.CalendarEvent.updateAndroidEvent(CalendarEvent.java:959)
            at org.gege.caldavsyncadapter.syncadapter.SyncAdapter.synchroniseEvents(SyncAdapter.java:345)
            at org.gege.caldavsyncadapter.syncadapter.SyncAdapter.onPerformSync(SyncAdapter.java:170)
            at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)

Device: Nexus 4, 4.4 CalDAV Version 1.8

I can reproduce it when I click on synchronize. Notification in ActionBar: "Caldav sync error (general)".