[
https://issues.apache.org/jira/browse/DIRMINA-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRMINA-791.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.2
Patch applied. Thanks a lot !
http://svn.apache.org/viewvc?rev=1040101&view=rev
> LineDelimeter.DEFAULT equals LineDelimeter.AUTO
> -----------------------------------------------
>
> Key: DIRMINA-791
> URL: https://issues.apache.org/jira/browse/DIRMINA-791
> Project: MINA
> Issue Type: Bug
> Components: Filter
> Affects Versions: 1.1.7, 2.0.0-RC1
> Environment: Linux Ubuntu 10.04, Java(TM) SE Runtime Environment
> (build 1.6.0_20-b02).
> Reporter: evillive
> Priority: Minor
> Fix For: 2.0.2
>
> Attachments: LineDelimiter.diff
>
>
> LineDelimeter.DEFAULT equals LineDelimeter.AUTO that is the cause of
> "java.lang.IllegalArgumentException: AUTO delimiter is not allowed for
> encoder" exception at
> org.apache.mina.filter.codec.textline.TextLineEncoder.<init>(TextLineEncoder.java:68)
> when creating new TextLineEncoder instance with LineDelimiter.DEFAULT.
> i. e. this line:
> TextLineEncoder encoder = new TextLineEncoder(LineDelimiter.DEFAULT);
> will cause "java.lang.IllegalArgumentException: AUTO delimiter is not allowed
> for encoder." exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.