org.apache.tika.exception.TikaException: Failed to close temporary resources

Stack Overflow | Nitin Vavdiya | 5 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

    Can not index pdf file after i updated PDFBox from 1.8 to 2.0.2

    Stack Overflow | 5 months ago | Nitin Vavdiya
    org.apache.tika.exception.TikaException: Failed to close temporary resources

    Root Cause Analysis

    1. java.io.IOException

      Could not delete temporary file C:\Users\FILESE~1\AppData\Local\Temp\apache-tika-7918716906396425097.tmp

      at org.apache.tika.io.TemporaryResources$1.close()
    2. Apache Tika core
      TemporaryResources.dispose
      1. org.apache.tika.io.TemporaryResources$1.close(TemporaryResources.java:70)
      2. org.apache.tika.io.TemporaryResources.close(TemporaryResources.java:121)
      3. org.apache.tika.io.TemporaryResources.dispose(TemporaryResources.java:150)
      4. org.apache.tika.io.TemporaryResources.dispose(TemporaryResources.java:152)
      4 frames
    3. Apache Tika parsers
      PDFParser.parse
      1. org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:149)
      1 frame
    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. HornetQ JMS Client
      JMSMessageListenerWrapper.onMessage
      1. org.hornetq.jms.client.JMSMessageListenerWrapper.onMessage(JMSMessageListenerWrapper.java:91)
      1 frame
    6. HornetQ
      OrderedExecutorFactory$OrderedExecutor$1.run
      1. org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:983)
      2. org.hornetq.core.client.impl.ClientConsumerImpl.access$400(ClientConsumerImpl.java:48)
      3. org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:1113)
      4. org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100)
      4 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames