You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2010/11/29 14:13:37 UTC
[jira] Resolved: (DIRMINA-791) LineDelimeter.DEFAULT equals
LineDelimeter.AUTO
[ 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.