Now I get it to work. Datetime formats where wrong. iCalendar.org validator did not detect these problems. I find this errors using severinghaus.org validator here:. It is based on same iCal4j library.
Net.fortuna.ical4j.data.ParserException: Error at line 15:Illegal property
-
hi,
I am trying to add the long email id (min lenght - 32) while pulling new record i am facing getting below issue
09-22 16:00:10.050: W/System.err(20083): net.fortuna.ical4j.data.ParserException: Error at line 15:Illegal property [ BOOK.COM] 09-22 16:00:10.050: W/System.err(20083): at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:148) 09-22 16:00:10.055: W/System.err(20083): at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:210) 09-22 16:00:10.055: W/System.err(20083): at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:191) 09-22 16:00:10.055: W/System.err(20083): at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:179) 09-22 16:00:10.055: W/System.err(20083): at com.test.caldav.dav.resource.Event.parseEntity(Event.java:150) 09-22 16:00:10.055: W/System.err(20083): at com.test.caldav.dav.resource.RemoteCollection.multiGet(RemoteCollection.java:120) 09-22 16:00:10.055: W/System.err(20083): at com.test.caldav.dav.syncadapter.SyncManager.pullNew(SyncManager.java:284)
Below is the response i am getting from server.
09-22 16:00:09.870: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << " <caldav:calendar-data>BEGIN:VCALENDAR[\n]" 09-22 16:00:09.870: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "PRODID:-//Google Inc//Google Calendar 70.9054//EN[\n]" 09-22 16:00:09.870: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "VERSION:2.0[\n]" 09-22 16:00:09.870: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "CALSCALE:GREGORIAN[\n]" 09-22 16:00:09.875: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "X-WR-CALNAME:t.navaneethareddy@gmail.com[\n]" 09-22 16:00:09.875: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "X-WR-TIMEZONE:Asia/Calcutta[\n]" 09-22 16:00:09.875: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "BEGIN:VEVENT[\n]" 09-22 16:00:09.875: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "DTSTART:20140922T113000Z[\n]" 09-22 16:00:09.875: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "DTEND:20140922T12" 09-22 16:00:09.880: I/CalDav.WebDavResource(20083): multiGet 06 09-22 16:00:09.880: I/CalDav.WebDavResource(20083): multiGet 002 09-22 16:00:09.880: I/CalDav.WebDavResource(20083): multiGet 003 09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse 01 09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse 0001 09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse 02 09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse end 09-22 16:00:09.930: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "3000Z[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "DTSTAMP:20140922T102615Z[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "ORGANIZER;CN=Navaneethan Thambu:mailto:t.navaneethareddy@gmail.com[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "UID:19c589eb-eba4-4c55-bb86-eafaa72e85e0[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=re[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << " ddy.narendranath@facebook.com;X-NUM-GUESTS=0:mailto:reddy.narendranath@face[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << " book.com[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "CREATED:20140922T102615Z[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "DESCRIPTION:[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "LAST-MODIFIED:20140922T102615Z[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "LOCATION:[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "SEQUENCE:0[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "STATUS:CONFIRMED[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "SUMMARY:Fggg[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "TRANSP:TRANSPARENT[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "BEGIN:VALARM[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "ACTION:DISPLAY[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "DESCRIPTION:This is an event reminder[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "TRIGGER:-P0DT0H15M0S[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "END:VALARM[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "END:VEVENT[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "END:VCALENDAR[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "</caldav:calendar-data>[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << " </D:prop>[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << " </D:propstat>[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << " </D:response>[\n]" 09-22 16:00:09.940: D/ch.boye.httpclientandroidlib.wire(20083): http-outgoing-26 << "</D:multistatus>[\n]"
-
com.test.caldav? Are you using a modified version of DAVdroid?
09-22 16:00:09.880: I/CalDav.WebDavResource(20083): multiGet 06
09-22 16:00:09.880: I/CalDav.WebDavResource(20083): multiGet 002
09-22 16:00:09.880: I/CalDav.WebDavResource(20083): multiGet 003
09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse 01
09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse 0001
09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse 02
09-22 16:00:09.880: I/CalDav.WebDavResource(20083): checkResponse endThese lines are not from DAVdroid, too.
Please give us more information about your setup, including detailed information about your DAVdroid version, other CalDAV clients, which account(s) you use, server software and version etc.
-
Couldn’t verify this because my CalDAV server doesn’t insert the second break before (face)
book.com
.Please give us more information about your setup, including detailed information about your DAVdroid version, other CalDAV clients, which account(s) you use, server software and version etc.
-
Closing because of missing information and issue is probably not related to DAVdroid.