[GroupDAV] Funambol Connector:: Return of ArrayIndexOutOfBoundsException :(

Adam Tauno Williams groupdav@opengroupware.org
Thu, 25 Jan 2007 14:54:51 -0500


After multiple successful syncs of the calendar I am back to getting the
dreaded java.lang.ArrayIndexOutOfBoundsException we used to get in the
previous version. :(

[Jan 25, 2007 2:27:59 PM][funambol.handler] FINEST: current state:
STATE_PKG3_RECEIVING
[Jan 25, 2007 2:27:59 PM][funambol.handler] FINEST: Server auhenticated
(code 200)
[Jan 25, 2007 2:27:59 PM][funambol.handler] FINEST: Processing the given
synchronization message
[Jan 25, 2007 2:27:59 PM][funambol.handler] FINEST: client sources:
[com.funambol.framework.engine.source.MemorySyncSource@a50549 - {name:
davOverview, type: unknown, uri: davOverview}]
[Jan 25, 2007 2:27:59 PM][funambol.handler] FINEST: Checking if there
are data to add to previous data
[Jan 25, 2007 2:27:59 PM][funambol.handler] FINEST: Preparing
com.funambol.framework.engine.source.MemorySyncSource@a50549 - {name:
davOverview, type: unknown, uri: davOverview} with
[com.funambol.framework.core.Sync@fb765a]
[Jan 25, 2007 2:27:59 PM] INFO: Starting synchronization ...
[Jan 25, 2007 2:27:59 PM][funambol.engine] FINEST: Synchronizing
davOverview (sync type: 205)
[Jan 25, 2007 2:27:59 PM][funambol.engine] FINEST: SyncSource state of
'davOverview' is CONFIGURED
[Jan 25, 2007 2:27:59 PM][funambol.engine.strategy] FINEST: Conflict
resolution not configured for 'davOverview'. The default value is used
(CONFLICT_RESOLUTION_CLIENT_WINS)
[Jan 25, 2007 2:45:33 PM] INFO: Preparing slow synchronization of source
'davOverview' for fwm-50F0063006B0000005649434545/adam ...
[Jan 25, 2007 2:45:33 PM] INFO: Last call
[Jan 25, 2007 2:45:33 PM][funambol.handler] FINER: THROW
java.lang.ArrayIndexOutOfBoundsException
        at java.lang.System.arraycopy(Native Method)
        at
net.bionicmessage.funambol.source.vCalGroupDAVConnector.getAllSyncItemKeys(vCalGroupDAVConnector.java:182)
        at
com.funambol.server.engine.Sync4jStrategy.prepareSlowSync(Sync4jStrategy.java:239)
        at
com.funambol.server.engine.Sync4jEngine.sync(Sync4jEngine.java:539)
        at
com.funambol.server.session.SyncSessionHandler.processModifications(SyncSessionHandler.java:1580)


Connector Log:
<p><h2>net.bionicmessage.funambol.source.vCalGroupDAVConnector</p><p><h3>beginSync</h3></p><p><pre>Begin Sync&#58; icalGroupDAVConnector/fwm-50F0063006B0000005649434545_adam/mode=205conflict=1</pre></p><p><h3>getAllSyncItemKeys</h3></p><p><pre>getAllSyncItemKeys()</pre></p><p><h3>getNewSyncItemKeys</h3></p><p><pre>getNewSyncItemKeys()</pre></p><p><h3>getDeletedSyncItemKeys</h3></p><p><pre>getDeletedSyncItemKeys()</pre></p><p><h3>endSync</h3></p><p><pre>endSync()</pre></p>

Store log ends like this:
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073410
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073480
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073660
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073730
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073800
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073860
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073930
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5073990
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5074060
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/5074190
U&#58;   skyrix&#58;//gourd-amber.morrison.iserv.net/morrisonOGo/7880810
Objects deleted from store&#58; 
Objects added to the server&#58; 
Objects merged to server&#58; 
Objects deleted from server&#58; 
</pre></p>