This project is read-only.

can't sync

Feb 9, 2012 at 1:03 PM

Hello,

I've installed the microsoft sync sample on my iis and everything is working ok with the wp7 and html5 samples, but on android I can't sync.

If I login with a new user, that user is created on my sql, but android never get the information from tables, so when I try to create an item the priority for example has no information to select, and the lists I create on android never go to sql also.

If I login with an existent user, I have the same error.

I'm getting this error:

02-09 12:04:09.917: D/pl.selvin.android.ListSyncSample.support.SyncHelperFroyo(661): Bundle[{accountType=pl.selvin.android.ListSyncSample.sync, authAccount=xxx}] 
02-09 12:04:11.467: D/dalvikvm(661): GC_EXTERNAL_ALLOC freed 234K, 48% free 3204K/6087K, external 3198K/4462K, paused 79ms
02-09 12:04:11.907: D/pl.selvin.android.syncframework.content.BaseContentProvider(661): CP-update-sync: content://pl.selvin.android.ListSyncSample/pl_selvin_android_syncframework_dosync/DefaultScopeSyncService/defaultscope
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): ParseException
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): java.lang.NullPointerException
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): at pl.selvin.android.syncframework.content.BaseContentProvider.Sync(BaseContentProvider.java:642)
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): at pl.selvin.android.syncframework.content.BaseContentProvider.update(BaseContentProvider.java:417)
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): at android.content.ContentProvider$Transport.update(ContentProvider.java:228)
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): at android.content.ContentProviderClient.update(ContentProviderClient.java:77)
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): at pl.selvin.android.ListSyncSample.syncadapter.SyncAdapter.onPerformSync(SyncAdapter.java:34)
02-09 12:04:12.357: E/pl.selvin.android.syncframework.content.BaseContentProvider(661): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164)
02-09 12:04:12.357: D/pl.selvin.android.syncframework.content.BaseContentProvider(661): CP-Sync: 0 d, 0 h, 0 m, 0 s, 401 m

Thank you for making this sample.

Apr 4, 2012 at 11:00 AM
Edited Jan 25, 2013 at 2:29 PM

i think it was this error: http://selvinlistsyncsample.codeplex.com/workitem/2