org.mule.umo.transformer.TransformerException: Failed to parse result map

Mirth Project | Jonathan Martens | 4 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.
  1. 0

    I am having issues using functions in a database source connector connected to a database. The channel starts but seems to crashes for every job when using string functions like CONCAT with the following exception: [2013-01-25 12:44:06,323] ERROR (com.mirth.connect.connectors.jdbc.JdbcMessageReceiver:195): Error in channel: CONCAT issue org.mule.umo.transformer.TransformerException: Failed to parse result map at com.mirth.connect.server.mule.transformers.ResultMapToXML.doTransform(ResultMapToXML.java:93) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:197) at org.mule.impl.MuleEvent.getTransformedMessage(MuleEvent.java:251) at org.mule.routing.inbound.SelectiveConsumer.isMatch(SelectiveConsumer.java:61) at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:79) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:487) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:266) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:229) at com.mirth.connect.connectors.jdbc.JdbcMessageReceiver.processMessage(JdbcMessageReceiver.java:180) at org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:98) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:72) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:104) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) Since I cannot publish the query here (as it is rather complex,multitable, multidatabase join) I have reduced it to a small test case like this: SELECT field1 AS `key`, CONCAT( field2 field3 ) AS `value` FROM table LIMIT 2 In my setup this also triggers the error, whereas the same channel with the following query works as expected: SELECT field1 AS `key`, field2, field3 AS `value` FROM table LIMIT 2

    Mirth Project | 4 years ago | Jonathan Martens
    org.mule.umo.transformer.TransformerException: Failed to parse result map
  2. 0

    I am having issues using functions in a database source connector connected to a database. The channel starts but seems to crashes for every job when using string functions like CONCAT with the following exception: [2013-01-25 12:44:06,323] ERROR (com.mirth.connect.connectors.jdbc.JdbcMessageReceiver:195): Error in channel: CONCAT issue org.mule.umo.transformer.TransformerException: Failed to parse result map at com.mirth.connect.server.mule.transformers.ResultMapToXML.doTransform(ResultMapToXML.java:93) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:197) at org.mule.impl.MuleEvent.getTransformedMessage(MuleEvent.java:251) at org.mule.routing.inbound.SelectiveConsumer.isMatch(SelectiveConsumer.java:61) at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:79) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:487) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:266) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:229) at com.mirth.connect.connectors.jdbc.JdbcMessageReceiver.processMessage(JdbcMessageReceiver.java:180) at org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:98) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:72) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:104) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source) Since I cannot publish the query here (as it is rather complex,multitable, multidatabase join) I have reduced it to a small test case like this: SELECT field1 AS `key`, CONCAT( field2 field3 ) AS `value` FROM table LIMIT 2 In my setup this also triggers the error, whereas the same channel with the following query works as expected: SELECT field1 AS `key`, field2, field3 AS `value` FROM table LIMIT 2

    Mirth Project | 4 years ago | Jonathan Martens
    org.mule.umo.transformer.TransformerException: Failed to parse result map
  3. 0

    Email Sender - multiple TO addresses throws error - Mirth Community

    mirthcorp.com | 9 months ago
    org.mule.umo.transformer.TransformerException: Illegal semicolon, not in group (javax.mail.internet.AddressException) at com.webreach.mirth.connectors.email.transformers.M essageObjectToEmailMessage.transform(MessageObject ToEmailMessage.java:168) at org.mule.transformers.AbstractEventAwareTransforme r.doTransform(AbstractEventAwareTransformer.java:4 8) at org.mule.transformers.AbstractTransformer.transfor m(AbstractTransformer.java:197) at com.webreach.mirth.connectors.email.SmtpMessageDis patcher.doDispatch(SmtpMessageDispatcher.java:106) at com.webreach.mirth.connectors.email.SmtpMessageDis patcher.doSend(SmtpMessageDispatcher.java:146) at org.mule.providers.AbstractMessageDispatcher.send( AbstractMessageDispatcher.java:167) at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:191) at org.mule.impl.MuleSession.sendEvent(MuleSession.ja va:130) at org.mule.routing.outbound.AbstractOutboundRouter.s end(AbstractOutboundRouter.java:85) at org.mule.routing.outbound.FilteringMulticastingRou ter.route(FilteringMulticastingRouter.java:45) at org.mule.routing.outbound.OutboundMessageRouter$1. doInTransaction(OutboundMessageRouter.java:78) at org.mule.transaction.TransactionTemplate.execute(T ransactionTemplate.java:48) at org.mule.routing.outbound.OutboundMessageRouter.ro ute(OutboundMessageRouter.java:82) at org.mule.impl.model.DefaultMuleProxy.run(DefaultMu leProxy.java:395) at org.mule.impl.work.WorkerContext.run(WorkerContext .java:290) at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650) at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.run(ThreadPoolExecutor.java :675)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.mule.umo.transformer.TransformerException

      Failed to parse result map

      at com.mirth.connect.server.mule.transformers.ResultMapToXML.doTransform()
    2. com.mirth.connect
      ResultMapToXML.doTransform
      1. com.mirth.connect.server.mule.transformers.ResultMapToXML.doTransform(ResultMapToXML.java:93)
      1 frame
    3. org.mule.transformers
      AbstractTransformer.transform
      1. org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:197)
      1 frame
    4. org.mule.impl
      MuleEvent.getTransformedMessage
      1. org.mule.impl.MuleEvent.getTransformedMessage(MuleEvent.java:251)
      1 frame
    5. org.mule.routing
      InboundMessageRouter.route
      1. org.mule.routing.inbound.SelectiveConsumer.isMatch(SelectiveConsumer.java:61)
      2. org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:79)
      2 frames
    6. org.mule.providers
      AbstractMessageReceiver.routeMessage
      1. org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:487)
      2. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:266)
      3. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:229)
      3 frames
    7. com.mirth.connect
      JdbcMessageReceiver.processMessage
      1. com.mirth.connect.connectors.jdbc.JdbcMessageReceiver.processMessage(JdbcMessageReceiver.java:180)
      1 frame
    8. org.mule.providers
      TransactedPollingMessageReceiver$1.doInTransaction
      1. org.mule.providers.TransactedPollingMessageReceiver$1.doInTransaction(TransactedPollingMessageReceiver.java:98)
      1 frame
    9. Mule Core
      TransactionTemplate.execute
      1. org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:72)
      1 frame
    10. org.mule.providers
      PollingMessageReceiver.run
      1. org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:104)
      2. org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97)
      2 frames
    11. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:290)
      1 frame
    12. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
      2 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame