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