Did you test with the release or with the candidate or with an earlier
build? A bug like you mentioned was fixed just a few days ago. Please
share the file and some minimal code.
Tilman
On 5/28/2025 2:08 AM, Craig Muchinsky via user wrote:
After upgrading to tika 3.2.0, I started seeing the following
exception when attempting to detect the mime type for a given file,
I'm wondering if something in the way input streams are handled has
changed, or if this might be a regression?
Caused by: java.io.IOException: Resetting to invalid mark
at
[email protected]/java.io.BufferedInputStream.implReset(BufferedInputStream.java:583)
at
[email protected]/java.io.BufferedInputStream.reset(BufferedInputStream.java:569)
at app//org.apache.tika.io.BoundedInputStream.reset(BoundedInputStream.java:115)
at
app//org.apache.tika.detect.zip.DefaultZipContainerDetector.detectStreaming(DefaultZipContainerDetector.java:279)
at
app//org.apache.tika.detect.zip.DefaultZipContainerDetector.detect(DefaultZipContainerDetector.java:192)
at
app//org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:84)
at app//org.apache.tika.Tika.detect(Tika.java:160)
at app//org.apache.tika.Tika.detect(Tika.java:185)