Results 1 to 8 of 8

Thread: Zimbra Mobile fails with Java Exception

  1. #1
    JasonChase is offline Active Member
    Join Date
    Jun 2006
    Location
    Maine
    Posts
    35
    Rep Power
    9

    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

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,480
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    JasonChase is offline Active Member
    Join Date
    Jun 2006
    Location
    Maine
    Posts
    35
    Rep Power
    9

    Default

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

    Chase

  4. #4
    JasonChase is offline Active Member
    Join Date
    Jun 2006
    Location
    Maine
    Posts
    35
    Rep Power
    9

    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

  5. #5
    flums is offline Trained Alumni
    Join Date
    Mar 2007
    Location
    Oslo, Norway
    Posts
    123
    Rep Power
    8

    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?`

  6. #6
    twickle is offline Active Member
    Join Date
    Jul 2006
    Posts
    29
    Rep Power
    9

    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

  7. #7
    calciphus is offline Junior Member
    Join Date
    Oct 2007
    Posts
    8
    Rep Power
    7

    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?)

  8. #8
    jjzhuang is offline Zimbra Employee
    Join Date
    Jan 2007
    Posts
    1,688
    Rep Power
    11

    Default

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  2. Replies: 16
    Last Post: 09-07-2006, 06:39 AM
  3. Services stopped working
    By lilwong in forum Administrators
    Replies: 4
    Last Post: 08-15-2006, 09:19 AM
  4. port 7071 not listening OS X install
    By leeimber in forum Installation
    Replies: 7
    Last Post: 03-21-2006, 10:47 AM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •