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 "Andrzej Rusin (JIRA)" <se...@james.apache.org> on 2013/03/22 20:29:17 UTC

[jira] [Created] (JAMES-1494) org.apache.james.smtpserver.CoreCmdHandlerLoader does not register org.apache.james.protocols.smtp.core.UnknownCmdHandler

Andrzej Rusin created JAMES-1494:
------------------------------------

             Summary: org.apache.james.smtpserver.CoreCmdHandlerLoader does not register org.apache.james.protocols.smtp.core.UnknownCmdHandler
                 Key: JAMES-1494
                 URL: https://issues.apache.org/jira/browse/JAMES-1494
             Project: James Server
          Issue Type: Bug
          Components: SMTPServer
    Affects Versions: Trunk
            Reporter: Andrzej Rusin


It results in unknown commands getting message:

451 Unable to process request

and NPE:

DEBUG 15:07:23,602 | james.smtpserver | Id='1219837423' User='' org.apache.james.protocols.api.handler.CommandDispatcher received: SA
DEBUG 15:07:23,602 | james.smtpserver | Id='1219837423' User='' Lookup command handler for command: SA
DEBUG 15:07:23,603 | james.smtpserver | Id='1219837423' User='' Unable to parse request
java.lang.NullPointerException
        at org.apache.james.protocols.api.handler.CommandDispatcher.dispatchCommandHandlers(CommandDispatcher.java:170)
        at org.apache.james.protocols.api.handler.CommandDispatcher.onLine(CommandDispatcher.java:147)
        at org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageReceived(BasicChannelUpstreamHandler.java:147)
        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
        at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)
        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:129)
        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558)
        at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777)
        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:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)


and addtionally, the UnknownHooks do not fire, hence org.apache.james.protocols.smtp.core.fastfail.MaxUnknownCmdHandler has no chance to work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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