wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes tika Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "tika " Watch "tika " New topic
Author

tika

alaky alakiyea
Greenhorn

Joined: Dec 17, 2012
Posts: 5
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 ?
Bruno Candido Volpato da Cunha
Greenhorn

Joined: Feb 21, 2012
Posts: 18

Can't read any zip or specific one?


Bruno Candido Volpato da Cunha
Oracle Certified Java Programmer 6
alaky alakiyea
Greenhorn

Joined: Dec 17, 2012
Posts: 5
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

Joined: Dec 17, 2012
Posts: 5
Bruno Candido Volpato da Cunha wrote:Can't read any zip or specific one?



can help me ?
alaky alakiyea
Greenhorn

Joined: Dec 17, 2012
Posts: 5
this link don't help me
 
 
subject: tika
 
Similar Threads
Trying to deploy application in Weblogic 10.0 !!!!
Problems reading in .docx files in java
Arrg! Can't compile anything!
getting error while starting the jboss
Error while siging the jar using jar signer