Results 1 to 2 of 2

Thread: Creating Task with recurence - NullPointerException

  1. #1
    Join Date
    Feb 2008
    Posts
    106
    Rep Power
    7

    Default Creating Task with recurence - NullPointerException

    Hello I'm try to create task with recurence via SOAP, but I catch zimbra Error
    Code:
    [2008-03-23 23:25:24,687] [funambol.zimbra] [INFO] [4E865B8B1D8ED31299DF08C94EA635E7] [fol-V09MRjpyb21h] [RBliznets] [stask] 
    <?xml version='1.0'?>
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
        <soap:Header>
            <context xmlns="urn:zimbra">
                <authToken>**(don't public)**</authToken>
                <change token='9808'/>
                <sessionId id='148618'/>
                <userAgent name='ZimbraFunambol Connector'
                           version='0.4.82'/>
            </context>
        </soap:Header>
        <soap:Body>
            <BatchRequest xmlns="urn:zimbra">
                <CreateTaskRequest xmlns="urn:zimbraMail">
                    <m l='15'>
                        <su>tttttttt</su>
                        <inv>
                            <comp allDay='true'
                                  name='tttttttt'
                                  class='PUB'
                                  priority='5'
                                  percentComplete='0'
                                  status='WAITING'>
                                <dueDate d='20080323'/>
                                <recur>
                                    <add>
                                        <rule freq='DAI'>
                                            <interval ival='1'/>
                                        </rule>
                                        <dates tz=''>
                                            <dtval>
                                                <s d='20080323'/>
                                            </dtval>
                                        </dates>
                                    </add>
                                </recur>
                            </comp>
                        </inv>
                        <mp ct='multipart/alternative'>
                            <mp ct='text/plain'>
                                <content/>
                            </mp>
                        </mp>
                    </m>
                </CreateTaskRequest>
            </BatchRequest>
        </soap:Body>
    </soap:Envelope>
    
    [2008-03-23 23:25:24,687] [funambol.zimbra] [INFO] [4E865B8B1D8ED31299DF08C94EA635E7] [fol-V09MRjpyb21h] [RBliznets] [stask] 
    <?xml version='1.0'?>
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
        <soap:Header>
            <context xmlns="urn:zimbra">
                <sessionId id='148618'>148618</sessionId>
                <change token='9808'/>
            </context>
        </soap:Header>
        <soap:Body>
            <BatchResponse xmlns="urn:zimbra">
                <soap:Fault xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
                    <soap:Code>
                        <soap:Value>soap:Receiver</Value>
                    </soap:Code>
                    <soap:Reason>
                        <soap:Text>system failure: java.lang.NullPointerException</Text>
                    </soap:Reason>
                    <soap:Detail>
                        <Error xmlns="urn:zimbra">
                            <Code>service.FAILURE</Code>
                            <Trace>com.zimbra.common.service.ServiceException: system failure: java.lang.NullPointerException Code:service.FAILURE at com.zimbra.common.service.ServiceException.FAILURE(ServiceException.java:183) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:365) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:199) at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:113) at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:272) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:174) 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.ParsedDateTime.add(ParsedDateTime.java:254) at com.zimbra.cs.mailbox.calendar.Recurrence$SingleDates.setDates(Recurrence.java:439) at com.zimbra.cs.mailbox.calendar.Recurrence$SingleDates.&lt;init&gt;(Recurrence.java:429) at com.zimbra.cs.mailbox.calendar.Recurrence$SingleDates.&lt;init&gt;(Recurrence.java:422) at com.zimbra.cs.service.mail.CalendarUtils.parseRecur(CalendarUtils.java:464) at com.zimbra.cs.service.mail.CalendarUtils.parseInviteElementCommon(CalendarUtils.java:919) at com.zimbra.cs.service.mail.CalendarUtils.parseInviteForCreate(CalendarUtils.java:118) at com.zimbra.cs.service.mail.CreateCalendarItem$CreateCalendarItemInviteParser.parseInviteElement(CreateCalendarItem.java:56) at com.zimbra.cs.service.mail.ParseMimeMessage$InviteParser.parse(ParseMimeMessage.java:129) at com.zimbra.cs.service.mail.ParseMimeMessage.parseMimeMsgSoap(ParseMimeMessage.java:286) at com.zimbra.cs.service.mail.CalendarRequest.handleMsgElement(CalendarRequest.java:105) at com.zimbra.cs.service.mail.CreateCalendarItem.handle(CreateCalendarItem.java:75) at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:342) ... 29 more</Trace>
                        </Error>
                    </soap:Detail>
                </soap:Fault>
            </BatchResponse>
        </soap:Body>
    </soap:Envelope>
    Have any idea? How to create task with recurence

  2. #2
    Join Date
    Sep 2005
    Location
    Sunnyvale, CA
    Posts
    269
    Rep Power
    10

    Default

    Tasks with recurrence isn't currently supported but you can better bring this issue to our attention by filing a new bug with the above SOAP. Thanks.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Problem to share task list
    By Grejao in forum Zimlets
    Replies: 0
    Last Post: 01-24-2008, 06:22 AM
  2. Shared Task List issues
    By ArcaneMagus in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 05:06 PM
  3. 4.0.4 to 4.5.6 upgrade failed in network edition
    By chenthil in forum Administrators
    Replies: 1
    Last Post: 08-27-2007, 10:36 AM
  4. [SOLVED] Simple backup question...
    By dameron in forum Administrators
    Replies: 3
    Last Post: 08-25-2007, 10:36 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
  •