View Issue Details

IDProjectCategoryView StatusLast Update
0001186Funambol SOGo Connectorpublic2011-04-17 18:33
ReporterRuud Assigned Toludovic  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0.8 
Fixed in Version1.0.9 
Summary0001186: Bi-directional task sync Android: Exception occured in addvTodoSyncItem
Description

I have a SOGo server (1.3.5a) with Funambol (9.0) installed. When trying to sync tasks on my android phone (Funambol client 9.1 latest snapshot) all tasks from the server are synced but although no error on the client side is generated all changed / added / deleted tasks on the client are not synced back. Nelow (additional information) you see the relevant snaps from the logs.
This issue has been reported on the Funambol mailinglist and on the SOGo mailing list. This issue has been confirmed by other user.

https://core.forge.funambol.org/ds/viewMessage.do?dsForumId=405&dsMessageId=148697
https://inverse.ca/sogo/lists/arc/users/2011-03/msg00120.html

If more information is needed please let me know.

Additional Information

This is the task created on my android device (from the synclog):
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VTODO
SUMMARY:FUNAMBOL test
DESCRIPTION:
CLASS:PUBLIC
X-FUNAMBOL-ALLDAY:0
END:VTODO
END:VCALENDAR

This is from the synclog where it sends this task over to the Funambol server:
Mon Feb 28 20:26:16 GMT+01:00 2011 [DEBUG] [SyncManager] <SyncML>
<SyncHdr>
<VerDTD><![?CDATA[1.2]]></?VerDTD>
<VerProto><?![CDATA[SyncML/1.2]]?></VerProto?>
<SessionID>?<![CDATA[12989211706?23]]></Session?ID>
<MsgID>2</MsgID>
<Target>
<LocURI><![CDATA[http://xxxxx.no-ip.o?rg:8080/funambol/ds;?jsessionid=314490ED8?0ED7BFA66609C7C5F1FC?8C6]]>&lt;/LocURI?>
</Target>
<Source>
<LocURI><![?CDATA[fac-3546350302?73119]]></LocU?RI>
</Source>
</SyncHdr>
<SyncBody>
<Status>
<CmdID><![C?DATA[1]]></Cmd?ID>
<MsgRef><![?CDATA[1]]></Ms?gRef>
<CmdRef><![?CDATA[0]]></Cm?dRef>
<Cmd><![CDA?TA[SyncHdr]]><?/Cmd>
<TargetRef>?<![CDATA[fac-3546350?30273119]]></T?argetRef>
<SourceRef><![CDATA[http://xxxxx.no-ip.o?rg:8080/funambol/ds;?jsessionid=314490ED8?0ED7BFA66609C7C5F1FC?8C6]]>&lt;/Source?Ref>
<Data><![CD?ATA[200]]></Da?ta>
</Status>
<Status>
<CmdID><![C?DATA[2]]></Cmd?ID>
<MsgRef><![?CDATA[1]]></Ms?gRef>
<CmdRef><![?CDATA[4]]></Cm?dRef>
<Cmd><![CDA?TA[Alert]]></C?md>
<TargetRef>?<![CDATA[sogo-todo]]?></TargetRef?>
<SourceRef>?<![CDATA[task]]>?</SourceRef>
<Data><![CD?ATA[200]]></Da?ta>
<Item>
<Data>
<Anchor xmlns="syncml:metinf">
<Next><![CD?ATA[1298921109859]]?></Next>
</Anchor>
</Data>
</Item>
</Status>
<Sync>
<CmdID><![C?DATA[3]]></Cmd?ID>
<Target>
<LocURI><![?CDATA[sogo-todo]]?></LocURI>
</Target>
<Source>
<LocURI><![?CDATA[task]]><?/LocURI>
</Source>
<Add>
<CmdID><![C?DATA[4]]></Cmd?ID>
<Item>
<Source>
<LocURI><![?CDATA[26]]></L?ocURI>
</Source>
<Meta>
<Type xmlns="syncml:metinf?"><![CDATA[tex?t/x-vcalendar]]>?</Type>
</Meta>
<Data>
BEGIN:VCALENDAR
VERSION:1.0
BEGIN:VTODO
SUMMARY:FUNAMBOL test
DESCRIPTION:
CLASS:PUBLIC
X-FUNAMBOL-ALLDAY:0
END:VTODO
END:VCALENDAR
</Data>
</Item>
</Add>

As you can see here from a android client perspective with success:
|-------------------?--------------------?--------------------?------
| Total changes sent to server
|-------------------?--------------------?--------------------?------
| Add: 1
| Replace: 1
| Delete: 0
| Total errors: 0

On the server however....
[2011-02-28 20:25:14,856] [funambol.sogo] [ERROR] [314490ED80ED7BFA666?09C7C5F1FC8C6] [195.240.16.78] [fac-354635030273119] [ruud] [sogo-todo] Exception occured in addvTodoSyncItem: java.lang.NullPointerException
java.lang.NullPointerException
at ca.inverse.sogo.engi?ne.source.SOGoTaskUt?ilities.addvTodoSync?Item(SOGoTaskUtiliti?es.java:76)
at ca.inverse.sogo.engi?ne.source.SOGoSyncSo?urce.addSyncItem(SOG?oSyncSource.java:100?8)

and finaly this:
[2011-02-28 20:25:17,024] [funambol.engine.source] [INFO] [314490ED80ED7BFA666?09C7C5F1FC8C6] [195.240.16.78] [fac-354635030273119] [ruud] [sogo-todo] sogo-todo: 0 new items added, 0 existing items updated, 0 items deleted.

The newly created 'FUNAMBOL test' task is not synced to the SOGo database

My guess is that is an error in the Funambol SOGo connector (looking at the error in the server log)

What does work work is when adding or changes task in SOGo and then syncing them to my Android device, only synching changes and additions back does not work...

regards,
Ruud.

Tagsandroid, astrid, funambol connector, sogo

Activities

ludovic

ludovic

2011-04-17 12:38

administrator   ~0002392

This should already be fixed - try with the development version. Checkout the sources (from trunk) and build the connector yourself.

Alternatively, try to the attached version to this ticket.

2011-04-17 12:39

 

funambol-sogo-1.0.8.s4j (74,819 bytes)
Ruud

Ruud

2011-04-17 17:41

reporter   ~0002397

Hi Ludovic,
just tried the attached version and can confirm this issue is solved in this version!
Thanks alot!
regards,
Ruud.

Issue History

Date Modified Username Field Change
2011-03-14 11:16 Ruud New Issue
2011-03-14 11:19 Ruud Tag Attached: android
2011-03-14 11:19 Ruud Tag Attached: astrid
2011-03-14 11:19 Ruud Tag Attached: funambol connector
2011-03-14 11:19 Ruud Tag Attached: sogo
2011-04-17 12:38 ludovic Note Added: 0002392
2011-04-17 12:39 ludovic File Added: funambol-sogo-1.0.8.s4j
2011-04-17 13:53 ludovic Assigned To => ludovic
2011-04-17 13:53 ludovic Status new => feedback
2011-04-17 17:41 Ruud Note Added: 0002397
2011-04-17 18:33 ludovic Status feedback => resolved
2011-04-17 18:33 ludovic Fixed in Version => 1.0.9
2011-04-17 18:33 ludovic Resolution open => fixed