You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Linus Zetterlund (JIRA)" <ji...@apache.org> on 2009/11/04 11:04:32 UTC
[jira] Created: (DIRMINA-746)
DefaultSocketSessionConfig.setReceiveBufferSize(...) throws
NullPointerException
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.
[jira] Resolved: (DIRMINA-746)
DefaultSocketSessionConfig.setReceiveBufferSize(...) throws
NullPointerException
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (DIRMINA-746)
DefaultSocketSessionConfig.setReceiveBufferSize(...) throws
NullPointerException
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRMINA-746:
--------------------------------------
Fix Version/s: (was: 2.0.0-RC2)
2.0.0
> 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
>
>
> 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.