james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Rusin (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-1494) org.apache.james.smtpserver.CoreCmdHandlerLoader does not register org.apache.james.protocols.smtp.core.UnknownCmdHandler
Date Sun, 24 Mar 2013 23:39:14 GMT

     [ https://issues.apache.org/jira/browse/JAMES-1494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrzej Rusin updated JAMES-1494:
---------------------------------

    Attachment: JAMES-1494.patch

Patch, untested yet, will let you know.
                
> 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
>         Attachments: JAMES-1494.patch
>
>
> 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


Mime
View raw message