[sync] blackberry/funambol reports String index out of range: -9

jprimes giuseppe.monticelli at gmail.com
Mon Nov 19 20:46:57 UTC 2007


Hi Jamie,

thank you for your feedback.

Please refer to my comment to the bug filed by you on ObjectWeb
(http://forge.objectweb.org/tracker/index.php?func=detail&aid=307197&group_id=96&atid=100096).

If you want, you can provide some more feedback, and this could really help
in improving the Funambol BlackBerry Plug-in Community Edition.

Regards,
    Giuseppe



jmcclelland wrote:
> 
> Hi all,
> 
> I'm using a new Blackberry 8703e (4.1) with the Funambol Black Berry
> Plug-in
> (version 3.0.7).
> 
> On the Horde side, I have the CVS version as of today (and framework).
> 
> I turned on php error logs (and none are rerported).
> 
> When I sync, funambol reports:
> 
> Synchronization failed.
> java.lang.StringIndexOutOfBoundsException: String index out or range: -9
> 
> Below is the horde log and I've attached the contents of /tmp/sync/. Any
> ideas? Or is this a funambol problem?
> 
> Thanks for a great program!
> jamie
> 
> 
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: Backend of class
> SyncML_Backend_Horde created [on line 252 of
> "/usr/local/share/php/SyncML/Backend.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: New session created:
> ec4b72b8ffe3778c4e9eec2ced46caa6 [on line 34 of
> "/usr/local/share/php/SyncML/Command/SyncHdr.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: checking auth for
> user=jmcclelland [on line 462 of
> "/usr/local/share/php/SyncML/Backend/Horde.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SQL Query by
> Prefs_sql::retrieve():
> SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE pref_uid =
> ?
> AND pref_scope = ?, values: jmcclelland, horde [on line 148 of
> "/usr/local/share/php/Horde/Prefs/sql.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] Hook
> _prefs_change_hook_last_login
> in application horde not called. [on line 1485 of
> "/usr/local/share/php/Horde.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: authorized=1 version=2
> msgid=1 source=fbb-851180784
> target=http://xxxxxxxxx/horde-head/rpc.php
> user=jmcclelland charset=UTF-8 wbxml= [on line 453 of
> "/usr/local/share/php/SyncML.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: erase map:DELETE FROM
> horde_syncml_map  WHERE syncml_syncpartner = 'fbb-851180784' AND syncml_db
> =
> 'calendar' AND syncml_uid='jmcclelland' [on line 804 of
> "/usr/local/share/php/SyncML/Backend/Horde.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: Create new sync for
> calendar; synctype=201 [on line 150 of
> "/usr/local/share/php/SyncML/Command/Alert.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: HandleFinal for state=0
> [on
> line 564 of "/usr/local/share/php/SyncML/Sync.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: Received Final from
> client.
> [on line 32 of "/usr/local/share/php/SyncML/Command/Final.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: Sending Final to
> client.
> [on line 518 of "/usr/local/share/php/SyncML.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: SyncML: return message
> completed [on line 553 of "/usr/local/share/php/SyncML.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SyncML: Finished at 2007-06-06
> 17:28:39. Packet logged in /tmp/sync/syncml_server_10.xml [on line 825 of
> "/usr/local/share/php/SyncML/Backend.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SQL Query by
> Prefs_sql::store():
> SELECT 1 FROM horde_prefs WHERE pref_uid = ? AND pref_name = ? AND
> pref_scope
> = ?, values: jmcclelland, last_login, horde [on line 210 of
> "/usr/local/share/php/Horde/Prefs/sql.php"]
> Jun 06 17:28:39 HORDE-HEAD [debug] [horde] SQL Query by
> Prefs_sql::store():
> UPDATE horde_prefs SET pref_value = ? WHERE pref_uid = ? AND pref_name = ?
> AND
> pref_scope = ?, values:
> a:2:{s:4:"time";i:1181165319;s:4:"host";s:11:"192.168.0.1";}, jmcclelland,
> last_login, horde [on line 244 of
> "/usr/local/share/php/Horde/Prefs/sql.php"]
> 
> -- 
> Jamie McClelland
> 718-303-3204 ext. 101
> 
> May First/People Link
> Growing networks to build a just world
> http://www.mayfirst.org
> Members Local 1180, Communications Workers of America, AFL-CIO
> 
> PGP Key: http://mayfirst.org/jamie-pgp
> 
> DEBUG:  Backend of class SyncML_Backend_Horde created
> DEBUG:  New session created: ec4b72b8ffe3778c4e9eec2ced46caa6
> DEBUG:  checking auth for user=jmcclelland
> DEBUG:  authorized=1 version=2 msgid=1 source=fbb-851180784
> target=http://xxxxx/horde-head/rpc.php user=jmcclelland charset=UTF-8
> wbxml=
> DEBUG:  erase map:DELETE FROM horde_syncml_map  WHERE syncml_syncpartner =
> 'fbb-851180784' AND syncml_db = 'calendar' AND syncml_uid='jmcclelland'
> DEBUG:  Create new sync for calendar; synctype=201
> DEBUG:  HandleFinal for state=0
> DEBUG:  Received Final from client.
> DEBUG:  Sending Final to client.
> DEBUG:  SyncML: return message completed
> DEBUG:  Finished at 2007-06-06 17:28:39. Packet logged in
> /tmp/sync/syncml_server_10.xml
> 
> 
> 11
> -- 
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe at lists.horde.org
> 
> 

-- 
View this message in context: http://www.nabble.com/blackberry-funambol-reports-String-index-out-of-range%3A--9-tf3880696.html#a13844977
Sent from the Horde - Sync mailing list archive at Nabble.com.



More information about the sync mailing list