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 Michael Saladin <mi...@adnovum.ch> on 2012/07/27 09:37:15 UTC

IMAP - NullPointerException (3.0-beta4)

Hi all,

I have installed James 3.0-beta4 and I keep getting the following exception when I try to connect to a users account using IMAP. I thought 
that it might be a bug when the account is empty, but it keeps occuring even when there is mail in the account. I created the user using the 
james-cli.sh command line tool like this:

./james-cli.sh -h localhost -p 9999 adduser bob@localhost bob

and I use a non standard port for IMAP (1143). And it happens for all the users, and I really have nothing fancy configured. It seems to me 
that there is a bug in method createCumulationDynamicBuffer, but I did not dvelve into the source code:

----------------------------------------------------
    protected ChannelBuffer  [More ...] createCumulationDynamicBuffer(ChannelHandlerContext ctx) {
         Map<String, Object> attachment = (Map<String, Object>) ctx.getAttachment();
         int size = (Integer) attachment.get(NEEDED_DATA);
----------------------------------------------------

Anybody experiences the same issues?
Thanks & regards
Michael

Taken from imapserver.log
----------------------------------------------------
INFO  09:23:54,521 | james.imapserver | ID=19884216 Connection established from 127.0.0.1
DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <tag>: 1
DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <command>: capability
DEBUG 09:23:54,569 | james.imapserver | ID=19884216 No mailbox selected
DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <tag>: 2
DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <command>: authenticate
DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <tag>: 4
DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <command>: login
DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <tag>: 6
DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <command>: authenticate
INFO  09:23:57,394 | james.imapserver | ID=19884216 Too many authentication failures. Closing connection.
INFO  09:23:57,418 | james.imapserver | ID=19884216 Connection closed for 127.0.0.1
DEBUG 09:23:57,418 | james.imapserver | ID=19884216 Error while processing imap request
java.lang.NullPointerException
         at org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:211)
         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$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
INFO  09:23:57,423 | james.imapserver | ID=15729601 Connection established from 127.0.0.1
DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <tag>: 1
DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <command>: capability
DEBUG 09:23:57,427 | james.imapserver | ID=15729601 No mailbox selected
DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <tag>: 2
DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <command>: authenticate
DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <tag>: 4
DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <command>: login
----------------------------------------------------

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


Re: IMAP - NullPointerException (3.0-beta4)

Posted by Michael Saladin <mi...@adnovum.ch>.
I agree about NPEs.
JIRA issue created.
https://issues.apache.org/jira/browse/IMAP-369

Best regards
Michael


