On Mon, 30 Jun 2014, PRANEESH KUMAR wrote:
Using Tika 1.5 getting java.io.IOException: Resetting to invalid mark while reseting the stream passed.
What kind of thing is the stream you're passing?
stream.mark(Integer.MAX_VALUE);
Does your stream support marking? And does it support marking that much?Also, you could consider wrapping it with a TikaInputStream, which handles marking / buffering to files / etc if needed
Nick
