====== One Media HUB et SOGo sur smartphones BlackBerry ======
OneMediaHUB est une application permettant la synchronisation de données et de contenu sur un appareil de type Smartphone.
Dans notre cas, c'est la seule solution actuelle pour synchroniser ce type d'appareils sur SOGo.
===== Soucis de synchronisation sur les agendas =====
==== Problème sur le TimeZone ====
Il est possible lors d'une nouvelle synchro d'avoir ce type d'erreurs dans les logs ds-server.log de funambol
[2013-01-16 12:13:19,445] [funambol.transport.http] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Handling incoming request
[2013-01-16 12:13:19,445] [funambol.transport.http] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Request URL: http://127.0.0.1:8080/funambol/ds/
[2013-01-16 12:13:19,445] [funambol.transport.http] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Requested sessionId: 848112485B91416B1BD6339E0FC4A753
[2013-01-16 12:13:19,448] [funambol.engine.pipeline] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Input processing stopped by com.funambol.foundation.synclet.BeanShellSynclet@fe0fd9[script=com/funambol/server/engine/pipeline/phones-support/bsh/BlackBerryPIMin.bsh,header=user-agent,pattern=Funambol BlackBerry Plug-in|fsc-j2me] (reason: BlackBerryPIMin Synclet finished)
[2013-01-16 12:13:19,448] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] getSyncItemFromId( { keyValue: 6EF6-4F3CDF80-1-43108580.ics } )
[2013-01-16 12:13:19,451] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] Preferred item type: 1
[2013-01-16 12:13:19,452] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] must secure? false
[2013-01-16 12:13:19,452] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] About to convert vCalendar (from v2 to v1): BEGIN:VCALENDAR
[2013-01-16 12:13:19,452] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] in aAlarmCleanup(), s on input is:BEGIN:VCALENDAR
[2013-01-16 12:13:19,452] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] after aAlarmCleanup(), ret value is:BEGIN:VCALENDAR
[2013-01-16 12:13:19,453] [funambol.sogo] [WARN] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] Exception occured in getUserTimeZone() - trying to read from JSON string: java.lang.NullPointerException
[2013-01-16 12:13:19,454] [funambol.handler] [ERROR] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Error processing message
[2013-01-16 12:13:19,454] [funambol.handler] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] moving to state: STATE_ERROR [Error processing message]
[2013-01-16 12:13:19,454] [funambol.handler] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] moving to state: STATE_ERROR [com.funambol.framework.server.error.ServerFailureException: 511 SERVER FAILURE - Server error]
[2013-01-16 12:13:19,455] [funambol.engine.pipeline] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Output processing stopped by com.funambol.foundation.synclet.BeanShellSynclet@109dc35[script=com/funambol/server/engine/pipeline/phones-support/bsh/BlackBerryPIMout.bsh,header=user-agent,pattern=Funambol BlackBerry Plug-in|fsc-j2me] (reason: BlackBerryPIMout Synclet finished)
[2013-01-16 12:13:19,456] [funambol.transport.http] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Request processed.
[2013-01-16 12:13:19,456] [funambol.transport.http] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Closing session 848112485B91416B1BD6339E0FC4A753
[2013-01-16 12:13:19,456] [funambol.engine.source] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] sogo-cal: 0 new items added, 0 existing items updated, 0 items deleted.
[2013-01-16 12:13:19,456] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] In endSync()...
[2013-01-16 12:13:19,456] [funambol.sogo] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [sogo-cal] Closed the database connection.
[2013-01-16 12:13:19,456] [funambol.handler] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] moving to state: STATE_ERROR [Session aborted with status code: PROCESSING ERROR]
[2013-01-16 12:13:19,456] [funambol.handler] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] moving to state: STATE_ENDED
[2013-01-16 12:13:19,456] [funambol.handler] [INFO] [848112485B91416B1BD6339E0FC4A753] [127.0.0.1] [fbb-702850991] [user_name] [] Synchronization completed with error(s)
Cette erreure reporté sur le bug de SOGo [[http://www.sogo.nu/bugs/view.php?id=1415|www.sogo.nu/bugs/view.php]]:
Exception occured in getUserTimeZone() - trying to read from JSON string: java.lang.NullPointerException
précise que la valeur du UserTimeZone n'est pas correcte car NULL.
Résolution :
Forcer le Timezone pour l'utilisateur dans les paramètres de SOGo.