You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Julien Vermillard (JIRA)" <ji...@apache.org> on 2011/06/14 20:22:48 UTC
[jira] [Updated] (DIRMINA-780) Writing null objects to the Session
should raise an Exception
[ https://issues.apache.org/jira/browse/DIRMINA-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julien Vermillard updated DIRMINA-780:
--------------------------------------
Fix Version/s: (was: 2.0.4)
2.0.5
> Writing null objects to the Session should raise an Exception
> -------------------------------------------------------------
>
> Key: DIRMINA-780
> URL: https://issues.apache.org/jira/browse/DIRMINA-780
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Affects Versions: 2.0.0-RC1
> Reporter: Norman Maurer
> Fix For: 2.0.5
>
>
> When using MINA in JAMES we saw malformated packets when processing POP3. This was a cause of a bug in our code which wrote a "null" object to the session. Unfortunally MINA don't throw an exception in this case and just write garbage to the session. We only found the bug because we have a netty implementation too which throws a NullPointerException in this case.
> I think MINA should do something similar..
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira