Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
 
Go Back   Zimbra - Forums > Zimbra Collaboration Suite > Mobility > Zimbra Mobile

Welcome to the Zimbra - Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-08-2007, 12:04 PM
Active Member
 
Posts: 35
Default Zimbra Mobile fails with Java Exception

Windows Mobile 5 device (HP iPAQ) fail active sync with error code: 0x85010014

sync.log show:

2007-03-08 10:41:36,689 WARN [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8 D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;clas s=Calendar;folder=10;item=44055;] sync - Unexpected exception encoding server change
java.lang.IllegalArgumentException: DayOfWeek field must be in [0, 6] range

I am attaching the log file.

I upgraded our Zimbra instance from 4.0.5 to 4.5.3 last night.

I have opened a trouble ticket: Support Case 00009857

Code:
2007-03-08 10:41:34,064 INFO  [http-443-Processor99] [] sync - POST Microsoft-Server-ActiveSync?User=kunkled&DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE&DeviceType=PocketPC&Cmd=FolderSync
2007-03-08 10:41:34,071 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=FolderSync;] sync -
<?xml version="1.0" encoding="utf-8"?>
<FolderSync xmlns="FolderHierarchy">
    <SyncKey>{C5274B48-CDBE-3359-9A50-739165E570E0}1</SyncKey>
</FolderSync>

2007-03-08 10:41:34,073 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=FolderSync;] sync - SyncState: version=1/1; modseq=71543/71543; filter=0/0; cutoff=-1/-1; clientsize=34/34
2007-03-08 10:41:34,074 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=FolderSync;] sync -
<?xml version="1.0" encoding="utf-8"?>
<FolderSync xmlns="FolderHierarchy">
    <Status>1</Status>
    <SyncKey>{C5274B48-CDBE-3359-9A50-739165E570E0}1</SyncKey>
    <Changes>
        <Count>0</Count>
    </Changes>
</FolderSync>

2007-03-08 10:41:34,074 INFO  [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=FolderSync;] sync - HTTP/1.1 200 OK
2007-03-08 10:41:35,005 INFO  [http-443-Processor99] [] sync - POST Microsoft-Server-ActiveSync?User=kunkled&DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE&DeviceType=PocketPC&Cmd=GetItemEstimate
2007-03-08 10:41:35,012 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=GetItemEstimate;] sync -
<?xml version="1.0" encoding="utf-8"?>
<GetItemEstimate xmlns="GetItemEstimate">
    <Collections>
        <Collection>
            <Class>Contacts</Class>
            <CollectionId>7</CollectionId>
            <AirSync:FilterType>0</AirSync:FilterType>
            <AirSync:SyncKey>{2F278E70-4151-39E8-B06F-843A995FB00C}5</AirSync:SyncKey>
        </Collection>
        <Collection>
            <Class>Calendar</Class>
            <CollectionId>10</CollectionId>
            <AirSync:FilterType>4</AirSync:FilterType>
            <AirSync:SyncKey>{AAD70557-CF6D-307F-B9A6-ADA4EA7634BA}1</AirSync:SyncKey>
        </Collection>
        <Collection>
            <Class>Email</Class>
            <CollectionId>2</CollectionId>
            <AirSync:FilterType>2</AirSync:FilterType>
            <AirSync:SyncKey>{182FF44A-FC02-3807-907B-B9B796A80D01}2</AirSync:SyncKey>
        </Collection>
        <Collection>
            <Class>Tasks</Class>
            <CollectionId>15</CollectionId>
            <AirSync:FilterType>0</AirSync:FilterType>
            <AirSync:SyncKey>{C62B950B-0FC0-3A19-9D65-96E5F42F64E8}1</AirSync:SyncKey>
        </Collection>
    </Collections>
</GetItemEstimate>

2007-03-08 10:41:35,015 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=GetItemEstimate;] sync - SyncState: version=5/5; modseq=71556/71556; filter=0/0; cutoff=0/0; clientsize=344/344
2007-03-08 10:41:35,019 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=GetItemEstimate;] sync - SyncState: version=1/1; modseq=0/0; filter=0/0; cutoff=-1/-1; clientsize=0/0
2007-03-08 10:41:35,358 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=GetItemEstimate;] sync - SyncState: version=2/2; modseq=71557/71557; filter=2/2; cutoff=1173108724854/1173108724854; clientsize=90/90
2007-03-08 10:41:35,362 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=GetItemEstimate;] sync - SyncState: version=1/1; modseq=0/0; filter=0/0; cutoff=-1/-1; clientsize=0/0
2007-03-08 10:41:35,681 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=GetItemEstimate;] sync -
<?xml version="1.0" encoding="utf-8"?>
<GetItemEstimate xmlns="GetItemEstimate">
    <Response>
        <Status>1</Status>
        <Collection>
            <Class>Contacts</Class>
            <CollectionId>7</CollectionId>
            <Estimate>0</Estimate>
        </Collection>
    </Response>
    <Response>
        <Status>1</Status>
        <Collection>
            <Class>Calendar</Class>
            <CollectionId>10</CollectionId>
            <Estimate>618</Estimate>
        </Collection>
    </Response>
    <Response>
        <Status>1</Status>
        <Collection>
            <Class>Email</Class>
            <CollectionId>2</CollectionId>
            <Estimate>0</Estimate>
        </Collection>
    </Response>
    <Response>
        <Status>1</Status>
        <Collection>
            <Class>Tasks</Class>
            <CollectionId>15</CollectionId>
            <Estimate>0</Estimate>
        </Collection>
    </Response>
</GetItemEstimate>

2007-03-08 10:41:35,681 INFO  [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=GetItemEstimate;] sync - HTTP/1.1 200 OK
2007-03-08 10:41:36,065 INFO  [http-443-Processor99] [] sync - POST Microsoft-Server-ActiveSync?User=kunkled&DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE&DeviceType=PocketPC&Cmd=Sync
2007-03-08 10:41:36,071 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;] sync -
<?xml version="1.0" encoding="utf-8"?>
<Sync xmlns="AirSync">
    <Collections>
        <Collection>
            <Class>Calendar</Class>
            <SyncKey>{AAD70557-CF6D-307F-B9A6-ADA4EA7634BA}1</SyncKey>
            <CollectionId>10</CollectionId>
            <DeletesAsMoves/>
            <GetChanges/>
            <WindowSize>100</WindowSize>
            <Options>
                <FilterType>4</FilterType>
                <Truncation>4</Truncation>
                <RtfTruncation>4</RtfTruncation>
                <Conflict>1</Conflict>
            </Options>
        </Collection>
    </Collections>
</Sync>

