-
Notifications
You must be signed in to change notification settings - Fork 27
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
NullPointerException from getDateTime during export #42
Comments
Log from @pdwhittaker on #33. |
For #42. May fix the issue, if not hopefully tells us what is going wrong.
@pdwhittaker, let me know if you are able to test a debug .apk file, otherwise I will get @dschuermann to release this so you can test it (may take a while). |
I released 2.3 |
@jgriffiths, happy to try out a debug build. It's been a while since I sideloaded an apk though, so any "howto" pointers would be welcome. Will also keep an eye out for 2.3 becoming visible in F-Droid (no sign yet). |
@pdwhittaker F-Droid takes 1 day to get the newest version. They are checking for a new git tag once a day. |
@pdwhittaker To sideload an apk, often all you have to do is temporarily allow Oh, and of course, perform thorough virus/malware scanning of any apk before you decide to sideload it. |
Many thanks @jgriffiths, appears to be fixed (for me at least). F-Droid picked up 2.3 earlier today, I've now installed it, and both the local and the Google calendars that raised exceptions in the initial bug report are now exported without an error. Many thanks for the swift turnaround. |
@pdwhittaker Glad this has fixed it for you. I would like to know what the timezone was that was not found, if it is a common one we may want to support it manually. The failed TZ should be listed in a debug log, if you could update here that would be great. I suspect we may want an option for what to do with unknown timezones in the settings (default to UTC, use phone/calendar TZ etc). |
Captured logcat output as requested. The XDA forum post was very helpful (thanks @jgriffiths), and I ended up doing the following:
adb logcat -v long > phone.log
sed -n '/ICS_/,/^\r$/p' < phone.log > bugtest.log
to extract requested sections. (Needed the\r
to match "empty" lines, since logcat outputs DOS line endings.)Test 1: Successfully export a local calendar (id 7, with 30 items):
Test 2: Trigger bug when exporting a local calendar (id 6):
Test 3: Trigger same bug when exporting a Google calendar (id 1):
I also captured some verbose logcat output with
adb logcat -v long '*:v' > phone.log
, but this included masses of data, including a dump of each entry read and written, so I've not included it here. I can generate (and sanitize) more of that if it would help.The text was updated successfully, but these errors were encountered: