Page 1 of 1

Newly delivered emails unreadable until user restarts SWA.

Posted: Thu Oct 20, 2005 1:01 am
by vorlon2261
Have a user who is triggering the following event in SWA. Interestingly, its the same user who caused weirdness with contacts yesterday... Perhaps the user is cursed. ;-) User has latest Firefox and latest IE and I'm told it happens on both.

As far as what he see's, all email that arrives while he is logged in is unparsable, according to the subject line... Restarting SWA allows these mails to be read.

Code: Select all

<SOAP-ENV:Fault><faultcode>SOAP-ENV:SERVER.IllegalArgumentException</faultcode><faultstring>Invalid sequence number: -1

</faultstring><detail><e:IllegalArgumentException xmlns:e="http://scalix.com/errors"><message>Invalid sequence number: -1

</message><debug>java.lang.IllegalArgumentException: Invalid sequence number: -1
        at com.oddpost.mail.MessageSet.parse(MessageSet.java:166)
        at com.oddpost.mail.MessageSet.&lt;init&gt;(MessageSet.java:77)
        at com.oddpost.server.module.SoapMail.store(SoapMail.java:577)
        at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.oddpost.soap.SoapModule.invokeMethod(SoapModule.java:238)
        at com.oddpost.soap.SoapRequestImpl.execute(SoapRequestImpl.java:140)
        at com.oddpost.server.HttpRequestHandler.handleRequest(HttpRequestHandler.java:221)
        at com.oddpost.server.SoapServlet.doPost(SoapServlet.java:50)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
        at com.oddpost.server.filter.HttpConfFilter.doFilter(HttpConfFilter.java:175)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
        ... skipping the last 27 lines as irrelevant...
</debug></e:IllegalArgumentException></detail></SOAP-ENV:Fault>


I think that it happens when new emails are delievered.

Anyone got any ideas what he's doing wrong now?

Posted: Thu Oct 20, 2005 1:07 am
by vorlon2261
Found this little tidbit hidden above the exception:

Code: Select all

message: handleMimeExceptionFetchingHeaders handled the following:
        sender: bad.email
        subject: MAIL SERVER ERROR: Sorry, but this is not a valid MIME email message!
        folder:INBOX
        message-id: could not get messageId
        message #: 199
        exception: A29 NO FETCH invalid message set;
  nested exception is:
        com.sun.mail.iap.CommandFailedException: A29 NO FETCH invalid message set


Timestamps are within seconds of the other exception.

Posted: Mon Jan 30, 2006 7:29 pm
by vorlon2261
Hi all,

Have had a recurrance of this problem. Has anyone got any ideas what can cause it?
Same stack trace as before...

thanks,

Greg