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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

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
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)
at com.mirth.connect.server.mule.adaptors.Adaptor.getMessage(Adaptor.java:61)
at com.mirth.connect.server.mule.transformers.JavaScriptTransformer.transform(JavaScriptTransformer.java:255)
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)
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 java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.