2007-03-08 10:41:36,073 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - SyncState: version=1/1; modseq=0/0; filter=0/0; cutoff=-1/-1; clientsize=0/0
2007-03-08 10:41:36,073 INFO  [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - Client request version 1
2007-03-08 10:41:36,073 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - 0 items expired
2007-03-08 10:41:36,389 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - 0 tombstones to delete
2007-03-08 10:41:36,489 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - 100 changes to process
2007-03-08 10:41:36,658 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - Item count before conflict resolution: 0/0/100/0
2007-03-08 10:41:36,658 DEBUG [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - Item count after conflict resolution: 0/0/100/0
2007-03-08 10:41:36,658 INFO  [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - Server response version 2
2007-03-08 10:41:36,689 WARN  [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;item=44055;] sync - Unexpected exception encoding server change
java.lang.IllegalArgumentException: DayOfWeek field must be in [0, 6] range
        at com.zimbra.cs.mailbox.calendar.WindowsSystemTime.<init>(WindowsSystemTime.java:61)
        at com.zimbra.cs.mailbox.calendar.WindowsSystemTime.fromSimpleOnset(WindowsSystemTime.java:107)
        at com.zimbra.cs.mailbox.calendar.WindowsTimeZoneInformation.fromICal(WindowsTimeZoneInformation.java:119)
        at com.zimbra.zimbrasync.commands.SyncUtils.encodeTimezoneInformation(SyncUtils.java:239)
        at com.zimbra.zimbrasync.commands.CalendarSync.encodeServerChange(CalendarSync.java:651)
        at com.zimbra.zimbrasync.commands.CollectionSync.encodeResponse(CollectionSync.java:821)
        at com.zimbra.zimbrasync.commands.Sync.encodeResponse(Sync.java:184)
        at com.zimbra.zimbrasync.ZimbraSyncServlet.processCommand(ZimbraSyncServlet.java:396)
        at com.zimbra.zimbrasync.ZimbraSyncServlet.processPostRequest(ZimbraSyncServlet.java:330)
        at com.zimbra.zimbrasync.ZimbraSyncServlet.doPost(ZimbraSyncServlet.java:226)
        at com.zimbra.zimbrasync.ZimbraSync$HttpHandler.doPost(ZimbraSync.java:35)
        at com.zimbra.cs.extension.ExtensionDispatcherServlet.service(ExtensionDispatcherServlet.java:106)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
2007-03-08 10:41:36,690 WARN  [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - General ZimbraSync exception
com.zimbra.zimbrasync.ZimbraSyncException: item=44055
        at com.zimbra.zimbrasync.commands.CollectionSync.encodeResponse(CollectionSync.java:826)
        at com.zimbra.zimbrasync.commands.Sync.encodeResponse(Sync.java:184)
        at com.zimbra.zimbrasync.ZimbraSyncServlet.processCommand(ZimbraSyncServlet.java:396)
        at com.zimbra.zimbrasync.ZimbraSyncServlet.processPostRequest(ZimbraSyncServlet.java:330)
        at com.zimbra.zimbrasync.ZimbraSyncServlet.doPost(ZimbraSyncServlet.java:226)
        at com.zimbra.zimbrasync.ZimbraSync$HttpHandler.doPost(ZimbraSync.java:35)
        at com.zimbra.cs.extension.ExtensionDispatcherServlet.service(ExtensionDispatcherServlet.java:106)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
        at com.zimbra.webClient.filters.SetHeaderFilter.doFilter(SetHeaderFilter.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalArgumentException: DayOfWeek field must be in [0, 6] range
        at com.zimbra.cs.mailbox.calendar.WindowsSystemTime.<init>(WindowsSystemTime.java:61)
        at com.zimbra.cs.mailbox.calendar.WindowsSystemTime.fromSimpleOnset(WindowsSystemTime.java:107)
        at com.zimbra.cs.mailbox.calendar.WindowsTimeZoneInformation.fromICal(WindowsTimeZoneInformation.java:119)
        at com.zimbra.zimbrasync.commands.SyncUtils.encodeTimezoneInformation(SyncUtils.java:239)
        at com.zimbra.zimbrasync.commands.CalendarSync.encodeServerChange(CalendarSync.java:651)
        at com.zimbra.zimbrasync.commands.CollectionSync.encodeResponse(CollectionSync.java:821)
        ... 29 more
2007-03-08 10:41:36,690 INFO  [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;class=Calendar;folder=10;] sync - HTTP/1.1 500
Reply With Quote
  #2 (permalink)  
Old 03-08-2007, 01:42 PM
Zimbra Consultant & Moderator
 
Posts: 11,327
Default

If you've already opened a support ticket, that's the best place for support. I see that's it's currently being investigated for you.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 03-08-2007, 01:57 PM
Active Member
 
Posts: 35
Default

Agreed but this is the first place I look before opening a support ticket. I posted here to help others.

Chase
Reply With Quote
  #4 (permalink)  
Old 03-08-2007, 08:47 PM
Active Member
 
Posts: 35
Default

A bug was opened for this:

http://bugzilla.zimbra.com/show_bug.cgi?id=15241

The work-around until the bug is fixed is to delete the appointment that is causing the exception.

zmmailbox -z -m username@domain
di <item number>
exit

<item number> can be found in the sync log when the exception is logged.

2007-03-08 10:41:36,689 WARN [http-443-Processor99] [mid=321;name=kunkled;DeviceId=3BC9A9F061A7399F5DD8 D7EC435FABFE;DeviceType=PocketPC;SyncCmd=Sync;clas s=Calendar;folder=10;item=44055;] sync - Unexpected exception encoding server change
java.lang.IllegalArgumentException: DayOfWeek field must be in [0, 6] range

I want to thank Zimbra's support team for their quick response to my support request. They had a developer working on it with in a couple hours after I logged the request.

Jason
Reply With Quote
  #5 (permalink)  
Old 05-16-2007, 06:40 AM
Trained Alumni
 
Posts: 114
Default

I have a similar problem, but it's an email. How can i find out what email "3195" is? The email is marked 3195, how to find out what mail this is?`
Reply With Quote
  #6 (permalink)  
Old 11-28-2007, 08:16 AM
Active Member
 
Posts: 25
Default

I have a similiar problem - a calendar item with an invalid XML character.

Is there a possibility to take a look on that calendar item on the cli when having the item id?

thanks,
Thomas
Reply With Quote
  #7 (permalink)  
Old 01-21-2008, 07:21 PM
Junior Member
 
Posts: 5
Default Another

I've had the same issue, except it is always with emails. It happens about once every few days, and then the mobile device will not sync again until I disable and then re-enable "email" under the server sync settings.

Mostly posting to make sure this doesn't get forgotten. What exactly causes this? Is it a specific action I should avoid? (such as reading on one device and the other at different times, for example?)
Reply With Quote
  #8 (permalink)  
Old 01-21-2008, 07:25 PM
Zimbra Employee
 
Posts: 1,665
Default

The issue described by JasonChase is very old. It shouldn't be there any more in recent versions.
Reply With Quote
Reply


Thread Tools
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0