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 processorCount)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.