org.mule.umo.transformer.TransformerException: Could not find a transformer to transform "org.mortbay.jetty.servlet.ServletHttpRequest" to "java.io.InputStream".

MuleSoft JIRA | Dan Diephouse | 9 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I'm getting this exception when using the MuleReceiverServlet with CXF. This works fine when the regular HTTP transport is being used: [01-22 13:56:55] WARN CxfServiceComponent [SocketListener0-1]: Could not dispatch message to XFire! org.mule.umo.transformer.TransformerException: Could not find a transformer to transform "org.mortbay.jetty.servlet.ServletHttpRequest" to "java.io.InputStream". at org.mule.impl.registry.AbstractRegistry.lookupTransformer(AbstractRegistry.java:276) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:162) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:120) at org.mule.impl.MuleEvent.transformMessage(MuleEvent.java:320) at org.mule.impl.MuleEventContext.transformMessage(MuleEventContext.java:112) at org.mule.providers.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:193) at org.mule.providers.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:110) at org.mule.impl.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52) at org.mule.impl.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50) at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:189) at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:193) at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:242) at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:505) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:343) at org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:210) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:177) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:600) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:344) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:267) at org.mule.providers.http.servlet.MuleReceiverServlet.doGet(MuleReceiverServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) See WsdlCallTestCase.testRequestWsdlWithServlets for more info.

    MuleSoft JIRA | 9 years ago | Dan Diephouse
    org.mule.umo.transformer.TransformerException: Could not find a transformer to transform "org.mortbay.jetty.servlet.ServletHttpRequest" to "java.io.InputStream".
  2. 0

    I'm getting this exception when using the MuleReceiverServlet with CXF. This works fine when the regular HTTP transport is being used: [01-22 13:56:55] WARN CxfServiceComponent [SocketListener0-1]: Could not dispatch message to XFire! org.mule.umo.transformer.TransformerException: Could not find a transformer to transform "org.mortbay.jetty.servlet.ServletHttpRequest" to "java.io.InputStream". at org.mule.impl.registry.AbstractRegistry.lookupTransformer(AbstractRegistry.java:276) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:162) at org.mule.impl.MuleMessage.getPayload(MuleMessage.java:120) at org.mule.impl.MuleEvent.transformMessage(MuleEvent.java:320) at org.mule.impl.MuleEventContext.transformMessage(MuleEventContext.java:112) at org.mule.providers.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:193) at org.mule.providers.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:110) at org.mule.impl.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52) at org.mule.impl.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50) at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:189) at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:193) at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:242) at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:505) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:343) at org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:210) at org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:177) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:600) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:344) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:267) at org.mule.providers.http.servlet.MuleReceiverServlet.doGet(MuleReceiverServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) See WsdlCallTestCase.testRequestWsdlWithServlets for more info.

    MuleSoft JIRA | 9 years ago | Dan Diephouse
    org.mule.umo.transformer.TransformerException: Could not find a transformer to transform "org.mortbay.jetty.servlet.ServletHttpRequest" to "java.io.InputStream".

    Root Cause Analysis

    1. org.mule.umo.transformer.TransformerException

      Could not find a transformer to transform "org.mortbay.jetty.servlet.ServletHttpRequest" to "java.io.InputStream".

      at org.mule.impl.registry.AbstractRegistry.lookupTransformer()
    2. org.mule.impl
      MuleEventContext.transformMessage
      1. org.mule.impl.registry.AbstractRegistry.lookupTransformer(AbstractRegistry.java:276)
      2. org.mule.impl.MuleMessage.getPayload(MuleMessage.java:162)
      3. org.mule.impl.MuleMessage.getPayload(MuleMessage.java:120)
      4. org.mule.impl.MuleEvent.transformMessage(MuleEvent.java:320)
      5. org.mule.impl.MuleEventContext.transformMessage(MuleEventContext.java:112)
      5 frames
    3. org.mule.providers
      CxfServiceComponent.onCall
      1. org.mule.providers.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:193)
      2. org.mule.providers.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:110)
      2 frames
    4. Annotations
      DefaultEntryPointResolverSet.invoke
      1. org.mule.impl.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
      2. org.mule.impl.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
      2 frames
    5. org.mule.impl
      MuleSession.sendEvent
      1. org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:189)
      2. org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:193)
      3. org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:242)
      4. org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:505)
      5. org.mule.impl.MuleSession.sendEvent(MuleSession.java:343)
      5 frames
    6. org.mule.routing
      InboundRouterCollection.route
      1. org.mule.routing.inbound.InboundRouterCollection.send(InboundRouterCollection.java:210)
      2. org.mule.routing.inbound.InboundRouterCollection.route(InboundRouterCollection.java:177)
      2 frames
    7. org.mule.providers
      MuleReceiverServlet.doGet
      1. org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:600)
      2. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:344)
      3. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:267)
      4. org.mule.providers.http.servlet.MuleReceiverServlet.doGet(MuleReceiverServlet.java:115)
      4 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
      2 frames
    9. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
      2. org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:677)
      3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
      3 frames
    10. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
      2. org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
      3. org.mortbay.http.HttpServer.service(HttpServer.java:909)
      4. org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
      5. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
      6. org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
      7. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
      7 frames
    11. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
      2 frames