DAVx5 error with calendar



  • I wonder if someone can help me with this error.

    --- BEGIN DEBUG INFO ---
    SYNCHRONIZATION INFO
    Account name: arturo.c@llunainvestments.com
    Authority: com.android.calendar
    
    REMOTE RESOURCE:
    http://flchildcarebroker.com/yeticrm/dav.php/calendars/artcien/YFCalendar/YetiForceCRM-df36066b-1bbd-4af2-841d-8d1bf8b54370.ics
    
    EXCEPTION:
    at.bitfire.ical4android.InvalidCalendarException: Couldn't parse iCalendar
    	at at.bitfire.ical4android.ICalendar$Companion.fromReader(ICalendar.kt:72)
    	at at.bitfire.ical4android.Event$Companion.eventsFromReader(Event.kt:76)
    	at at.bitfire.ical4android.Event$Companion.eventsFromReader$default(Event.kt:75)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager.processVEvent(CalendarSyncManager.kt:160)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager.access$processVEvent(CalendarSyncManager.kt:42)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$2$1$1.invoke(CalendarSyncManager.kt:145)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$2$1$1.invoke(CalendarSyncManager.kt:42)
    	at at.bitfire.davdroid.syncadapter.SyncManager.useRemote(SyncManager.kt:823)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$2$1.invoke(CalendarSyncManager.kt:132)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$2$1.invoke(CalendarSyncManager.kt:42)
    	at at.bitfire.dav4jvm.Response$Companion.parse(Response.kt:211)
    	at at.bitfire.dav4jvm.DavResource$processMultiStatus$2.invoke(DavResource.kt:465)
    	at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:484)
    	at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:435)
    	at at.bitfire.dav4jvm.DavCalendar.multiget(DavCalendar.kt:151)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$2.invoke(CalendarSyncManager.kt:131)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$2.invoke(CalendarSyncManager.kt:42)
    	at at.bitfire.davdroid.syncadapter.SyncManager.useRemote(SyncManager.kt:812)
    	at at.bitfire.davdroid.syncadapter.SyncManager.useRemoteCollection(SyncManager.kt:833)
    	at at.bitfire.davdroid.syncadapter.CalendarSyncManager.downloadRemote(CalendarSyncManager.kt:130)
    	at at.bitfire.davdroid.syncadapter.SyncManager$syncRemote$1$1.run(SyncManager.kt:454)
    	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    	at java.lang.Thread.run(Thread.java:764)
    Caused by: net.fortuna.ical4j.data.ParserException: Error at line 11:Invalid UTC offset [-500] - must be of the form: (+/-)HHMM[SS]
    	at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:158)
    	at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:198)
    	at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:178)
    	at at.bitfire.ical4android.ICalendar$Companion.fromReader(ICalendar.kt:70)
    	... 25 more
    Caused by: java.lang.IllegalArgumentException: Invalid UTC offset [-500] - must be of the form: (+/-)HHMM[SS]
    	at net.fortuna.ical4j.model.UtcOffset.<init>(UtcOffset.java:80)
    	at net.fortuna.ical4j.model.property.TzOffsetFrom.setValue(TzOffsetFrom.java:108)
    	at net.fortuna.ical4j.data.CalendarBuilder$ContentHandlerImpl.propertyValue(CalendarBuilder.java:299)
    	at net.fortuna.ical4j.data.CalendarParserImpl$PropertyParser.parse(CalendarParserImpl.java:282)
    	at net.fortuna.ical4j.data.CalendarParserImpl$PropertyParser.access$1100(CalendarParserImpl.java:229)
    	at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:210)
    	at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.parse(CalendarParserImpl.java:422)
    	at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.access$900(CalendarParserImpl.java:406)
    	at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:208)
    	at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.parse(CalendarParserImpl.java:422)
    	at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.access$900(CalendarParserImpl.java:406)
    	at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:208)
    	at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendar(CalendarParserImpl.java:115)
    	at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendarList(CalendarParserImpl.java:180)
    	at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:149)
    	... 28 more
    
    SOFTWARE INFORMATION
    * at.bitfire.davdroid 2.6.1.1-gplay (315) from com.android.vending
    * org.dmfs.tasks 1.2.3 (77600) from com.android.vending
    * com.android.providers.contacts 9 (28)
    * com.android.providers.calendar 9 (28)
    * com.google.android.contacts 3.14.0.282336800 (2307615) from com.android.vending
    * com.google.android.calendar 2019.47.2-284533606-release (2016432390) from com.android.vending
    * me.bluemail.mail 1.9.7.18 (15726) from com.android.vending
    
    CONNECTIVITY (at the moment)
    - [ Transports: CELLULAR Capabilities: IMS&NOT_METERED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED Unwanted:  LinkUpBandwidth>=14Kbps LinkDnBandwidth>=14Kbps Specifier: <1>]
    - [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED Unwanted:  LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -66]
    
    CONFIGURATION
    Power saving disabled: yes
    android.permission.READ_CONTACTS: granted
    android.permission.WRITE_CONTACTS: granted
    android.permission.READ_CALENDAR: granted
    android.permission.WRITE_CALENDAR: granted
    org.dmfs.permission.READ_TASKS: granted
    org.dmfs.permission.WRITE_TASKS: granted
    android.permission.ACCESS_COARSE_LOCATION: denied
    System-wide synchronization: automatically
    Account: arturo.c@llunainvestments.com
      Address book sync. interval: 15 min
      Calendar     sync. interval: 15 min
      OpenTasks    sync. interval: 15 min
      WiFi only: false
      [CardDAV] Contact group method: GROUP_VCARDS
      [CalDAV] Time range (past days): 90
               Manage calendar colors: true
               Use event colors: false
    Address book account: YFAddressBook (arturo.c@llunainvestments.com aQ)
      Main account: Account {name=arturo.c@llunainvestments.com, type=bitfire.at.davdroid}
      URL: http://flchildcarebroker.com/yeticrm/dav.php/addressbooks/artcien/YFAddressBook/
      Sync automatically: true
    
    SQLITE DUMP
    android_metadata
    	|  locale |
    	|  en_US |
    ----------
    service
    	|  id | accountName | type | principal |
    	|  3 | arturo.c@llunainvestments.com | carddav | http://flchildcarebroker.com/yeticrm/dav.php/principals/artcien/ |
    	|  4 | arturo.c@llunainvestments.com | caldav | http://flchildcarebroker.com/yeticrm/dav.php/principals/artcien/ |
    ----------
    sqlite_sequence
    	|  name | seq |
    	|  service | 4 |
    	|  homeset | 6 |
    	|  collection | 7 |
    ----------
    homeset
    	|  id | serviceId | url | privBind | displayName |
    	|  5 | 3 | http://flchildcarebroker.com/yeticrm/dav.php/addressbooks/artcien/ | 1 | <null> |
    	|  6 | 4 | http://flchildcarebroker.com/yeticrm/dav.php/calendars/artcien/ | 1 | <null> |
    ----------
    collection
    	|  id | serviceId | type | url | privWriteContent | privUnbind | forceReadOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | supportsVJOURNAL | source | sync |
    	|  6 | 3 | ADDRESS_BOOK | http://flchildcarebroker.com/yeticrm/dav.php/addressbooks/artcien/YFAddressBook/ | 1 | 1 | 0 | YFAddressBook | <null> | <null> | <null> | <null> | <null> | <null> | <null> | 1 |
    	|  7 | 4 | CALENDAR | http://flchildcarebroker.com/yeticrm/dav.php/calendars/artcien/YFCalendar/ | 1 | 1 | 0 | YFCalendar | <null> | <null> | <null> | 1 | 1 | 0 | <null> | 1 |
    ----------
    room_master_table
    	|  id | identity_hash |
    	|  42 | a7554d1ebc5ecfe0c7aefe271485d63c |
    ----------
    
    SYSTEM INFORMATION
    Android version: 9 (ONEPLUS A6013_34_191016)
    Device: OnePlus ONEPLUS A6013 (OnePlus6TSingle)
    
    --- END DEBUG INFO ---
    

  • developer

    Hello,

    The server sends an invalid event:

    Caused by: net.fortuna.ical4j.data.ParserException: Error at line 11:Invalid UTC offset [-500] - must be of the form: (+/-)HHMM[SS]

    I suggest to download the “remote resource” with the browser (same credentials as for CalDAV) and then have a look at the event, especially in line 11. Then you can fix the event or just delete it and enter it again. You will also find the origin/creating program of the event.


Log in to reply
 

Similar topics

  • 2
  • 17
  • 8