mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRMINA-746) DefaultSocketSessionConfig.setReceiveBufferSize(...) throws NullPointerException
Date Thu, 14 Jan 2010 07:12:54 GMT

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

Emmanuel Lecharny resolved DIRMINA-746.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-RC2

Fixed in trunk :
http://svn.apache.org/viewvc?rev=899085&view=rev

Thanks for the report !

> 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
>             Fix For: 2.0.0-RC2
>
>
> 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 processorCount)

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


Mime
View raw message