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 2008/05/02 11:47:55 UTC

[jira] Created: (DIRMINA-579) ConsumeToEndOfSessionDecodingState not finish decode if the buffer is empty

ConsumeToEndOfSessionDecodingState not finish decode if the buffer is empty
---------------------------------------------------------------------------

                 Key: DIRMINA-579
                 URL: https://issues.apache.org/jira/browse/DIRMINA-579
             Project: MINA
          Issue Type: Bug
          Components: Filter
    Affects Versions: 2.0.0-M1, 2.0.0-M2
         Environment: related to issue ASYNCWEB-11
            Reporter: Julien Vermillard
            Assignee: Julien Vermillard
             Fix For: 2.0.0-M2


ConsumeToEndOfSessionDecodingState wont finish decoding if no data was gathered and the internal buffer is null (will produce a NPE exception while finishDecode(PrococolDecoderOutput ..) and the NPE will be ignored by DecodingStateMachine finishDecode(PrococolDecoderOutput ..).

First : fix the ConsumeToEndOfSessionDecodingState behaviour
Second : investigate why DecodingStateMachine is shallowing important exceptions.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRMINA-579) ConsumeToEndOfSessionDecodingState not finish decode if the buffer is empty

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard closed DIRMINA-579.
-------------------------------------

    Resolution: Fixed

fix commited

> ConsumeToEndOfSessionDecodingState not finish decode if the buffer is empty
> ---------------------------------------------------------------------------
>
>                 Key: DIRMINA-579
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-579
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 2.0.0-M1, 2.0.0-M2
>         Environment: related to issue ASYNCWEB-11
>            Reporter: Julien Vermillard
>            Assignee: Julien Vermillard
>             Fix For: 2.0.0-M2
>
>         Attachments: DIRMINA-579.patch
>
>
> ConsumeToEndOfSessionDecodingState wont finish decoding if no data was gathered and the internal buffer is null (will produce a NPE exception while finishDecode(PrococolDecoderOutput ..) and the NPE will be ignored by DecodingStateMachine finishDecode(PrococolDecoderOutput ..).
> First : fix the ConsumeToEndOfSessionDecodingState behaviour
> Second : investigate why DecodingStateMachine is shallowing important exceptions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRMINA-579) ConsumeToEndOfSessionDecodingState not finish decode if the buffer is empty

Posted by "Julien Vermillard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRMINA-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Vermillard updated DIRMINA-579:
--------------------------------------

    Attachment: DIRMINA-579.patch

due to current SVN fubar state, here a patch to apply to mina trunk core component 


> ConsumeToEndOfSessionDecodingState not finish decode if the buffer is empty
> ---------------------------------------------------------------------------
>
>                 Key: DIRMINA-579
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-579
>             Project: MINA
>          Issue Type: Bug
>          Components: Filter
>    Affects Versions: 2.0.0-M1, 2.0.0-M2
>         Environment: related to issue ASYNCWEB-11
>            Reporter: Julien Vermillard
>            Assignee: Julien Vermillard
>             Fix For: 2.0.0-M2
>
>         Attachments: DIRMINA-579.patch
>
>
> ConsumeToEndOfSessionDecodingState wont finish decoding if no data was gathered and the internal buffer is null (will produce a NPE exception while finishDecode(PrococolDecoderOutput ..) and the NPE will be ignored by DecodingStateMachine finishDecode(PrococolDecoderOutput ..).
> First : fix the ConsumeToEndOfSessionDecodingState behaviour
> Second : investigate why DecodingStateMachine is shallowing important exceptions.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.