[jira] Created: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

JIRA jira@apache.org
Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
--------------------------------------------------------------------------------------

                 Key: NET-206
                 URL: https://issues.apache.org/jira/browse/NET-206
             Project: Commons Net
          Issue Type: Bug
         Environment: Linux, JRE1.5
            Reporter: Bohdan Bobylak


When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
{{...
at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
...}}

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/NET-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bohdan Bobylak updated NET-206:
-------------------------------

    Attachment: DefaultFTPFileEntryParserFactory.patch

Patch that fixies the issue.

> Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
> --------------------------------------------------------------------------------------
>
>                 Key: NET-206
>                 URL: https://issues.apache.org/jira/browse/NET-206
>             Project: Commons Net
>          Issue Type: Bug
>         Environment: Linux, JRE1.5
>            Reporter: Bohdan Bobylak
>         Attachments: DefaultFTPFileEntryParserFactory.patch
>
>
> When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
> {{...
> at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
> at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ...}}

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/NET-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bohdan Bobylak updated NET-206:
-------------------------------

    Description:
When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
...
at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
...

  was:
When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
{{...
at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
...}}


> Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
> --------------------------------------------------------------------------------------
>
>                 Key: NET-206
>                 URL: https://issues.apache.org/jira/browse/NET-206
>             Project: Commons Net
>          Issue Type: Bug
>         Environment: Linux, JRE1.5
>            Reporter: Bohdan Bobylak
>         Attachments: DefaultFTPFileEntryParserFactory.patch
>
>
> When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
> ...
> at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
> at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ...

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

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/NET-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bohdan Bobylak updated NET-206:
-------------------------------

    Affects Version/s: 1.4

> Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
> --------------------------------------------------------------------------------------
>
>                 Key: NET-206
>                 URL: https://issues.apache.org/jira/browse/NET-206
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Linux, JRE1.5
>            Reporter: Bohdan Bobylak
>         Attachments: DefaultFTPFileEntryParserFactory.patch
>
>
> When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
> ...
> at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
> at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ...

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/NET-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12579437#action_12579437 ]

Sebb commented on NET-206:
--------------------------

This will also affect the 2.0 code.

Are there any other Locale-dependent calls which assume an English Locale?  e.g. toLowerCase()

It looks like String.equalsIgnoreCase() does not use Locales.

> Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
> --------------------------------------------------------------------------------------
>
>                 Key: NET-206
>                 URL: https://issues.apache.org/jira/browse/NET-206
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Linux, JRE1.5
>            Reporter: Bohdan Bobylak
>         Attachments: DefaultFTPFileEntryParserFactory.patch
>
>
> When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
> ...
> at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
> at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ...

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

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/NET-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586193#action_12586193 ]

Sebb commented on NET-206:
--------------------------

Patch applied to trunk:
    http://svn.apache.org/viewvc?rev=645320&view=rev
and
net 2.0 branch:  
   http://svn.apache.org/viewvc?rev=645321&view=rev



> Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
> --------------------------------------------------------------------------------------
>
>                 Key: NET-206
>                 URL: https://issues.apache.org/jira/browse/NET-206
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Linux, JRE1.5
>            Reporter: Bohdan Bobylak
>         Attachments: DefaultFTPFileEntryParserFactory.patch
>
>
> When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
> ...
> at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
> at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ...

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

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (NET-206) Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/NET-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rory Winston closed NET-206.
----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0
                   1.5

> Turkish 'i' problem and ParserInitializationException: Unknown parser type: Windows_NT
> --------------------------------------------------------------------------------------
>
>                 Key: NET-206
>                 URL: https://issues.apache.org/jira/browse/NET-206
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Linux, JRE1.5
>            Reporter: Bohdan Bobylak
>             Fix For: 1.5, 2.0
>
>         Attachments: DefaultFTPFileEntryParserFactory.patch
>
>
> When default locale of a JVM is set to tr_TR with the UTF-8 encoding the following error is seen when connecting to windows ftp server:
> ...
> at org.apache.commons.net.ftp.parser.ParserInitializationException: Unknown parser type: Windows_NT
> at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:118)
> at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
> at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2188)
> ...

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