-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jtx Board] Task sync causes NullPointerException #1265
Comments
According to the exception, something in @ArnyminerZ Can you please have a look |
I've taken a look, and the error could be coming from ical4android, though I'm not sure. There this call: And I'd say that is the case because the stack trace shows a call to:
which tries to write on the resource
and that's what calls the line above. It's not clear why the error is being thrown at |
It could be even related to recurring tasks because here: there's a Edit: according to the debug info, Edit 2: But that's for the calendar, the error may be caused by the recurrence instance which is not inheriting the component... |
When using Android Studio's Code / Analyze stack trace with a ProGuard unscrambler from the market place and the mapping.txt of 4.4.5-standard, the stack trace becomes:
In the 4.4.5 source code, this line is:
So I think the problem must be there, probably in one of the What do you think @ArnyminerZ @sunkup ? |
Good to know, then we should add some kind of handler for these edge cases. |
Technically, As another solution, what if we just handle that if |
We have received the iCalendar: BEGIN:VCALENDAR
PRODID:-Vivaldi Calendar V1.0//EN
VERSION:2.0
CALSCALE:GREGORIAN
DTSTAMP:20250228T032800Z
[… VTIMEZONE …]
BEGIN:VTODO
DTSTAMP;VALUE=DATE-TIME:20250228T032800Z
DESCRIPTION:test desc
DUE;TZID=America/New_York:20250228T130000
RECURRENCE-ID;TZID=America/New_York:20250228T130000
SEQUENCE:1
SUMMARY:Test Task
UID:47a23c66-8c1a-4b44-bbe8-ebf33f8cf80f
STATUS:COMPLETED
COMPLETED;TZID=America/New_York:20250227T222800
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:
TRIGGER:-PT1H
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Test Task
TRIGGER:-PT24H
END:VALARM
END:VTODO
BEGIN:VTODO
DTSTAMP;VALUE=DATE-TIME:20250228T032800Z
DESCRIPTION:test desc
DUE;TZID=America/New_York:20250228T130000
SEQUENCE:1
SUMMARY:Test Task
UID:47a23c66-8c1a-4b44-bbe8-ebf33f8cf80f
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=FR;UNTIL=20250505T235959Z
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:
TRIGGER:-PT1H
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:Test Task
TRIGGER:-PT24H
END:VALARM
END:VTODO
END:VCALENDAR There's really no |
Sure, make it as you think it's best, and it can then be discussed in the PR. |
Well, according to RFC 5545:
So as far as my understanding goes, Section 3.8.4.4 doesn't specify anything about making |
Since it's a vtodo property RFC-5545/3-6-2-to-do-component applies and by the logic given there:
So since the todoprop has a
|
Discussed in #1264
Originally posted by CrystalMV13 January 25, 2025
Hello, I have been using Davx5 for a bit, and it has been working great now, but I've identified an issue in syncing recurring tasks; syncing it throws a NullPointerException. I have attached the debug info and logcat (edited to remove my email address and calendar names). The important calendar is cal1. The bug begins only once the first task is marked as complete.
debug-info.txt
logcat.txt
Thank you in advance!
The text was updated successfully, but these errors were encountered: