james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-1061) NPE when connect to smtpserver with ipv6 ipaddress
Date Wed, 13 Oct 2010 19:07:33 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920719#action_12920719
] 

Norman Maurer commented on JAMES-1061:
--------------------------------------

The RemoteAddress which cause the NPE is: 0:0:0:0:0:0:0:1%0




> NPE when connect to smtpserver with ipv6 ipaddress
> --------------------------------------------------
>
>                 Key: JAMES-1061
>                 URL: https://issues.apache.org/jira/browse/JAMES-1061
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0, 3.0-M1, Trunk
>            Reporter: Norman Maurer
>            Priority: Critical
>             Fix For: 3.0-M1
>
>
> See below:
> java.lang.NullPointerException
> 	at org.apache.james.util.inetnetwork.model.Inet4Network.maskIP(Inet4Network.java:91)
> 	at org.apache.james.util.inetnetwork.model.Inet4Network.contains(Inet4Network.java:58)
> 	at org.apache.james.util.netmatcher.NetMatcher.matchInetNetwork(NetMatcher.java:105)
> 	at org.apache.james.util.netmatcher.NetMatcher.matchInetNetwork(NetMatcher.java:88)
> 	at org.apache.james.smtpserver.netty.NioSMTPServer$SMTPHandlerConfigurationDataImpl.isRelayingAllowed(NioSMTPServer.java:241)
> 	at org.apache.james.smtpserver.netty.SMTPNettySession.<init>(SMTPNettySession.java:62)
> 	at org.apache.james.smtpserver.netty.SMTPNettySession.<init>(SMTPNettySession.java:66)
> 	at org.apache.james.smtpserver.netty.SMTPChannelUpstreamHandler.createSession(SMTPChannelUpstreamHandler.java:67)
> 	at org.apache.james.protocols.impl.AbstractChannelUpstreamHandler.channelBound(AbstractChannelUpstreamHandler.java:56)
> 	at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
> 	at org.jboss.netty.channel.Channels.fireChannelBound(Channels.java:205)
> 	at org.jboss.netty.channel.socket.nio.NioAcceptedSocketChannel.<init>(NioAcceptedSocketChannel.java:50)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.registerAcceptedChannel(NioServerSocketPipelineSink.java:279)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:247)
> 	at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
> 	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:637)
> DEBUG 12:12:51,117 | james.smtpserver | Unable to process request
> java.nio.channels.ClosedChannelException
> 	at org.jboss.netty.channel.socket.nio.NioWorker.cleanUpWriteBuffer(NioWorker.java:648)
> 	at org.jboss.netty.channel.socket.nio.NioWorker.close(NioWorker.java:604)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:119)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:76)
> 	at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:60)
> 	at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleDownstream(ChunkedWriteHandler.java:114)
> 	at org.jboss.netty.channel.Channels.close(Channels.java:720)
> 	at org.jboss.netty.channel.AbstractChannel.close(AbstractChannel.java:207)
> 	at org.apache.james.smtpserver.netty.SMTPChannelUpstreamHandler.exceptionCaught(SMTPChannelUpstreamHandler.java:90)
> 	at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
> 	at org.jboss.netty.handler.codec.frame.FrameDecoder.exceptionCaught(FrameDecoder.java:238)
> 	at org.jboss.netty.channel.Channels.fireExceptionCaught(Channels.java:432)
> 	at org.jboss.netty.channel.AbstractChannelSink.exceptionCaught(AbstractChannelSink.java:52)
> 	at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
> 	at org.jboss.netty.channel.Channels.fireChannelBound(Channels.java:205)
> 	at org.jboss.netty.channel.socket.nio.NioAcceptedSocketChannel.<init>(NioAcceptedSocketChannel.java:50)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.registerAcceptedChannel(NioServerSocketPipelineSink.java:279)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:247)
> 	at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
> 	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:637)
> DEBUG 12:12:51,122 | james.smtpserver | Dispose objects while closing channel 1654545953
> DEBUG 12:12:51,123 | james.smtpserver | Unable to process request
> java.lang.NullPointerException
> 	at org.apache.james.protocols.smtp.core.WelcomeMessageHandler.onConnect(WelcomeMessageHandler.java:45)
> 	at org.apache.james.protocols.smtp.core.WelcomeMessageHandler.onConnect(WelcomeMessageHandler.java:34)
> 	at org.apache.james.protocols.impl.AbstractChannelUpstreamHandler.channelConnected(AbstractChannelUpstreamHandler.java:72)
> 	at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:144)
> 	at org.jboss.netty.channel.Channels.fireChannelConnected(Channels.java:233)
> 	at org.jboss.netty.channel.socket.nio.NioAcceptedSocketChannel.<init>(NioAcceptedSocketChannel.java:51)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.registerAcceptedChannel(NioServerSocketPipelineSink.java:279)
> 	at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:247)
> 	at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
> 	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:637)

-- 
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


Mime
View raw message