org.apache.solr.common.SolrException: org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.jpeg.JpegParser@627eeb6c

GitHub | finch0001 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    End of data reached when parseJpeg.

    GitHub | 6 months ago | finch0001
    org.apache.solr.common.SolrException: org.apache.tika.exception.TikaException: TIKA-198: Illegal IOException from org.apache.tika.parser.jpeg.JpegParser@627eeb6c

    Root Cause Analysis

    1. java.io.EOFException

      End of data reached.

      at com.drew.lang.StreamReader.getByte()
    2. ${project.groupId}:${project.artifactId}
      JpegMetadataReader.readMetadata
      1. com.drew.lang.StreamReader.getByte(StreamReader.java:53)
      2. com.drew.lang.SequentialReader.getInt8(SequentialReader.java:116)
      3. com.drew.imaging.jpeg.JpegSegmentReader.readSegments(JpegSegmentReader.java:119)
      4. com.drew.imaging.jpeg.JpegMetadataReader.process(JpegMetadataReader.java:120)
      5. com.drew.imaging.jpeg.JpegMetadataReader.readMetadata(JpegMetadataReader.java:73)
      6. com.drew.imaging.jpeg.JpegMetadataReader.readMetadata(JpegMetadataReader.java:89)
      7. com.drew.imaging.jpeg.JpegMetadataReader.readMetadata(JpegMetadataReader.java:100)
      7 frames
    3. Apache Tika parsers
      JpegParser.parse
      1. org.apache.tika.parser.image.ImageMetadataExtractor.parseJpeg(ImageMetadataExtractor.java:91)
      2. org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:56)
      2 frames
    4. Apache Tika core
      AutoDetectParser.parse
      1. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
      2. org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
      3. org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
      3 frames
    5. Apache Solr Content Extraction Library
      ExtractingDocumentLoader.load
      1. org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(ExtractingDocumentLoader.java:221)
      1 frame
    6. Apache Solr Core
      SolrDispatchFilter.doFilter
      1. org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
      2. org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
      3. org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:246)
      4. org.apache.solr.core.SolrCore.execute(SolrCore.java:1976)
      5. org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:777)
      6. org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
      7. org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
      7 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      7. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      8. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      9. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      9 frames
    8. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
      3 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames