Apache TIKA:org.apache.cxf.interceptor故障:XML_WRITE_EXC

问题描述

Apacke Tika 1.24。

Tika在服务器模式下运行如下:

java -Xmx3G -jar tika-server.jar -spawnChild --host=hostname.domain.com

我在Tika Server日志中观察到以下错误。是什么原因造成的?

rMeta/text (autodetecting type)
ERROR Problem with writing the data,class org.apache.tika.server.MetadataList,ContentType: application/json
WARN  Interceptor for {http://resource.server.tika.apache.org/}MetadataResource has 
thrown exception,unwinding Now
org.apache.cxf.interceptor.Fault: org.apache.tika.exception.TikaException:
org.eclipse.jetty.io.EofException
at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.io.IOException: org.apache.tika.exception.TikaException:
org.eclipse.jetty.io.EofException
at org.apache.tika.server.writer.MetadataListMessageBodyWriter.writeto(
MetadataListMessageBodyWriter.java:64)
...
WARN  Interceptor for {http://resource.server.tika.apache.org/}
MetadataResource has thrown exception,unwinding Now
org.apache.cxf.interceptor.Fault: XML_WRITE_EXC
at org.apache.cxf.jaxrs.interceptor.JAXRSDefaultFaultOutInterceptor.
handleMessage(JAXRSDefaultFaultOutInterceptor.java:106)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)