Nullpointer exception on sync (#64)
Bartosz Małkowski opened 1 decade ago
01-25 11:33:54.764: E/AndroidRuntime(17587): FATAL EXCEPTION: SyncAdapterThread-1
01-25 11:33:54.764: E/AndroidRuntime(17587): java.lang.NullPointerException
01-25 11:33:54.764: E/AndroidRuntime(17587): 	at android.content.ContentUris.parseId(ContentUris.java:40)
01-25 11:33:54.764: E/AndroidRuntime(17587): 	at org.tigase.mobile.sync.SyncAdapter.ensureGroupExists(SyncAdapter.java:179)
01-25 11:33:54.764: E/AndroidRuntime(17587): 	at org.tigase.mobile.sync.SyncAdapter.onPerformSync(SyncAdapter.java:443)
01-25 11:33:54.764: E/AndroidRuntime(17587): 	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:163)
Andrzej Wójcik (Tigase) commented 1 decade ago

I checked this issue and it appears that groups for contacts can be added only on Android SDK API >= 13. I added API version detection.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
424
Version
One
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/stork#64
Please wait...
Page is in error, reload to recover