org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.webreach.mirth.connectors.mllp.MllpConnector@11d5915, endpointUri=mllp://127.0.0.1:8443, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_mllpEndpoint#-1650312611', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@1cd000a, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String

Mirth Project | m g | 7 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

    ERROR (org.mule.impl.DefaultComponentExceptionStrategy:95): Caught exception in Exception Strategy for: a3a7e4e8-3029-4e46-ad60-e05b7a59cb8b: org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.webreach.mirth.connectors.mllp.MllpConnector@11d5915, endpointUri=mllp://127.0.0.1:8443, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_mllpEndpoint#-1650312611', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@1cd000a, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.webreach.mirth.connectors.mllp.MllpConnector@11d5915, endpointUri=mllp://127.0.0.1:8443, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_mllpEndpoint#-1650312611', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@1cd000a, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String at org.mule.routing.inbound.SelectiveConsumer.isMatch(SelectiveConsumer.java:64) at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:83) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:493) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:272) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:244) at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processHL7Data(MllpMessageReceiver.java:476) at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processData(MllpMessageReceiver.java:436) at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.run(MllpMessageReceiver.java:353) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Unknown Source)Caused by: org.mule.umo.transformer.TransformerException: CHANNEL: RAPSHODY_PACS_LLP CONNECTOR: sourceConnector SCRIPT SOURCE: LINE NUMBER: 0 DETAILS: TypeError: error: Unexpected character encountered (lex state 9): '?' (com.webreach.mirth.server.MirthJavascriptTransformerException) at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.evaluateScript(JavaScriptTransformer.java:470) at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.transform(JavaScriptTransformer.java:356) at org.mule.transformers.AbstractEventAwareTransformer.doTransform(AbstractEventAwareTransformer.java:48) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:197) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:200) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:200) at org.mule.impl.MuleEvent.getTransformedMessage(MuleEvent.java:251) at org.mule.routing.inbound.SelectiveConsumer.isMatch(SelectiveConsumer.java:61) ... 11 moreCaused by: com.webreach.mirth.server.MirthJavascriptTransformerException: CHANNEL: RAPSHODY_PACS_LLP CONNECTOR: sourceConnector SCRIPT SOURCE: LINE NUMBER: 0 DETAILS: TypeError: error: Unexpected character encountered (lex state 9): '?' at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.evaluateScript(JavaScriptTransformer.java:460) ... 18 more Please Help!! I see other similar problems (http://www.mirthcorp.com/community/issues/browse/MIRTH-745), but i don't find where is the "Encode Entities" for do some tests. Thanks

    Mirth Project | 7 years ago | m g
    org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.webreach.mirth.connectors.mllp.MllpConnector@11d5915, endpointUri=mllp://127.0.0.1:8443, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_mllpEndpoint#-1650312611', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@1cd000a, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String
  2. 0

    ERROR (org.mule.impl.DefaultComponentExceptionStrategy:95): Caught exception in Exception Strategy for: a3a7e4e8-3029-4e46-ad60-e05b7a59cb8b: org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.webreach.mirth.connectors.mllp.MllpConnector@11d5915, endpointUri=mllp://127.0.0.1:8443, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_mllpEndpoint#-1650312611', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@1cd000a, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.webreach.mirth.connectors.mllp.MllpConnector@11d5915, endpointUri=mllp://127.0.0.1:8443, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_mllpEndpoint#-1650312611', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@1cd000a, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String at org.mule.routing.inbound.SelectiveConsumer.isMatch(SelectiveConsumer.java:64) at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:83) at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:493) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:272) at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:244) at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processHL7Data(MllpMessageReceiver.java:476) at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processData(MllpMessageReceiver.java:436) at com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.run(MllpMessageReceiver.java:353) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Unknown Source)Caused by: org.mule.umo.transformer.TransformerException: CHANNEL: RAPSHODY_PACS_LLP CONNECTOR: sourceConnector SCRIPT SOURCE: LINE NUMBER: 0 DETAILS: TypeError: error: Unexpected character encountered (lex state 9): '?' (com.webreach.mirth.server.MirthJavascriptTransformerException) at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.evaluateScript(JavaScriptTransformer.java:470) at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.transform(JavaScriptTransformer.java:356) at org.mule.transformers.AbstractEventAwareTransformer.doTransform(AbstractEventAwareTransformer.java:48) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:197) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:200) at org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:200) at org.mule.impl.MuleEvent.getTransformedMessage(MuleEvent.java:251) at org.mule.routing.inbound.SelectiveConsumer.isMatch(SelectiveConsumer.java:61) ... 11 moreCaused by: com.webreach.mirth.server.MirthJavascriptTransformerException: CHANNEL: RAPSHODY_PACS_LLP CONNECTOR: sourceConnector SCRIPT SOURCE: LINE NUMBER: 0 DETAILS: TypeError: error: Unexpected character encountered (lex state 9): '?' at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.evaluateScript(JavaScriptTransformer.java:460) ... 18 more Please Help!! I see other similar problems (http://www.mirthcorp.com/community/issues/browse/MIRTH-745), but i don't find where is the "Encode Entities" for do some tests. Thanks

    Mirth Project | 7 years ago | m g
    org.mule.umo.transformer.TransformerException: CHANNEL: RAPSHODY_PACS_LLP CONNECTOR: sourceConnector SCRIPT SOURCE: LINE NUMBER: 0 DETAILS: TypeError: error: Unexpected character encountered (lex state 9): '?' (com.webreach.mirth.server.MirthJavascriptTransformerException)

    Root Cause Analysis

    1. com.webreach.mirth.server.MirthJavascriptTransformerException

      CHANNEL: RAPSHODY_PACS_LLP CONNECTOR: sourceConnector SCRIPT SOURCE: LINE NUMBER: 0 DETAILS: TypeError: error: Unexpected character encountered (lex state 9): '?'

      at com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.evaluateScript()
    2. com.webreach.mirth
      JavaScriptTransformer.transform
      1. com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.evaluateScript(JavaScriptTransformer.java:460)
      2. com.webreach.mirth.server.mule.transformers.JavaScriptTransformer.transform(JavaScriptTransformer.java:356)
      2 frames
    3. org.mule.transformers
      AbstractTransformer.transform
      1. org.mule.transformers.AbstractEventAwareTransformer.doTransform(AbstractEventAwareTransformer.java:48)
      2. org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:197)
      3. org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:200)
      4. org.mule.transformers.AbstractTransformer.transform(AbstractTransformer.java:200)
      4 frames
    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:83)
      2 frames
    6. org.mule.providers
      AbstractMessageReceiver.routeMessage
      1. org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:493)
      2. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:272)
      3. org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:244)
      3 frames
    7. com.webreach.mirth
      MllpMessageReceiver$TcpWorker.run
      1. com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processHL7Data(MllpMessageReceiver.java:476)
      2. com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.processData(MllpMessageReceiver.java:436)
      3. com.webreach.mirth.connectors.mllp.MllpMessageReceiver$TcpWorker.run(MllpMessageReceiver.java:353)
      3 frames
    8. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:290)
      1 frame
    9. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      2 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame