matburt/mobileorg-android — Issue #171: sync fails with null pointer exception
Author: LogicalDash
Created: 2012-02-22 15:45:26+00:00
State: open

I can login to my WebDAV server, and the synchronization begins, but it always fails after following any given link, giving the exception java.lang.NullPointerException.

At first, I thought this was a recurrence of [52](https://github.com/matburt/mobileorg-android/issues/52), but then I added an agendas.org file link to my index.org, and the bug continued. It would sync if agendas.org was the *only* link in index.org, though.

logcat is regrettably unhelpful. I see some normal looking "getting" and "fetching" messages--no "sync failed" message here; that only shows up in the notification tray. There's also this other thing that shows up in the middle of a sync:

02-00 10:33:57.145 24300 24337 I global ; Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.

I don't know if that has anything in particular to do with MobileOrg though.