mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Linus Zetterlund (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRMINA-746) DefaultSocketSessionConfig.setReceiveBufferSize(...) throws NullPointerException
Date Wed, 04 Nov 2009 10:04:32 GMT
DefaultSocketSessionConfig.setReceiveBufferSize(...) throws NullPointerException

                 Key: DIRMINA-746
                 URL: https://issues.apache.org/jira/browse/DIRMINA-746
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-RC1
            Reporter: Linus Zetterlund
            Priority: Minor

I tried to use DefaultSocketSessionConfig to store socket options to be applied to an acceptor
that is created at a later stage, and noticed that 
a NullPointerException is thrown if setReceiveBufferSize(...)  is called before init(IoService
parent) is called. 
If this is the intended behaviour, it looks like a DefaultSocketSessionConfig is created without
init(...) being called in: 
NioSocketConnector(Class<? extends IoProcessor<NioSession>> processorClass, int

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message