coscip / kolab-android

Automatically exported from code.google.com/p/kolab-android
Other
0 stars 0 forks source link

sync fails: at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Set up use of IMAP folder for contacts and calendar with XML/Kolab2
2. Use SyncKolab 1.54 on Thunderbird to populate the folder.
3. Use Kolab Client for Android 0.9 and start syncing.

Synchronization fails, and logcat yields:

I/sync    (10276): Syncing IMAP Messages
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): sk-vc-DA20799BEF6981A1: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): 55bccc21-8a35-4d12-a888-89dbf62c9fea: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): 94779c85-9126-4784-954f-a44a3004fbd9: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): 
040000008200E00074C5B7101A82E00800000000F036DABD3BA5CC01000000000000000010000000
D9EC8A303BAA014AB403C66953369A57: at.dasz.KolabDroid.Sync.SyncException: Unable 
to find XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): vCard sk-vc-BCCC3842A3D1610C: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
D/dalvikvm(10276): GC_CONCURRENT freed 327K, 43% free 3904K/6791K, external 
0K/0K, paused 2ms+2ms
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): test: at.dasz.KolabDroid.Sync.SyncException: Unable to find 
XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): sk-vc-BEABC9D984DFFD34: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): sk-vc-1E68DD9ED98D47E7: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): sk-vc-6FE907A131FF43FF: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, handle = 0x36b948
I/sync    (10276): 6. found no local entry => save
D/sync    (10276): Downloading item ...
E/sync    (10276): sk-vc-14773B7BE16A147C: 
at.dasz.KolabDroid.Sync.SyncException: Unable to find XML Document
I/sync    (10276): 9. process unprocessed local items
E/sync    (10276): ** sync finished
D/NativeCrypto(10276): returned from sslSelect() with result 1, error code 2
D/NativeCrypto(10276): returned from sslSelect() with result 1, error code 2
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, flag = 6, file size = 
21504
D/Database(10276): dbopen(): path = 
/data/data/at.dasz.KolabDroid/databases/KolabDroid.db, mode: wal, disk free 
size: 523 M, handle: 0x36b948
D/Database(10276): dbclose(): path = /data/data/at.dasz.Kolab

Original issue reported on code.google.com by DvO...@gmail.com on 26 Apr 2012 at 6:46

GoogleCodeExporter commented 9 years ago
Hi!

Can you create a test entry and post/send the mail with attachment?

Original comment by arthur.z...@gmail.com on 26 Apr 2012 at 9:32

GoogleCodeExporter commented 9 years ago
Sure, see the attachment.

BTW, I also got several app crashes today and yesterday, which I sent from my 
phone.

I also paste into here a couple of Thunderbird JavaScript error which might be 
related, too:

WARNING: Reading 'SyncKolab..autoSync' failed: [Exception... "Component 
returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) 
[nsIPrefBranch.getIntPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  
location: "JS frame :: chrome://synckolab/content/synckolab.js :: <TOP_LEVEL> 
:: line 151"  data: no]

WARNING: Reading 'SyncKolab..hiddenWindow' failed: [Exception... "Component 
returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) 
[nsIPrefBranch.getBoolPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  
location: "JS frame :: chrome://synckolab/content/synckolab.js :: <TOP_LEVEL> 
:: line 160"  data: no]

Original comment by DvO...@gmail.com on 27 Apr 2012 at 11:16

Attachments:

GoogleCodeExporter commented 9 years ago
I may have the same problem. When I try to sync, and check KolabDroid status, I 
see "items: 22" (the correct amount that are in my IMAP-file) and "Errors: 22" 
and then nothing appears on the Android calendar. I am using Thunderbird 12.0.1 
with Kolab Sync 1.54 to create the XML files. 

Original comment by Groege...@gmail.com on 24 May 2012 at 3:28

GoogleCodeExporter commented 9 years ago
I think I've found the problem. Today there will be a release.

Please add a comment if the new version solved the problem

Original comment by arthur.z...@gmail.com on 22 Jun 2012 at 9:00

GoogleCodeExporter commented 9 years ago
Unfortunately, the problem still exists with version 0.9.1 (see also issue 68).

Original comment by DvO...@gmail.com on 23 Jun 2012 at 10:39