You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Jakub Horcicka (Jira)" <ji...@apache.org> on 2020/12/17 09:25:00 UTC

[jira] [Created] (METAMODEL-1229) Using FixedWidth with UrlResource/HttpInputStream

Jakub Horcicka created METAMODEL-1229:
-----------------------------------------

             Summary: Using FixedWidth with UrlResource/HttpInputStream
                 Key: METAMODEL-1229
                 URL: https://issues.apache.org/jira/browse/METAMODEL-1229
             Project: Apache MetaModel
          Issue Type: Bug
            Reporter: Jakub Horcicka


When I want to use a URL (e. g. [http://localhost:8080/tmp/fixed-width.txt] ) as path, it fails with ClassCastException (HttpInputStream can't be cast to BufferedInputStream). 

This can be fixed by creating a new BufferedInputStream(originalInputStream). 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)