On 08/03/12 10:51, Eric Charles wrote:
> Such NPE should really not occur.
>
> Using an unkown user, I've got a authentication failure without NPE, which is normal, so I can't reproduce it.
>
> But if NPE is the behavior, JIRA and patch are needed.
>
> Thx, Eric
>
> On 08/03/2012 09:52 AM, Michael Saladin wrote:
>> It seems to happen only when I connect to the IMAP server with a wrong
>> username, e.g.:
>> Username: bob@localhost
>> Wrong username: bob
>>
>> It happens only when I connect with "bob" instead of the
>> "bob@localhost", so this is not really a problem, so I won't open a
>> ticket. I tried it with Thunderbird 11.0.1.
>>
>> Best regards
>> Michael
>>
>>
>> On 07/27/12 16:11, Eric Charles wrote:
>>> Strange, never saw that.
>>>
>>> I suppose you can send via SMTP to your server?
>>> Which mailbox do you use? Any special config/change?
>>> Do you use command line or a real client to read the folder?
>>>
>>> Can you double check, and if it still occurs, please open a JIRA
>>> (https://issues.apache.org/jira/browse/IMAP).
>>>
>>> Thx, Eric
>>>
>>>
>>> On 07/27/2012 09:37 AM, Michael Saladin wrote:
>>>> Hi all,
>>>>
>>>> I have installed James 3.0-beta4 and I keep getting the following
>>>> exception when I try to connect to a users account using IMAP. I thought
>>>> that it might be a bug when the account is empty, but it keeps occuring
>>>> even when there is mail in the account. I created the user using the
>>>> james-cli.sh command line tool like this:
>>>>
>>>> ./james-cli.sh -h localhost -p 9999 adduser bob@localhost bob
>>>>
>>>> and I use a non standard port for IMAP (1143). And it happens for all
>>>> the users, and I really have nothing fancy configured. It seems to me
>>>> that there is a bug in method createCumulationDynamicBuffer, but I did
>>>> not dvelve into the source code:
>>>>
>>>> ----------------------------------------------------
>>>> protected ChannelBuffer [More ...]
>>>> createCumulationDynamicBuffer(ChannelHandlerContext ctx) {
>>>> Map<String, Object> attachment = (Map<String, Object>)
>>>> ctx.getAttachment();
>>>> int size = (Integer) attachment.get(NEEDED_DATA);
>>>> ----------------------------------------------------
>>>>
>>>> Anybody experiences the same issues?
>>>> Thanks & regards
>>>> Michael
>>>>
>>>> Taken from imapserver.log
>>>> ----------------------------------------------------
>>>> INFO 09:23:54,521 | james.imapserver | ID=19884216 Connection
>>>> established from 127.0.0.1
>>>> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <tag>: 1
>>>> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <command>:
>>>> capability
>>>> DEBUG 09:23:54,569 | james.imapserver | ID=19884216 No mailbox selected
>>>> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <tag>: 2
>>>> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <command>:
>>>> authenticate
>>>> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <tag>: 4
>>>> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <command>: login
>>>> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <tag>: 6
>>>> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <command>:
>>>> authenticate
>>>> INFO 09:23:57,394 | james.imapserver | ID=19884216 Too many
>>>> authentication failures. Closing connection.
>>>> INFO 09:23:57,418 | james.imapserver | ID=19884216 Connection closed
>>>> for 127.0.0.1
>>>> DEBUG 09:23:57,418 | james.imapserver | ID=19884216 Error while
>>>> processing imap request
>>>> java.lang.NullPointerException
>>>> at
>>>> org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:211)
>>>>
>>>>
>>>> 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$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>
>>>>
>>>> at
>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>
>>>>
>>>> at java.lang.Thread.run(Thread.java:662)
>>>> INFO 09:23:57,423 | james.imapserver | ID=15729601 Connection
>>>> established from 127.0.0.1
>>>> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <tag>: 1
>>>> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <command>:
>>>> capability
>>>> DEBUG 09:23:57,427 | james.imapserver | ID=15729601 No mailbox selected
>>>> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <tag>: 2
>>>> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <command>:
>>>> authenticate
>>>> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <tag>: 4
>>>> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <command>: login
>>>> ----------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>
>
>

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


Re: IMAP - NullPointerException (3.0-beta4)

Posted by Eric Charles <er...@apache.org>.
Such NPE should really not occur.

Using an unkown user, I've got a authentication failure without NPE, 
which is normal, so I can't reproduce it.

But if NPE is the behavior, JIRA and patch are needed.

Thx, Eric

On 08/03/2012 09:52 AM, Michael Saladin wrote:
> It seems to happen only when I connect to the IMAP server with a wrong
> username, e.g.:
> Username:    bob@localhost
> Wrong username:    bob
>
> It happens only when I connect with "bob" instead of the
> "bob@localhost", so this is not really a problem, so I won't open a
> ticket. I tried it with Thunderbird 11.0.1.
>
> Best regards
> Michael
>
>
> On 07/27/12 16:11, Eric Charles wrote:
>> Strange, never saw that.
>>
>> I suppose you can send via SMTP to your server?
>> Which mailbox do you use? Any special config/change?
>> Do you use command line or a real client to read the folder?
>>
>> Can you double check, and if it still occurs, please open a JIRA
>> (https://issues.apache.org/jira/browse/IMAP).
>>
>> Thx, Eric
>>
>>
>> On 07/27/2012 09:37 AM, Michael Saladin wrote:
>>> Hi all,
>>>
>>> I have installed James 3.0-beta4 and I keep getting the following
>>> exception when I try to connect to a users account using IMAP. I thought
>>> that it might be a bug when the account is empty, but it keeps occuring
>>> even when there is mail in the account. I created the user using the
>>> james-cli.sh command line tool like this:
>>>
>>> ./james-cli.sh -h localhost -p 9999 adduser bob@localhost bob
>>>
>>> and I use a non standard port for IMAP (1143). And it happens for all
>>> the users, and I really have nothing fancy configured. It seems to me
>>> that there is a bug in method createCumulationDynamicBuffer, but I did
>>> not dvelve into the source code:
>>>
>>> ----------------------------------------------------
>>> protected ChannelBuffer [More ...]
>>> createCumulationDynamicBuffer(ChannelHandlerContext ctx) {
>>> Map<String, Object> attachment = (Map<String, Object>)
>>> ctx.getAttachment();
>>> int size = (Integer) attachment.get(NEEDED_DATA);
>>> ----------------------------------------------------
>>>
>>> Anybody experiences the same issues?
>>> Thanks & regards
>>> Michael
>>>
>>> Taken from imapserver.log
>>> ----------------------------------------------------
>>> INFO 09:23:54,521 | james.imapserver | ID=19884216 Connection
>>> established from 127.0.0.1
>>> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <tag>: 1
>>> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <command>:
>>> capability
>>> DEBUG 09:23:54,569 | james.imapserver | ID=19884216 No mailbox selected
>>> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <tag>: 2
>>> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <command>:
>>> authenticate
>>> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <tag>: 4
>>> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <command>: login
>>> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <tag>: 6
>>> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <command>:
>>> authenticate
>>> INFO 09:23:57,394 | james.imapserver | ID=19884216 Too many
>>> authentication failures. Closing connection.
>>> INFO 09:23:57,418 | james.imapserver | ID=19884216 Connection closed
>>> for 127.0.0.1
>>> DEBUG 09:23:57,418 | james.imapserver | ID=19884216 Error while
>>> processing imap request
>>> java.lang.NullPointerException
>>> at
>>> org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:211)
>>>
>>>
>>> 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$Worker.runTask(ThreadPoolExecutor.java:886)
>>>
>>>
>>> at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>
>>>
>>> at java.lang.Thread.run(Thread.java:662)
>>> INFO 09:23:57,423 | james.imapserver | ID=15729601 Connection
>>> established from 127.0.0.1
>>> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <tag>: 1
>>> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <command>:
>>> capability
>>> DEBUG 09:23:57,427 | james.imapserver | ID=15729601 No mailbox selected
>>> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <tag>: 2
>>> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <command>:
>>> authenticate
>>> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <tag>: 4
>>> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <command>: login
>>> ----------------------------------------------------
>>>
>>> ---------------------------------------------------------------------
>>> 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
>


-- 
eric | http://about.echarles.net | @echarles


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


Re: IMAP - NullPointerException (3.0-beta4)

Posted by Michael Saladin <mi...@adnovum.ch>.
It seems to happen only when I connect to the IMAP server with a wrong username, e.g.:
Username:	bob@localhost
Wrong username:	bob

It happens only when I connect with "bob" instead of the "bob@localhost", so this is not really a problem, so I won't open a ticket. I tried 
it with Thunderbird 11.0.1.

Best regards
Michael


On 07/27/12 16:11, Eric Charles wrote:
> Strange, never saw that.
>
> I suppose you can send via SMTP to your server?
> Which mailbox do you use? Any special config/change?
> Do you use command line or a real client to read the folder?
>
> Can you double check, and if it still occurs, please open a JIRA (https://issues.apache.org/jira/browse/IMAP).
>
> Thx, Eric
>
>
> On 07/27/2012 09:37 AM, Michael Saladin wrote:
>> Hi all,
>>
>> I have installed James 3.0-beta4 and I keep getting the following
>> exception when I try to connect to a users account using IMAP. I thought
>> that it might be a bug when the account is empty, but it keeps occuring
>> even when there is mail in the account. I created the user using the
>> james-cli.sh command line tool like this:
>>
>> ./james-cli.sh -h localhost -p 9999 adduser bob@localhost bob
>>
>> and I use a non standard port for IMAP (1143). And it happens for all
>> the users, and I really have nothing fancy configured. It seems to me
>> that there is a bug in method createCumulationDynamicBuffer, but I did
>> not dvelve into the source code:
>>
>> ----------------------------------------------------
>> protected ChannelBuffer [More ...]
>> createCumulationDynamicBuffer(ChannelHandlerContext ctx) {
>> Map<String, Object> attachment = (Map<String, Object>)
>> ctx.getAttachment();
>> int size = (Integer) attachment.get(NEEDED_DATA);
>> ----------------------------------------------------
>>
>> Anybody experiences the same issues?
>> Thanks & regards
>> Michael
>>
>> Taken from imapserver.log
>> ----------------------------------------------------
>> INFO 09:23:54,521 | james.imapserver | ID=19884216 Connection
>> established from 127.0.0.1
>> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <tag>: 1
>> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <command>:
>> capability
>> DEBUG 09:23:54,569 | james.imapserver | ID=19884216 No mailbox selected
>> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <tag>: 2
>> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <command>:
>> authenticate
>> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <tag>: 4
>> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <command>: login
>> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <tag>: 6
>> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <command>:
>> authenticate
>> INFO 09:23:57,394 | james.imapserver | ID=19884216 Too many
>> authentication failures. Closing connection.
>> INFO 09:23:57,418 | james.imapserver | ID=19884216 Connection closed
>> for 127.0.0.1
>> DEBUG 09:23:57,418 | james.imapserver | ID=19884216 Error while
>> processing imap request
>> java.lang.NullPointerException
>> at
>> org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:211)
>>
>> 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$Worker.runTask(ThreadPoolExecutor.java:886)
>>
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>
>> at java.lang.Thread.run(Thread.java:662)
>> INFO 09:23:57,423 | james.imapserver | ID=15729601 Connection
>> established from 127.0.0.1
>> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <tag>: 1
>> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <command>:
>> capability
>> DEBUG 09:23:57,427 | james.imapserver | ID=15729601 No mailbox selected
>> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <tag>: 2
>> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <command>:
>> authenticate
>> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <tag>: 4
>> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <command>: login
>> ----------------------------------------------------
>>
>> ---------------------------------------------------------------------
>> 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


Re: IMAP - NullPointerException (3.0-beta4)

Posted by Eric Charles <er...@apache.org>.
Strange, never saw that.

I suppose you can send via SMTP to your server?
Which mailbox do you use? Any special config/change?
Do you use command line or a real client to read the folder?

Can you double check, and if it still occurs, please open a JIRA 
(https://issues.apache.org/jira/browse/IMAP).

Thx, Eric


On 07/27/2012 09:37 AM, Michael Saladin wrote:
> Hi all,
>
> I have installed James 3.0-beta4 and I keep getting the following
> exception when I try to connect to a users account using IMAP. I thought
> that it might be a bug when the account is empty, but it keeps occuring
> even when there is mail in the account. I created the user using the
> james-cli.sh command line tool like this:
>
> ./james-cli.sh -h localhost -p 9999 adduser bob@localhost bob
>
> and I use a non standard port for IMAP (1143). And it happens for all
> the users, and I really have nothing fancy configured. It seems to me
> that there is a bug in method createCumulationDynamicBuffer, but I did
> not dvelve into the source code:
>
> ----------------------------------------------------
>     protected ChannelBuffer  [More ...]
> createCumulationDynamicBuffer(ChannelHandlerContext ctx) {
>          Map<String, Object> attachment = (Map<String, Object>)
> ctx.getAttachment();
>          int size = (Integer) attachment.get(NEEDED_DATA);
> ----------------------------------------------------
>
> Anybody experiences the same issues?
> Thanks & regards
> Michael
>
> Taken from imapserver.log
> ----------------------------------------------------
> INFO  09:23:54,521 | james.imapserver | ID=19884216 Connection
> established from 127.0.0.1
> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <tag>: 1
> DEBUG 09:23:54,565 | james.imapserver | ID=19884216 Got <command>:
> capability
> DEBUG 09:23:54,569 | james.imapserver | ID=19884216 No mailbox selected
> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <tag>: 2
> DEBUG 09:23:54,576 | james.imapserver | ID=19884216 Got <command>:
> authenticate
> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <tag>: 4
> DEBUG 09:23:54,602 | james.imapserver | ID=19884216 Got <command>: login
> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <tag>: 6
> DEBUG 09:23:57,391 | james.imapserver | ID=19884216 Got <command>:
> authenticate
> INFO  09:23:57,394 | james.imapserver | ID=19884216 Too many
> authentication failures. Closing connection.
> INFO  09:23:57,418 | james.imapserver | ID=19884216 Connection closed
> for 127.0.0.1
> DEBUG 09:23:57,418 | james.imapserver | ID=19884216 Error while
> processing imap request
> java.lang.NullPointerException
>          at
> org.apache.james.imapserver.netty.ImapRequestFrameDecoder.createCumulationDynamicBuffer(ImapRequestFrameDecoder.java:211)
>
>          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$Worker.runTask(ThreadPoolExecutor.java:886)
>
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>
>          at java.lang.Thread.run(Thread.java:662)
> INFO  09:23:57,423 | james.imapserver | ID=15729601 Connection
> established from 127.0.0.1
> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <tag>: 1
> DEBUG 09:23:57,426 | james.imapserver | ID=15729601 Got <command>:
> capability
> DEBUG 09:23:57,427 | james.imapserver | ID=15729601 No mailbox selected
> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <tag>: 2
> DEBUG 09:23:57,428 | james.imapserver | ID=15729601 Got <command>:
> authenticate
> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <tag>: 4
> DEBUG 09:23:57,431 | james.imapserver | ID=15729601 Got <command>: login
> ----------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>


-- 
eric | http://about.echarles.net | @echarles


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