route.org.mule.umo.routing.RoutingException

Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.file.FileConnector@79a5d7e0, endpointUri=file://c:/data/lpnt/bbk, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_fileEndpoint#-2125213528', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@2090f5c5, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String

Solutions on the web2

  • via Mirth Project by Chris McNatt, 1 year ago
    Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.file.FileConnector@79a5d7e0, endpointUri=file://c:/data/lpnt/bbk, transformer=Transformer{name
  • via Mirth Project by Chris McNatt, 1 year ago
    Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.file.FileConnector@79a5d7e0, endpointUri=file://c:/data/lpnt/bbk, transformer=Transformer{name
  • Stack trace

    • route.org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.file.FileConnector@79a5d7e0, endpointUri=file://c:/data/lpnt/bbk, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_fileEndpoint#-2125213528', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@2090f5c5, 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: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:225) at com.mirth.connect.connectors.file.FileMessageReceiver.processFile(FileMessageReceiver.java:228) at com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:118) 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) Caused by: org.mule.umo.transformer.TransformerException: java.lang.ArrayIndexOutOfBoundsException: 0 (com.mirth.connect.server.mule.adaptors.AdaptorException) at com.mirth.connect.server.mule.transformers.JavaScriptTransformer.transform(JavaScriptTransformer.java:284) 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 more Caused by: com.mirth.connect.server.mule.adaptors.AdaptorException: java.lang.ArrayIndexOutOfBoundsException: 0 at com.mirth.connect.server.mule.adaptors.Adaptor.handleException(Adaptor.java:89) at com.mirth.connect.server.mule.adaptors.HL7v2Adaptor.populateMessage(HL7v2Adaptor.java:48) at com.mirth.connect.server.mule.adaptors.Adaptor.getMessage(Adaptor.java:61) at com.mirth.connect.server.mule.transformers.JavaScriptTransformer.transform(JavaScriptTransformer.java:255) ... 17 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at com.mirth.connect.model.converters.ER7Serializer.getMetadataFromEncoded(ER7Serializer.java:281) at com.mirth.connect.server.mule.adaptors.Adaptor.populateMetadataFromEncoded(Adaptor.java:100) at com.mirth.connect.server.mule.adaptors.HL7v2Adaptor.populateMessage(HL7v2Adaptor.java:40) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.