[Tickets #11232] Re: PHP errors during syncml sync

bugs at horde.org bugs at horde.org
Tue Jul 3 05:53:16 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11232
------------------------------------------------------------------------------
  Ticket             | 11232
  Updated By         | inform at tiker.net
  Summary            | PHP errors during syncml sync
  Queue              | Turba
  Version            | 3.0.14
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
+New Attachment     | horde-sync.zip
------------------------------------------------------------------------------


inform at tiker.net (2012-07-03 05:53) wrote:

I'm attaching the sync log generated by horde.

It actually looks like Horde thought everything went swimmingly. The  
Android Funambol client didn't think so:

------------------------------------------------------------------------------------------------------
Mon Jul 02 15:47:22 EDT 2012 [INFO] [SynchronizationController]  
Starting request handler
Mon Jul 02 15:47:34 EDT 2012 [ERROR] [AppInitializer] Exception during  
account creation: (android.accounts.OperationCanceledException)
Mon Jul 02 15:47:34 EDT 2012 [ERROR]  
android.accounts.OperationCanceledException
	at  
android.accounts.AccountManager$AmsTask.internalGetResult(AccountManager.java:1340)
	at  
android.accounts.AccountManager$AmsTask.getResult(AccountManager.java:1368)
	at  
android.accounts.AccountManager$AmsTask.getResult(AccountManager.java:1289)
	at com.funambol.android.AppInitializer$1.run(AppInitializer.java:407)
	at android.accounts.AccountManager$10.run(AccountManager.java:1264)
	at android.os.Handler.handleCallback(Handler.java:605)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:4575)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at  
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
	at dalvik.system.NativeStart.main(Native Method)

Mon Jul 02 15:50:40 EDT 2012 [ERROR] [SyncManager]  
SyncException(com.funambol.sync.SyncException: Controlled interruption)
Mon Jul 02 15:50:40 EDT 2012 [ERROR] com.funambol.sync.SyncException:  
Controlled interruption
	at  
com.funambol.sync.client.ConfigSyncSource.beginSync(ConfigSyncSource.java:85)
	at com.funambol.syncml.spds.SyncManager.sync(SyncManager.java:580)
	at com.funambol.client.engine.SyncEngine.fireSync(SyncEngine.java:510)
	at  
com.funambol.client.engine.SyncEngine$SyncThread.synchronize(SyncEngine.java:436)
	at com.funambol.client.engine.SyncEngine$SyncThread.sync(SyncEngine.java:356)
	at com.funambol.client.engine.SyncEngine$SyncThread.run(SyncEngine.java:334)

Tue Jul 03 01:42:41 EDT 2012 [ERROR] [SyncManager]  
Exception(java.lang.StringIndexOutOfBoundsException: length=0; index=0)
Tue Jul 03 01:42:41 EDT 2012 [ERROR]  
java.lang.StringIndexOutOfBoundsException: length=0; index=0
	at com.funambol.util.Entities.unescape(Entities.java:245)
	at com.funambol.util.XmlUtil.unescapeXml(XmlUtil.java:96)
	at  
com.funambol.syncml.spds.SyncSourceLOHandler.getItem(SyncSourceLOHandler.java:1138)
	at com.funambol.syncml.spds.SyncManager.createSyncItem(SyncManager.java:2281)
	at com.funambol.syncml.spds.SyncManager.processCommand(SyncManager.java:2143)
	at  
com.funambol.syncml.spds.SyncManager.processSyncCommand(SyncManager.java:2201)
	at  
com.funambol.syncml.spds.SyncManager.processModifications(SyncManager.java:1837)
	at com.funambol.syncml.spds.SyncManager.sync(SyncManager.java:647)
	at com.funambol.client.engine.SyncEngine.fireSync(SyncEngine.java:510)
	at  
com.funambol.client.engine.SyncEngine$SyncThread.synchronize(SyncEngine.java:436)
	at com.funambol.client.engine.SyncEngine$SyncThread.sync(SyncEngine.java:356)
	at com.funambol.client.engine.SyncEngine$SyncThread.run(SyncEngine.java:334)

------------------------------------------------------------------------------------------------------

One of the funambol developers said this in response to my query here:
http://sourceforge.net/mailarchive/forum.php?thread_name=87pq8euqq9.fsf%40ding.tiker.net&forum_name=funambol-discussions

------------------------------------------------------------------------------------------------------
Hi Andreas,

  I seem to remember a bug with Horde that caused an invalid XML to be
  generated. In this case the client cannot extract the list of
  commands/items and therefore it cannot continue the sync process.

  HTH,
  Marco
------------------------------------------------------------------------------------------------------

I'd much appreciate any help.

Andreas



inform at tiker.net (2012-07-03 05:53) uploaded: horde-sync.zip

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=horde-sync.zip&ticket=11232&fn=%2Fhorde-sync.zip





More information about the bugs mailing list