javax.ws.rs.WebApplicationException: HTTP 500 Internal Server Error

tika-user | Allison, Timothy B. | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. javax.ws.rs.WebApplicationException

    HTTP 500 Internal Server Error

    at org.apache.tika.server.TikaResource$5.write()
  2. Tika server
    TikaResource$5.write
    1. org.apache.tika.server.TikaResource$5.write(TikaResource.java:397)
    1 frame
  3. Apache CXF Runtime JAX-RS Frontend
    JAXRSOutInterceptor.handleMessage
    1. org.apache.cxf.jaxrs.provider.BinaryDataProvider.writeTo(BinaryDataProvider.java:164)
    2. org.apache.cxf.jaxrs.utils.JAXRSUtils.writeMessageBody(JAXRSUtils.java:1363)
    3. org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.serializeMessage(JAXRSOutInterceptor.java:244)
    4. org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.processResponse(JAXRSOutInterceptor.java:117)
    5. org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor.handleMessage(JAXRSOutInterceptor.java:80)
    5 frames
  4. Apache CXF Core
    ChainInitiationObserver.onMessage
    1. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
    2. org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:83)
    3. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
    4. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
    4 frames
  5. Apache CXF Runtime HTTP Transport
    AbstractHTTPDestination.invoke
    1. org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:251)
    1 frame
  6. Apache CXF Runtime HTTP Jetty Transport
    JettyHTTPHandler.handle
    1. org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:261)
    2. org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:70)
    2 frames
  7. Jetty
    AsyncHttpConnection.handle
    1. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1088)
    2. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1024)
    3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
    4. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
    5. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
    6. org.eclipse.jetty.server.Server.handle(Server.java:370)
    7. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
    8. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
    9. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
    10. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
    11. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
    12. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
    12 frames
  8. GWT dev
    SelectChannelEndPoint$1.run
    1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
    2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
    2 frames
  9. Jetty
    QueuedThreadPool$3.run
    1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
    2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
    2 frames
  10. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame