You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Rob Tulloh (JIRA)" <ji...@apache.org> on 2014/10/21 23:13:34 UTC

[jira] [Created] (TIKA-1453) fails to parse RFC3464 documents

Rob Tulloh created TIKA-1453:
--------------------------------

             Summary: fails to parse RFC3464 documents
                 Key: TIKA-1453
                 URL: https://issues.apache.org/jira/browse/TIKA-1453
             Project: Tika
          Issue Type: Bug
    Affects Versions: 1.5
            Reporter: Rob Tulloh
            Priority: Minor


Tika 1.5 does not support content-type message/delivery-status

http://tools.ietf.org/html/rfc3464

Notes from Oracle indicate that javamail now supports this RFC.

curl -H "Content-Type:message/delivery-status" -T /tmp/xxx http://localhost:9998/tika

Produces

2014-10-21_21:06:40.23890 Oct 21, 2014 4:06:40 PM org.apache.tika.server.TikaResource logRequest
2014-10-21_21:06:40.23894 INFO: tika (message/delivery-status)
2014-10-21_21:06:40.23994 Oct 21, 2014 4:06:40 PM org.apache.tika.server.TikaResource$3 write
2014-10-21_21:06:40.23995 WARNING: tika: Text extraction failed
2014-10-21_21:06:40.23996 org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.server.TikaResource$1@dae96f2
2014-10-21_21:06:40.23997       at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244)
2014-10-21_21:06:40.23997       at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
2014-10-21_21:06:40.23998       at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:136)
2014-10-21_21:06:40.23998       at org.apache.tika.server.TikaResource$3.write(TikaResource.java:196)
2014-10-21_21:06:40.23999       at org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:118)
2014-10-21_21:06:40.23999       at org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1317)
2014-10-21_21:06:40.24000       at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:284)
2014-10-21_21:06:40.24000       at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:157)
2014-10-21_21:06:40.24001       at org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:86)
2014-10-21_21:06:40.24002       at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
2014-10-21_21:06:40.24003       at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:77)
2014-10-21_21:06:40.24004       at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
2014-10-21_21:06:40.24007       at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
2014-10-21_21:06:40.24008       at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:355)
2014-10-21_21:06:40.24009       at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:319)
2014-10-21_21:06:40.24009       at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)
2014-10-21_21:06:40.24010       at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1088)
2014-10-21_21:06:40.24010       at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1024)
2014-10-21_21:06:40.24011       at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
2014-10-21_21:06:40.24011       at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
2014-10-21_21:06:40.24012       at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
2014-10-21_21:06:40.24013       at org.eclipse.jetty.server.Server.handle(Server.java:370)
2014-10-21_21:06:40.24014       at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
2014-10-21_21:06:40.24014       at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:971)
2014-10-21_21:06:40.24015       at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1033)
2014-10-21_21:06:40.24015       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:651)
2014-10-21_21:06:40.24016       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)