You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "evillive (JIRA)" <ji...@apache.org> on 2010/06/24 17:26:49 UTC
[jira] Created: (DIRMINA-791) LineDelimeter.DEFAULT equals
LineDelimeter.AUTO
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: 2.0.0-RC1, 1.1.7
Environment: Linux Ubuntu 10.04, Java(TM) SE Runtime Environment (build 1.6.0_20-b02).
Reporter: evillive
Priority: Minor
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.
[jira] Updated: (DIRMINA-791) LineDelimeter.DEFAULT equals
LineDelimeter.AUTO
Posted by "evillive (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
evillive updated DIRMINA-791:
-----------------------------
Attachment: LineDelimiter.diff
Small patch that fixes bug.
> 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
> 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.