On 05/04/2011 09:55 AM, Jukka Zitting wrote:
On 05/04/2011 07:55 AM, Sascha Rodekamp wrote:
Here are an extraction of my code to understand what i'm try to do:

InputStream is = new FileInputStream(file);

Tika tika = new Tika();
tika.detect(is);

It alwas throws an java.io.IOException: Read error

Do you have the exception stack trace?

Oh, I saw you posted it to Jira already.

Just to see if we're not missing anything, can you test if the following code works as expected (i.e. doesn't throw anything):

    InputStream is = new FileInputStream(file);
    is.read();

--
Jukka Zitting

Reply via email to