Replies: 1 comment 1 reply
-
Hi Paulo, This is a very rare bug that only occurs on Android 8.0.0 devices. https://www.davx5.com/faq/java-lang-nullpointerexception-java-util-gettimezone The only thing we know is that it's related to system caches. You can uninstall DAVx⁵, then install it again and it should work again. Or alternatively you can update your Android version. Does this help? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Good day,
After updating from 4.2.0.2-ose to 4.2.0.3-ose, I started having issues in synchronising my external calendar.
Please see below the debug info.
Any assistance will be much appreciated. Thanks.
Regards.
Paulo
--- BEGIN DEBUG INFO ---
SYNCHRONIZATION INFO
Account: Account {name=[email protected], type=bitfire.at.davdroid}
Authority: com.android.calendar
EXCEPTION
at.bitfire.ical4android.InvalidCalendarException: Couldn't parse iCalendar
at at.bitfire.ical4android.ICalendar$Companion.fromReader(ICalendar.kt:14)
at at.bitfire.ical4android.Event$Companion.eventsFromReader(Event.kt:1)
at at.bitfire.ical4android.Event$Companion.eventsFromReader$default(Event.kt:1)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager.processVEvent(CalendarSyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager.access$processVEvent(CalendarSyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$1$1$1.invoke(CalendarSyncManager.kt:8)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$1$1$1.invoke(CalendarSyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.SyncManager.responseExceptionContext(SyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$1$1.invoke(CalendarSyncManager.kt:2)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$1$1.invoke(CalendarSyncManager.kt:1)
at at.bitfire.dav4jvm.Response$Companion.parse(Response.kt:38)
at at.bitfire.dav4jvm.DavResource.processMultiStatus$parseMultiStatus(DavResource.kt:7)
at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:13)
at at.bitfire.dav4jvm.DavResource.processMultiStatus(DavResource.kt:6)
at at.bitfire.dav4jvm.DavCalendar.multiget(DavCalendar.kt:11)
at at.bitfire.dav4jvm.DavCalendar.multiget$default(DavCalendar.kt:1)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$1.invoke(CalendarSyncManager.kt:2)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager$downloadRemote$1.invoke(CalendarSyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.SyncManager.remoteExceptionContext(SyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.SyncManager.remoteExceptionContext(SyncManager.kt:8)
at at.bitfire.davdroid.syncadapter.CalendarSyncManager.downloadRemote(CalendarSyncManager.kt:2)
at at.bitfire.davdroid.syncadapter.SyncManager$syncRemote$1$download$1.invokeSuspend(SyncManager.kt:2)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:18)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:21)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:20)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:2)
at at.bitfire.davdroid.syncadapter.SyncManager.syncRemote(SyncManager.kt:5)
at at.bitfire.davdroid.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:45)
at at.bitfire.davdroid.syncadapter.SyncManager$performSync$1.invoke(SyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.SyncManager.unwrapExceptions(SyncManager.kt:1)
at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.kt:3)
at at.bitfire.davdroid.syncadapter.CalendarsSyncAdapterService$CalendarsSyncAdapter.sync(CalendarsSyncAdapterService.kt:14)
at at.bitfire.davdroid.syncadapter.SyncAdapterService$SyncAdapter$onPerformSync$1.invoke(SyncAdapterService.kt:3)
at at.bitfire.davdroid.syncadapter.SyncAdapterService$SyncAdapter$onPerformSync$1.invoke(SyncAdapterService.kt:1)
at at.bitfire.davdroid.ConcurrentUtils.runSingle(ConcurrentUtils.kt:2)
at at.bitfire.davdroid.syncadapter.SyncAdapterService$SyncAdapter.onPerformSync(SyncAdapterService.kt:3)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:272)
Caused by: net.fortuna.ical4j.data.ParserException: Error at line 488:length=0; index=0
at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:17)
at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:3)
at net.fortuna.ical4j.data.CalendarBuilder.build(CalendarBuilder.java:2)
at at.bitfire.ical4android.ICalendar$Companion.fromReader(ICalendar.kt:4)
... 37 more
Caused by: java.lang.StringIndexOutOfBoundsException: length=0; index=0
at java.lang.String.charAt(Native Method)
at net.fortuna.ical4j.util.Numbers.parseInt(Numbers.java:1)
at net.fortuna.ical4j.model.NumberList$$ExternalSyntheticLambda1.apply(Unknown Source:2)
at j$.util.stream.d2.accept(Unknown Source:4)
at j$.util.K.forEachRemaining(Unknown Source:20)
at j$.util.stream.c.k0(Unknown Source:4)
at j$.util.stream.b2.g(Unknown Source:2)
at j$.util.stream.c.R0(Unknown Source:2)
at j$.util.stream.j2.collect(Unknown Source:3)
at net.fortuna.ical4j.model.NumberList.(NumberList.java:8)
at net.fortuna.ical4j.model.Recur.(Recur.java:42)
at net.fortuna.ical4j.model.Recur.(Recur.java:7)
at net.fortuna.ical4j.model.property.RRule.setValue(RRule.java:1)
at net.fortuna.ical4j.model.property.RRule.(RRule.java:6)
at net.fortuna.ical4j.model.property.RRule$Factory.createProperty(RRule.java:1)
at net.fortuna.ical4j.model.PropertyBuilder.build(PropertyBuilder.java:5)
at net.fortuna.ical4j.data.DefaultContentHandler.endProperty(DefaultContentHandler.java:3)
at net.fortuna.ical4j.data.CalendarParserImpl$PropertyParser.parse(CalendarParserImpl.java:15)
at net.fortuna.ical4j.data.CalendarParserImpl$PropertyParser.access$1100(CalendarParserImpl.java:1)
at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:7)
at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.parse(CalendarParserImpl.java:7)
at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.access$900(CalendarParserImpl.java:1)
at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:5)
at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.parse(CalendarParserImpl.java:7)
at net.fortuna.ical4j.data.CalendarParserImpl$ComponentParser.access$900(CalendarParserImpl.java:1)
at net.fortuna.ical4j.data.CalendarParserImpl$PropertyListParser.parse(CalendarParserImpl.java:5)
at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendar(CalendarParserImpl.java:6)
at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendarList(CalendarParserImpl.java:2)
at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:13)
... 40 more
LOCAL RESOURCE
null
REMOTE RESOURCE
https://canniberia.com:2080/rpc/calendars/[email protected]/calendar:4bf5e3ac-9711-02ef-43f2-5000e06850f1/040000008200E00074C5B7101A82E00800000000C097F830375ED8010000000000000000100000003DADE569DA72FB45ABF3554A7A4328F4.ics
SOFTWARE INFORMATION
┌────────────────────────────────┬─────────────────────────────┬────────────┬─────────────────────────────────────┬───────┐
│ Package │ Version │ Code │ Installer │ Notes │
├────────────────────────────────┼─────────────────────────────┼────────────┼─────────────────────────────────────┼───────┤
│ at.bitfire.davdroid │ 4.2.0.3-ose │ 402000009 │ com.google.android.packageinstaller │ │
│ com.android.providers.contacts │ 2.0.53 │ 205300000 │ — │ │
│ com.android.providers.calendar │ 1.0.00.35 │ 100000035 │ — │ │
│ com.samsung.android.contacts │ 3.8.27.11 │ 382700011 │ — │ │
│ com.samsung.android.calendar │ 4.4.09.1 │ 440900001 │ com.sec.android.app.samsungapps │ │
│ com.google.android.calendar │ 2022.14.0-439152615-release │ 2017067278 │ com.android.vending │ │
└────────────────────────────────┴─────────────────────────────┴────────────┴─────────────────────────────────────┴───────┘
SYSTEM INFORMATION
Android version: 8.0.0 (R16NW.G930FXXU8ETI2)
Device: samsung SM-G930F (herolte)
Locale(s): [en_GB]
Time zone: Europe/Lisbon
Internal memory (/data): 7 GB free of 24 GB
CONNECTIVITY
☒ wlan0
☐ ?
Data saver: disabled
CONFIGURATION
Power saving disabled: yes
System-wide synchronization: automatically
Notifications:
Permissions:
ACCOUNTS
┌──────────────────────────────────┬──────────┬───────────┬──────────┬─────────────┐
│ Authority │ Syncable │ Auto-sync │ Interval │ Entries │
├──────────────────────────────────┼──────────┼───────────┼──────────┼─────────────┤
│ at.bitfire.davdroid.addressbooks │ 1 │ true │ 60 min │ — │
│ com.android.calendar │ 1 │ true │ 60 min │ 13 event(s) │
│ at.techbee.jtx.provider │ 0 │ false │ 1440 min │ — │
│ org.dmfs.tasks │ 0 │ false │ 1440 min │ — │
│ org.tasks.opentasks │ 0 │ false │ 1440 min │ — │
│ com.android.contacts │ 0 │ false │ — │ — │
└──────────────────────────────────┴──────────┴───────────┴──────────┴─────────────┘
WiFi only: false
Contact group method: GROUP_VCARDS
Time range (past days): 90
Default alarm (min before): null
Manage calendar colors: true
Use event colors: false
DATABASE DUMP
android_metadata
┌────────┐
│ locale │
├────────┤
│ en_GB │
└────────┘
service
┌────┬──────────────────────┬─────────┬──────────────────────────────────────────────────────────────────┐
│ id │ accountName │ type │ principal │
├────┼──────────────────────┼─────────┼──────────────────────────────────────────────────────────────────┤
│ 1 │ [email protected] │ carddav │ https://canniberia.com:2080/rpc/principals/[email protected]/ │
│ 2 │ [email protected] │ caldav │ https://canniberia.com:2080/rpc/principals/[email protected]/ │
└────┴──────────────────────┴─────────┴──────────────────────────────────────────────────────────────────┘
sqlite_sequence
┌────────────┬──────┐
│ name │ seq │
├────────────┼──────┤
│ service │ 2 │
│ homeset │ 4 │
│ collection │ 5 │
│ syncstats │ 2579 │
└────────────┴──────┘
homeset
┌────┬───────────┬──────────┬────────────────────────────────────────────────────────────────────┬──────────┬─────────────┐
│ id │ serviceId │ personal │ url │ privBind │ displayName │
├────┼───────────┼──────────┼────────────────────────────────────────────────────────────────────┼──────────┼─────────────┤
│ 1 │ 1 │ 1 │ https://canniberia.com:2080/rpc/addressbooks/[email protected]/ │ 1 │ — │
│ 2 │ 1 │ 0 │ https://canniberia.com:2080/rpc/addressbooks/-system-/ │ 1 │ — │
│ 3 │ 2 │ 1 │ https://canniberia.com:2080/rpc/calendars/[email protected]/ │ 1 │ — │
│ 4 │ 2 │ 0 │ https://canniberia.com:2080/rpc/calendars/-system-/ │ 1 │ — │
└────┴───────────┴──────────┴────────────────────────────────────────────────────────────────────┴──────────┴─────────────┘
collection
┌────┬───────────┬───────────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────┬────────────┬───────────────┬───────────────────────────────────┬─────────────────────────────────┬──────────────────────────────────────────────────────────────────┬───────────┬──────────┬────────────────┬───────────────┬──────────────────┬────────┬──────┐
│ id │ serviceId │ homeSetId │ type │ url │ privWriteContent │ privUnbind │ forceReadOnly │ displayName │ description │ owner │ color │ timezone │ supportsVEVENT │ supportsVTODO │ supportsVJOURNAL │ source │ sync │
├────┼───────────┼───────────┼──────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────┼────────────┼───────────────┼───────────────────────────────────┼─────────────────────────────────┼──────────────────────────────────────────────────────────────────┼───────────┼──────────┼────────────────┼───────────────┼──────────────────┼────────┼──────┤
│ 1 │ 1 │ 1 │ ADDRESS_BOOK │ https://canniberia.com:2080/rpc/addressbooks/[email protected]/contacts~b128e275-7cde-2cf1-f127-38e0bb7f0473/ │ 1 │ 1 │ 0 │ Shared Address Book [pleandro] │ — │ https://canniberia.com:2080/rpc/principals/[email protected]/ │ — │ — │ — │ — │ — │ — │ 0 │
│ 2 │ 1 │ 1 │ ADDRESS_BOOK │ https://canniberia.com:2080/rpc/addressbooks/[email protected]/contacts~95aef7a0-090d-f20f-4def-812fb7af9578/ │ 1 │ 1 │ 0 │ Address Book │ — │ https://canniberia.com:2080/rpc/principals/[email protected]/ │ — │ — │ — │ — │ — │ — │ 0 │
│ 3 │ 1 │ 1 │ ADDRESS_BOOK │ https://canniberia.com:2080/rpc/addressbooks/[email protected]/contacts~favourites/ │ 1 │ 1 │ 0 │ Favorite Recipients │ — │ https://canniberia.com:2080/rpc/principals/[email protected]/ │ — │ — │ — │ — │ — │ — │ 0 │
│ 4 │ 2 │ 3 │ CALENDAR │ https://canniberia.com:2080/rpc/calendars/[email protected]/calendar:4bf5e3ac-9711-02ef-43f2-5000e06850f1/ │ 1 │ 1 │ 0 │ Calendar │ This is your personal calendar. │ https://canniberia.com:2080/rpc/principals/[email protected]/ │ -10215562 │ — │ 1 │ 0 │ 0 │ — │ 1 │
│ 5 │ 2 │ 3 │ CALENDAR │ https://canniberia.com:2080/rpc/calendars/[email protected]/tasks~oRZewLOiI4Ttc7tfZNs2PWS/ │ 1 │ 1 │ 0 │ Task list of [email protected] │ — │ https://canniberia.com:2080/rpc/principals/[email protected]/ │ -291567 │ — │ 0 │ 1 │ 0 │ — │ 1 │
└────┴───────────┴───────────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────┴────────────┴───────────────┴───────────────────────────────────┴─────────────────────────────────┴──────────────────────────────────────────────────────────────────┴───────────┴──────────┴────────────────┴───────────────┴──────────────────┴────────┴──────┘
syncstats
┌──────┬──────────────┬──────────────────────┬───────────────┐
│ id │ collectionId │ authority │ lastSync │
├──────┼──────────────┼──────────────────────┼───────────────┤
│ 2579 │ 4 │ com.android.calendar │ 1651568401035 │
└──────┴──────────────┴──────────────────────┴───────────────┘
webdav_document: 0 row(s), data not listed here
webdav_mount
┌────┬──────┬─────┐
│ id │ name │ url │
├────┼──────┼─────┤
└────┴──────┴─────┘
room_master_table
┌────┬──────────────────────────────────┐
│ id │ identity_hash │
├────┼──────────────────────────────────┤
│ 42 │ 223aa7f0fd53730921ca212a663585d8 │
└────┴──────────────────────────────────┘
APP SETTINGS
┌────────────────────────────┬───────────────┐
│ Setting │ Value │
├────────────────────────────┼───────────────┤
│ battery_optimization │ true │
│ distrust_system_certs │ false │
│ foreground_service │ false │
│ hint_AutostartPermissions │ false │
│ hint_OpenTasksNotInstalled │ false │
│ proxy_host │ localhost │
│ proxy_port │ 8118 │
│ time_nextDonationPopup │ 1653028395335 │
└────────────────────────────┴───────────────┘
┌───────────────────────┬───────────┐
│ Setting │ Value │
├───────────────────────┼───────────┤
│ default_sync_interval │ 14400 │
│ distrust_system_certs │ false │
│ proxy_host │ localhost │
│ proxy_port │ 9050 │
│ proxy_type │ -1 │
│ sync_all_collections │ false │
└───────────────────────┴───────────┘
--- END DEBUG INFO ---
Beta Was this translation helpful? Give feedback.
All reactions