[
https://issues.apache.org/jira/browse/AWF-31?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Stevenson moved DEFT-155 to AWF-31:
----------------------------------------
Key: AWF-31 (was: DEFT-155)
Project: Apache AWF (was: Deft)
> NPE in AsynchronousSocket.write
> -------------------------------
>
> Key: AWF-31
> URL: https://issues.apache.org/jira/browse/AWF-31
> Project: Apache AWF
> Issue Type: Bug
> Reporter: Roger Schildmeijer
> Assignee: Roger Schildmeijer
> Attachments:
> Implemented+%23DEFT-155+%28NPE+in+AsynchronousSocket.write%29+patch+by+schildmei.patch
>
>
> If we get an IOException in handleWrite (could be because the connection is
> broken/closed) we log, invoke the close callback, closes the channel and
> unregister the channel from the ioloop.
> BUT then we take the same code path as if it was a successful write.
> proposal: add the missing return; statement at the end of the
> catch(IOException) clause
> (Found while doing DEFT-151 (Distributed demo application (elastica)))
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira