• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

tika

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem with tika parser that can't read temprory zip file that it had created .
this StackTrace is :

java.lang.InternalError: jzentry == 0, jzfile = 139750727169136, total = 235, name = /tmp/apache-tika-8076182698055047262.tmp, i = 176, message = null

at java.util.zip.ZipFile$2.nextElement(ZipFile.java:322)

at java.util.zip.ZipFile$2.nextElement(ZipFile.java:304)

at org.apache.poi.openxml4j.opc.ZipPackage.getPartsImpl(ZipPackage.java:158)

at org.apache.poi.openxml4j.opc.OPCPackage.getParts(OPCPackage.java:615)

at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:208)

at org.apache.tika.parser.pkg.ZipContainerDetector.detectOfficeOpenXML(ZipContainerDetector.java:118)

at org.apache.tika.parser.pkg.ZipContainerDetector.detect(ZipContainerDetector.java:74)

at org.apache.tika.detect.CompositeDetector.detect(CompositeDetector.java:61)

at org.apache.tika.Tika.detect(Tika.java:134)

at org.apache.tika.Tika.detect(Tika.java:181)

at org.apache.tika.Tika.detect(Tika.java:228)

at java.lang.Thread.run(Thread.java:619)


AuotoDetectParser is use'd by multithread at the same time this . is this class thread-safe or problem is from temprory file ?
 
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can't read any zip or specific one?
 
alaky alakiyea
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tika create a zip file that consume this file later
this zip file has corrupted and this error happen for some zip file .
this error occures rarely .
thanks alot
 
alaky alakiyea
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bruno Candido Volpato da Cunha wrote:Can't read any zip or specific one?




can help me ?
 
alaky alakiyea
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this link don't help me
 
This is my favorite tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!