org.mule.api.transformer.TransformerException: Missing author field

MuleSoft JIRA | Daniel Zapata | 7 years ago
  1. 0

    Go to the examples/bookstore/admin-web directory from a distribution and run: mvn tomcat:run When trying to add a new book, I see the following error in the console: Root Exception stack trace: org.mule.api.transformer.TransformerException: Missing author field at org.mule.example.bookstore.transformers.HttpRequestToBook.transform(HttpRequestToBook.java:49) at org.mule.transformer.AbstractMessageAwareTransformer.doTransform(AbstractMessageAwareTransformer.java:68) at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254) at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:639) at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:600) at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:593) at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326) at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321) at org.mule.DefaultMuleEventContext.transformMessage(DefaultMuleEventContext.java:91) at org.mule.model.resolvers.AbstractEntryPointResolver.getPayloadFromMessage(AbstractEntryPointResolver.java:122) at org.mule.model.resolvers.ReflectionEntryPointResolver.invoke(ReflectionEntryPointResolver.java:118) at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50) at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205) at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83) at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74) at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133) at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161) at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929) at org.mule.model.seda.SedaService.doSend(SedaService.java:260) at org.mule.service.AbstractService.sendEvent(AbstractService.java:500) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175) at org.mule.transport.servlet.MuleRESTReceiverServlet.doPost(MuleRESTReceiverServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) ********************************************************************************

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    org.mule.api.transformer.TransformerException: Missing author field
  2. 0

    Go to the examples/bookstore/admin-web directory from a distribution and run: mvn tomcat:run When trying to add a new book, I see the following error in the console: Root Exception stack trace: org.mule.api.transformer.TransformerException: Missing author field at org.mule.example.bookstore.transformers.HttpRequestToBook.transform(HttpRequestToBook.java:49) at org.mule.transformer.AbstractMessageAwareTransformer.doTransform(AbstractMessageAwareTransformer.java:68) at org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254) at org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:639) at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:600) at org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:593) at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326) at org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321) at org.mule.DefaultMuleEventContext.transformMessage(DefaultMuleEventContext.java:91) at org.mule.model.resolvers.AbstractEntryPointResolver.getPayloadFromMessage(AbstractEntryPointResolver.java:122) at org.mule.model.resolvers.ReflectionEntryPointResolver.invoke(ReflectionEntryPointResolver.java:118) at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50) at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205) at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83) at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74) at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133) at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161) at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929) at org.mule.model.seda.SedaService.doSend(SedaService.java:260) at org.mule.service.AbstractService.sendEvent(AbstractService.java:500) at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354) at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228) at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188) at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252) at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175) at org.mule.transport.servlet.MuleRESTReceiverServlet.doPost(MuleRESTReceiverServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) ********************************************************************************

    MuleSoft JIRA | 7 years ago | Daniel Zapata
    org.mule.api.transformer.TransformerException: Missing author field
  3. 0

    Mule TransformerException: An invalid return type "class [B" was specified for transformer "JAXBMarshallerTransformer"

    Stack Overflow | 2 years ago | youhans
    org.mule.api.transformer.TransformerException: An invalid return type "class [B" was specified for transformer "JAXBMarshallerTransformer"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Mule: How to make sure payload is in writable state before doing file outbound

    Stack Overflow | 3 years ago | Learner
    org.mule.api.transformer.TransformerException: Could not find a transformer to transform "SimpleDataType{type=org.apache.commons.httpclient.methods.PostMethod, mimeType='*/*'}" to "SimpleDataType{type=java.io.InputStream, mimeType='*/*'}".
  6. 0

    How to transform javax.mail.internet.MimeMessage to java.io.InputStream in Mule

    Stack Overflow | 3 years ago | Anbu
    org.mule.api.transformer.TransformerException: Could not find a transformer to transform "SimpleDataType{type=javax.mail.internet.MimeMessage, mimeType='*/*'}" to "SimpleDataType{type=java.io.InputStream, mimeType='*/*'}". at org.mule.registry.MuleRegistryHelper.lookupTransformer(MuleRegistryHelper.java:252)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.mule.api.transformer.TransformerException

      Missing author field

      at org.mule.example.bookstore.transformers.HttpRequestToBook.transform()
    2. org.mule.example
      HttpRequestToBook.transform
      1. org.mule.example.bookstore.transformers.HttpRequestToBook.transform(HttpRequestToBook.java:49)
      1 frame
    3. Mule Core
      DefaultMuleSession.sendEvent
      1. org.mule.transformer.AbstractMessageAwareTransformer.doTransform(AbstractMessageAwareTransformer.java:68)
      2. org.mule.transformer.AbstractTransformer.transform(AbstractTransformer.java:254)
      3. org.mule.DefaultMuleMessage.applyAllTransformers(DefaultMuleMessage.java:639)
      4. org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:600)
      5. org.mule.DefaultMuleMessage.applyTransformers(DefaultMuleMessage.java:593)
      6. org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:326)
      7. org.mule.DefaultMuleEvent.transformMessage(DefaultMuleEvent.java:321)
      8. org.mule.DefaultMuleEventContext.transformMessage(DefaultMuleEventContext.java:91)
      9. org.mule.model.resolvers.AbstractEntryPointResolver.getPayloadFromMessage(AbstractEntryPointResolver.java:122)
      10. org.mule.model.resolvers.ReflectionEntryPointResolver.invoke(ReflectionEntryPointResolver.java:118)
      11. org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
      12. org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
      13. org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
      14. org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
      15. org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
      16. org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
      17. org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
      18. org.mule.model.seda.SedaService.doSend(SedaService.java:260)
      19. org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
      20. org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
      20 frames
    4. org.mule.routing
      DefaultInboundRouterCollection.route
      1. org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
      2. org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
      2 frames
    5. Mule Core
      AbstractMessageReceiver.routeMessage
      1. org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:359)
      2. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
      3. org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:175)
      3 frames
    6. Servlet Transport
      MuleRESTReceiverServlet.doPost
      1. org.mule.transport.servlet.MuleRESTReceiverServlet.doPost(MuleRESTReceiverServlet.java:103)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      2 frames
    8. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
      8 frames
    9. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame