You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2009/12/01 15:33:20 UTC

[jira] Commented: (IMAP-100) Exception while call IMAPFolder.isOpen in javamail

    [ https://issues.apache.org/jira/browse/IMAP-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784242#action_12784242 ] 

Norman Maurer commented on IMAP-100:
------------------------------------

Maybe helpfull:


http://forums.sun.com/thread.jspa?threadID=5396428

> Exception while call IMAPFolder.isOpen in javamail
> --------------------------------------------------
>
>                 Key: IMAP-100
>                 URL: https://issues.apache.org/jira/browse/IMAP-100
>             Project: JAMES Imap
>          Issue Type: Bug
>            Reporter: Norman Maurer
>
> When trying to use HUPA to access JAMES IMAP I see this exception:
>  408 FETCH (FLAGS (\Recent) INTERNALDATE "30-Nov-2009 19:16:48 +0000" RFC822.SIZE 4934 ENVELOPE ("Mon, 30 Nov 2009 19:16:21 +0000 (UTC)" "[jira] Created: (HUPA-56) Hupa throws Exception when get used with
>  an IMAP Server which not support the IDLE command" (("Norman Maurer (JIRA)" NIL "jira" "apache.org")) (("Norman Maurer (JIRA)" NIL "jira" "apache.org")) (("James Developers List" NIL "server-dev" "james.apache.org")) ((NIL NIL "server-dev" "james.apache.org")) NIL NIL NIL "<12...@brutus>") BODYSTRUCTURE ("TEXT" "PLAIN" ("charset" "utf-8") NIL NIL "7BIT" 2525 51 NIL NIL NIL NIL))
> java.lang.ArrayIndexOutOfBoundsException: 256
> 	at com.sun.mail.iap.Response.parseString(Response.java:396)
> 	at com.sun.mail.iap.Response.readString(Response.java:325)
> 	at com.sun.mail.imap.protocol.ENVELOPE.<init>(ENVELOPE.java:100)
> 	at com.sun.mail.imap.protocol.FetchResponse.parse(FetchResponse.java:132)
> 	at com.sun.mail.imap.protocol.FetchResponse.<init>(FetchResponse.java:68)
> 	at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:137)
> 	at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:261)
> 	at com.sun.mail.iap.Protocol.command(Protocol.java:310)
> 	at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:357)
> 	at com.sun.mail.imap.protocol.IMAPProtocol.noop(IMAPProtocol.java:301)
> 	at com.sun.mail.imap.IMAPFolder.keepConnectionAlive(IMAPFolder.java:2685)
> 	at com.sun.mail.imap.IMAPFolder.isOpen(IMAPFolder.java:1162)
> 	at org.apache.hupa.server.handler.AbstractFetchMessagesHandler.executeInternal(AbstractFetchMessagesHandler.java:97)
> 	at org.apache.hupa.server.handler.AbstractFetchMessagesHandler.executeInternal(AbstractFetchMessagesHandler.java:51)
> 	at org.apache.hupa.server.handler.AbstractSessionHandler.execute(AbstractSessionHandler.java:60)
> 	at net.customware.gwt.dispatch.server.DefaultDispatch.doExecute(DefaultDispatch.java:78)
> 	at net.customware.gwt.dispatch.server.DefaultDispatch.execute(DefaultDispatch.java:68)
> 	at net.customware.gwt.dispatch.server.service.DispatchServiceServlet.execute(DispatchServiceServlet.java:24)
> 	at org.apache.hupa.server.servlet.HupaDispatchServlet.execute(HupaDispatchServlet.java:53)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
> 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:166)
> 	at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:231)
> 	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:142)
> 	at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)
> 	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:63)
> 	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:122)
> 	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:110)
> 	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
> 	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:729)
> 	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
> 	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)
> 	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> 	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> 	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
> 	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org