commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Haertel (JIRA)" <>
Subject [jira] [Commented] (VFS-505) Reading from an input stream in a .tar ends up with a 'reading from an output buffer' exception
Date Mon, 23 Dec 2013 17:27:50 GMT


Robbie Haertel commented on VFS-505:

FWIW, the tests that are (now) failing are:

Tests in error: 
» FileSystem
» FileSystem
  MultipleConnectionTestCase.testUnderlyingConnect:73 » SSL Unrecognized SSL mes...
  MultipleConnectionTestCase.testConnectRoot:61->resolveRoot:54 » FileSystem Cou... »
ExceptionInInitializer »
  ProviderTestSuite>>AbstractTestSuite.setUp:182 » FileSystem

Tests run: 1626, Failures: 0, Errors: 8, Skipped: 2

> Reading from an input stream in a .tar ends up with a 'reading from an output buffer'
> -----------------------------------------------------------------------------------------------
>                 Key: VFS-505
>                 URL:
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Robbie Haertel
> This is probably the same issue as, but
for version 2.0 and for the .tar reader.
> The problem: After successfully reading some files from the .tar, I unexpectedly get:
> {noformat}
> Caused by: reading from an output buffer
> at org.apache.commons.vfs2.provider.tar.TarBuffer.readRecord(
> at
> at
> at
> at
> at sun.nio.cs.StreamDecoder.readBytes(
> at sun.nio.cs.StreamDecoder.implRead(
> at
> at
> at
> at
> {noformat}
> Note that I have several read-only streams open on the same .tar file. The are being
read on the same thread, but reads to different files are interleaved. Even more interesting
is that the same code path works fine when only reading a small subset of the data (this,
too, includes interleaving reads to different files in the same .tar file). It may be a function
of the number of bytes read.
> Note that I do NOT have any files open for writing.

This message was sent by Atlassian JIRA

View raw message