Results 1 to 7 of 7

Thread: Calendar Migration Error

  1. #1
    Join Date
    Apr 2008
    Location
    Catonsville MD
    Posts
    101
    Rep Power
    7

    Default Calendar Migration Error

    Hi, I am running Zimbra 5.0.4 on a brand new install of Ubuntu 6.06 LTS. I was able to migrate my addressbook from GroupOffice in a csv file with no issues. When I tried to imprt my calendar in a .ics file, I get the below error. (I am able to import the calendar into kOrganizer with no issues, so I don't think the file is corrupt.

    Code:
    ExceptionId:btpool0-12:1207328651645:e7f75cd35d921568
    Code:service.PARSE_ERROR
            at com.zimbra.common.service.ServiceException.PARSE_ERROR(ServiceException.java:271)
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZCalendarBuilder.parse(ZCalendar.java:1000)
            at com.zimbra.cs.service.formatter.IcsFormatter.saveCallback(IcsFormatter.java:160)
            at com.zimbra.cs.service.formatter.Formatter.save(Formatter.java:102)
            at com.zimbra.cs.service.UserServlet.doPost(UserServlet.java:547)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:177)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
            at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
            at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:148)
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
            at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
            at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
            at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)
            at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
            at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
            at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
            at org.mortbay.jetty.handler.RewriteHandler.handle(RewriteHandler.java:176)
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
            at org.mortbay.jetty.Server.handle(Server.java:313)
            at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
            at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
            at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
            at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
            at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
            at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
            at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
    Caused by: net.fortuna.ical4j.data.ParserException: An error ocurred during parsing - line: 452
            at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:118)
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZCalendarBuilder.parse(ZCalendar.java:972)
            ... 29 more
    Caused by: java.lang.NullPointerException
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZProperty.setName(ZCalendar.java:426)
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZProperty.<init>(ZCalendar.java:397)
            at com.zimbra.cs.mailbox.calendar.IcsImportParseHandler.startProperty(IcsImportParseHandler.java:129)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseProperty(CalendarParserImpl.java:229)
            at net.fortuna.ical4j.data.CalendarParserImpl.parsePropertyList(CalendarParserImpl.java:202)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseComponent(CalendarParserImpl.java:348)
            at net.fortuna.ical4j.data.CalendarParserImpl.parsePropertyList(CalendarParserImpl.java:199)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendar(CalendarParserImpl.java:167)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendarList(CalendarParserImpl.java:139)
            at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:96)
            ... 30 more
    </pre>
    <h3>Caused by:</h3><pre>net.fortuna.ical4j.data.ParserException: An error ocurred during parsing - line: 452
            at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:118)
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZCalendarBuilder.parse(ZCalendar.java:972)
            at com.zimbra.cs.service.formatter.IcsFormatter.saveCallback(IcsFormatter.java:160)
            at com.zimbra.cs.service.formatter.Formatter.save(Formatter.java:102)
            at com.zimbra.cs.service.UserServlet.doPost(UserServlet.java:547)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:177)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
            at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
            at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:148)
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
            at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
            at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
            at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)
            at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
            at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
            at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
            at org.mortbay.jetty.handler.RewriteHandler.handle(RewriteHandler.java:176)
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
            at org.mortbay.jetty.Server.handle(Server.java:313)
            at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
            at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
            at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
            at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
            at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
            at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
            at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
    Caused by: java.lang.NullPointerException
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZProperty.setName(ZCalendar.java:426)
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZProperty.<init>(ZCalendar.java:397)
            at com.zimbra.cs.mailbox.calendar.IcsImportParseHandler.startProperty(IcsImportParseHandler.java:129)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseProperty(CalendarParserImpl.java:229)
            at net.fortuna.ical4j.data.CalendarParserImpl.parsePropertyList(CalendarParserImpl.java:202)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseComponent(CalendarParserImpl.java:348)
            at net.fortuna.ical4j.data.CalendarParserImpl.parsePropertyList(CalendarParserImpl.java:199)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendar(CalendarParserImpl.java:167)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendarList(CalendarParserImpl.java:139)
            at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:96)
            ... 30 more
    </pre>
    <h3>Caused by:</h3><pre>java.lang.NullPointerException
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZProperty.setName(ZCalendar.java:426)
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZProperty.<init>(ZCalendar.java:397)
            at com.zimbra.cs.mailbox.calendar.IcsImportParseHandler.startProperty(IcsImportParseHandler.java:129)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseProperty(CalendarParserImpl.java:229)
            at net.fortuna.ical4j.data.CalendarParserImpl.parsePropertyList(CalendarParserImpl.java:202)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseComponent(CalendarParserImpl.java:348)
            at net.fortuna.ical4j.data.CalendarParserImpl.parsePropertyList(CalendarParserImpl.java:199)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendar(CalendarParserImpl.java:167)
            at net.fortuna.ical4j.data.CalendarParserImpl.parseCalendarList(CalendarParserImpl.java:139)
            at net.fortuna.ical4j.data.CalendarParserImpl.parse(CalendarParserImpl.java:96)
            at com.zimbra.cs.mailbox.calendar.ZCalendar$ZCalendarBuilder.parse(ZCalendar.java:972)
            at com.zimbra.cs.service.formatter.IcsFormatter.saveCallback(IcsFormatter.java:160)
            at com.zimbra.cs.service.formatter.Formatter.save(Formatter.java:102)
            at com.zimbra.cs.service.UserServlet.doPost(UserServlet.java:547)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:177)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
            at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
            at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:148)
            at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
            at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
            at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
            at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)
            at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
            at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
            at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
            at org.mortbay.jetty.handler.RewriteHandler.handle(RewriteHandler.java:176)
            at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
            at org.mortbay.jetty.Server.handle(Server.java:313)
            at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
            at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
            at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
            at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
            at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
            at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
            at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
    </pre>
    <p><i><small><a href="http://jetty.mortbay.org/">Powered by Jetty://</a></small>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    
    </body>
    </html>
    Any thoughts?

  2. #2
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Can you post the ICS file?

  3. #3
    Join Date
    Apr 2008
    Location
    Catonsville MD
    Posts
    101
    Rep Power
    7

    Default

    Here it is, renamed to .txt.
    Attached Files Attached Files

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    Well it's choking on line 452, but I don't see any RFC violating stuff before or after line 452.

    This is a rather large ICS file. I wonder if we're dying becuase it's so large. I was able to repo this on our test servers.

    Because there's no obvious problem with the ICS file, can you please file a bug and attach that ics file, and reference this thread?

    Thanks.

  5. #5
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    Default

    I can't remember where, but somewhere I found a reference to the max ical upload size being 200K. Forum says that yours is 196K, but maybe ZCS does the math wrong, or counts MIME encoding overhead.

    Split the file in half, being sure to open and close all the BEGIN: and END: bits properly, and submit the two halves separately.

  6. #6
    Join Date
    Apr 2008
    Location
    Catonsville MD
    Posts
    101
    Rep Power
    7

    Default

    Quote Originally Posted by jholder View Post
    Well it's choking on line 452, but I don't see any RFC violating stuff before or after line 452.

    This is a rather large ICS file. I wonder if we're dying becuase it's so large. I was able to repo this on our test servers.

    Because there's no obvious problem with the ICS file, can you please file a bug and attach that ics file, and reference this thread?

    Thanks.
    Will do. Thanks.

  7. #7
    Join Date
    Apr 2008
    Location
    Catonsville MD
    Posts
    101
    Rep Power
    7

    Default

    Quote Originally Posted by Rich Graves View Post
    I can't remember where, but somewhere I found a reference to the max ical upload size being 200K. Forum says that yours is 196K, but maybe ZCS does the math wrong, or counts MIME encoding overhead.

    Split the file in half, being sure to open and close all the BEGIN: and END: bits properly, and submit the two halves separately.
    I deleted a lot of older entries in the GroupOffice calendar, and re-exported. I got the file down to 80k, and I got the same error while importing. I even tried importing a 4k holiday ics file and got the same error.

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  3. [SOLVED] Debian Etch 32 / 64: MTA not working
    By xflip in forum Installation
    Replies: 2
    Last Post: 01-18-2008, 03:58 AM
  4. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-14-2005, 11:00 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
  •