General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] funambol-sogo-1.0.8.s4j: Encountered: "\r" (13), after : "\r"


Chronological Thread 
  • From: "tuomas" < >
  • To:
  • Subject: Re: [SOGo] funambol-sogo-1.0.8.s4j: Encountered: "\r" (13), after : "\r"
  • Date: Thu, 27 May 2010 13:16:40 +0300
  • Importance: Normal


We have made a patch that replaces \r\r with single \r and bypasses the
problem.

diff
./sogo-connector/src/java/ca/inverse/sogo/engine/source/SOGoSanitizer.java
./tmp/sogo-connector/src/java/ca/inverse/sogo/engine/source/SOGoSanitizer.java

45d44
<                 buf = new
StringBuffer(buf.toString().replace("\r\r","\r")); // this line added in
47c46
<               
---
> 
161d159
<                         s = s.replace("\r\r","\r");
223d220
<                 buf = new
StringBuffer(buf.toString().replace("\r\r","\r")); // this line added in
257d253
<                         s = s.replace("\r\r","\r"); // added
305d300
<                 buf = new
StringBuffer(buf.toString().replace("\r\r","\r")); // this line added in
393d387
<                 buf = new
StringBuffer(buf.toString().replace("\r\r","\r")); // this line added in

.tuomas

> On May 6, 2010, at 5:26 PM, tuomas wrote:
>
>> Hi,
>>
>> I am still getting:
>>
>> Exception processing message
>> com.funambol.common.pim.icalendar.TokenMgrError: Lexical error at line
>> 9,
>> column 1. Encountered: "\r" (13), after : "\r"
>>
>> when syncing Nokia E72 after compiling the latest version of 1.0.8 from
>> trunk:
>>
>> https://sogo-connector.forge.funambol.org/svn/sogo-connector/trunk
>>
>> Anyone? At the moment, most of our users suffer this problem.
>>
>> .tuomas
>>
>>> I noticed that the bug is fixed (567).
>>>
>>> Is there a nightly compiled version for the connector somewhere?
>>>
>>> .tuomas
>>>
>>>
>>>> Is this bug due to the line breaks specified in
>>>> http://www.scalableogo.org/bugs/view.php?id=521 and
>>>> http://www.scalableogo.org/bugs/view.php?id=567?
>>>>
>>>> Anyone got patch for it?
>>>>
>>>> .tuomas
>>>>
>>>>> [2010-04-13 17:23:26,619] [funambol.sogo] [INFO]
>>>>> [A44902506BFE0E2554DD4C01C73DF7FE] [IMEI:IMEINUMBER] [USER]
>>>>> [sogo-cal]
>>>>> after aAlarmCleanup(), ret value is:BEGIN:VCALENDAR
>>>>> BEGIN:VEVENT
>>>>> SEQUENCE:0
>>>>> DESCRIPTION:The description
>>>>>
>>>>> UID:2CE4-4B98D680-2C9-611590
>>>>> TRANSP:0
>>>>> DTSTART;TZID=Europe/Helsinki:20090420T090000
>>>>> DTSTAMP:20090806T124455Z
>>>>> SUMMARY:The summary
>>>>> CREATED:20100311T113816Z
>>>>> DTEND;TZID=Europe/Helsinki:20090420T120000
>>>>> LOCATION:The Location
>>>>> END:VEVENT
>>>>> END:VCALENDAR
>>>>>
>>>>>
>>>>> [2010-04-13 17:23:26,620] [funambol.handler] [ERROR]
>>>>> [A44902506BFE0E2554DD4C01C73DF7FE] [IMEI:IMEINUMBER] [USER] []
>>>>> Exception
>>>>> processing message
>>>>> com.funambol.common.pim.icalendar.TokenMgrError: Lexical error at
>>>>> line
>>>>> 6,
>>>>> column 1. Encountered: "\r" (13), after : "\r"
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParserTokenManager.getNextToken(ICalendarSyntaxParserTokenManager.java:2409)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParser.jj_ntk(ICalendarSyntaxParser.java:687)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParser.PropertyValue(ICalendarSyntaxParser.java:427)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParser.Property(ICalendarSyntaxParser.java:335)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParser.VEventItem(ICalendarSyntaxParser.java:98)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParser.CalItems(ICalendarSyntaxParser.java:58)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParser.ICalendar(ICalendarSyntaxParser.java:28)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarSyntaxParser.parse(ICalendarSyntaxParser.java:15)
>>>>> at
>>>>> com.funambol.common.pim.icalendar.ICalendarParser.ICalendar(ICalendarParser.java:57)
>>>>> at
>>>>> ca.inverse.sogo.engine.source.SOGoUtilities.vCalendarV2toV1(SOGoUtilities.java:872)
>>>>> at
>>>>> ca.inverse.sogo.engine.source.SOGoSyncSource.getSyncItemFromId(SOGoSyncSource.java:639)
>>>>> at
>>>>> com.funambol.server.engine.Sync4jEngine.completeItemInfo(Sync4jEngine.java:1754)
>>>>> at
>>>>> com.funambol.server.session.SyncSessionHandler.splitSyncCommand(SyncSessionHandler.java:2687)
>>>>> at
>>>>> com.funambol.server.session.SyncSessionHandler.commandsToSend(SyncSessionHandler.java:2594)
>>>>> at
>>>>> com.funambol.server.session.SyncSessionHandler.processInitSyncMapMessage(SyncSessionHandler.java:1116)
>>>>> at
>>>>> com.funambol.server.session.SyncSessionHandler.processMessage(SyncSessionHandler.java:562)
>>>>> at
>>>>> com.funambol.server.engine.SyncAdapter.processInputMessage(SyncAdapter.java:533)
>>>>> at
>>>>> com.funambol.server.engine.SyncAdapter.processWBXMLMessage(SyncAdapter.java:369)
>>>>> at
>>>>> com.funambol.transport.http.server.LocalSyncHolder.processWBXMLMessage(LocalSyncHolder.java:118)
>>>>> at
>>>>> com.funambol.transport.http.server.Sync4jServlet.doPost(Sync4jServlet.java:397)
>>>>> at
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>>>>> at
>>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>> at
>>>>> com.funambol.transport.http.server.LogContextFilter.doFilter(LogContextFilter.java:115)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>> at
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>> at
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>>>> at
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>>>> at
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>> at
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>> at
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>>>>> at
>>>>> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
>>>>> at
>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
>>>>> at
>> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
>>>>> at
>>>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
>>>>> at
>>>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
>>>>> at
>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
>>>>> at java.lang.Thread.run(Unknown Source)
>>>>>
>>>>> My funambol connector dies when trying to synchronize certain type of
>>>>> events with Nokia E71. Events do not have any alarms on. If the event
>>>>> that
>>>>> is causing the error is deleted, it continues to another one but
>>>>> somehow
>>>>> there is a lot of events that are causing the problems.
>>>>>
>>>>> Same situation with 1.0.7 and 1.0.8 connector.
>>>>>
>>>>> Funambol version: v.8.0.1
>>>>> Connector: funambol-sogo-1.0.8.s4j.20100323
>>>>>
>>>>> .tuomas
>>
>>
>
>





Archive powered by MHonArc 2.6.16.

Top of page