You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Tim Waizenegger <ti...@timsrv.de> on 2013/05/21 13:53:02 UTC

Error saving message wie IMAP and STARTTLS

Hi,

I'm getting an error when trying to save a message to an IMAP folder via 
STARTTLS encryption. The same operation works fine when using plain IMAP.
I'm having no trouble with other IMAp operations over STARTTLS though.
my client is Thunderbird 17.0.6

The error is:

DEBUG 13:34:23,516 | james.imapserver | ID=282891307 Error while 
processing imap request
java.lang.IllegalArgumentException: estimatedLength: -1
         at 
org.jboss.netty.buffer.DynamicChannelBuffer.<init>(DynamicChannelBuffer.java:48)
         at 
org.jboss.netty.buffer.ChannelBuffers.dynamicBuffer(ChannelBuffers.java:221)
         at 
org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:214)
         at 
org.jboss.netty.handler.codec.frame.FrameDecoder.cumulation(FrameDecoder.java:367)
         at 
org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:210)
         at 
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
         at 
org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312)
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
         at java.lang.Thread.run(Thread.java:679)

Any ideas?

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


Re: Error saving message wie IMAP and STARTTLS

Posted by Eric Charles <er...@apache.org>.
Hi,

We had such issues before but it is fixed in trunk. If you don't use 
trunk, can you try with a snapshot?

Thx, Eric

On 21/05/2013 12:53, Tim Waizenegger wrote:
> Hi,
>
> I'm getting an error when trying to save a message to an IMAP folder via
> STARTTLS encryption. The same operation works fine when using plain IMAP.
> I'm having no trouble with other IMAp operations over STARTTLS though.
> my client is Thunderbird 17.0.6
>
> The error is:
>
> DEBUG 13:34:23,516 | james.imapserver | ID=282891307 Error while
> processing imap request
> java.lang.IllegalArgumentException: estimatedLength: -1
>          at
> org.jboss.netty.buffer.DynamicChannelBuffer.<init>(DynamicChannelBuffer.java:48)
>
>          at
> org.jboss.netty.buffer.ChannelBuffers.dynamicBuffer(ChannelBuffers.java:221)
>
>          at
> org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:214)
>
>          at
> org.jboss.netty.handler.codec.frame.FrameDecoder.cumulation(FrameDecoder.java:367)
>
>          at
> org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:210)
>
>          at
> org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44)
>
>          at
> org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312)
>
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
>          at java.lang.Thread.run(Thread.java:679)
>
> Any ideas?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>

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