gggard / AndroidCaldavSyncAdapater

Caldav synch adapter for Android
246 stars 88 forks source link

Caldav sync error (general) #252

Open steverosebush opened 8 years ago

steverosebush commented 8 years ago

Hello,

For a while now I've been receiving the error "Caldav sync error (general) attempt to invoke virtual method 'java.lang.String android.net.UritoString()' on a null..." in my notifications, nothing is synced across. I've tried a few Android devices with my Baïkal instance and am getting this on each of them. I have had successful syncing operations previously.

Can I be of further help if I can submit some logging? I'm unsure where to start with this.

Thanks in advance!

daibutsunet commented 8 years ago

I'm facing the same.

I'm using Synology CalDAV. After fiddling around with some test calendars, I found that some calendars sync, some give the above error. But up to now I couldn't find any reproducible pattern in this behaviour. It seems that newly created "virgin" calendars mostly work, existing ones often make trouble. Some work for a while before they throw this error. Maybe it has something to do with certain entries - ? Problem is, the error text doesn't tell me anything ...

daibutsunet commented 8 years ago

Tested it a bit further.

To me it's now pretty obvious, that specific calendar entries are the culprit: recurring events. It happens that there are entries where the period shows a greyed out (not editable) "user defined" in the Thunderbird calendar, though it was never set this way (originally mine had been all set to 1 year). Delete those entries e. g. in TB and create a new event with correct settings - voila, error gone.

I still don't know why some recurring events inadvertently change this way. But at least now I know how to get rid of this error.

fcrozat commented 7 years ago

Same issue when using Novell/Micro-Focus Groupwise caldav backend. I can't change recurring events on the server.