org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: com.mirth.connect.model.MessageObject

Mirth Project | Matias Lizana | 5 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

    http://www.mirthcorp.com/community/forums/showthread.php?t=5944 fails on connector.getHeaders().entrySet(), headers are null. [2011-09-08 09:57:29,565] ERROR (org.mule.impl.DefaultComponentExceptionStrategy:95): Caught exception in Exception Strategy for: a1d58847-4b4d-4a2e-8e05-9c79d62e1d40: org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: com.mirth.connect.model.MessageObject org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: com.mirth.connect.model.MessageObject at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:84) at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:247) at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209) at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201) at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:176) at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:143) 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.routing.CouldNotRouteOutboundMessageException: Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.smtp.SmtpConnector@17b9f44, endpointUri=smtp://noop, transformer=Transformer{name='a1d58847-4b4d-4a2e-8e05-9c79d62e1d40_destination_1_transformer', returnClass=false, returnClass=false, sourceTypes=[]}, name='_smtpEndpoint#1509828859', type='sender', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@c155dd, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: com.mirth.connect.model.MessageObject at org.mule.routing.outbound.FilteringMulticastingRouter.route(FilteringMulticastingRouter.java:72) at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48) at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82) ... 16 moreCaused by: org.mule.umo.provider.DispatchException: Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.smtp.SmtpConnector@17b9f44, endpointUri=smtp://noop, transformer=Transformer{name='a1d58847-4b4d-4a2e-8e05-9c79d62e1d40_destination_1_transformer', returnClass=false, returnClass=false, sourceTypes=[]}, name='_smtpEndpoint#1509828859', type='sender', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@c155dd, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: com.mirth.connect.model.MessageObject at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:177) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85) at org.mule.routing.outbound.FilteringMulticastingRouter.route(FilteringMulticastingRouter.java:54) ... 19 moreCaused by: java.lang.NullPointerException at com.mirth.connect.connectors.smtp.SmtpMessageDispatcher.doDispatch(SmtpMessageDispatcher.java:105) at com.mirth.connect.connectors.smtp.SmtpMessageDispatcher.doSend(SmtpMessageDispatcher.java:185) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:164) ... 23 more

    Mirth Project | 5 years ago | Matias Lizana
    org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: com.mirth.connect.model.MessageObject
  2. 0

    http://www.mirthcorp.com/community/forums/showthread.php?t=5944 fails on connector.getHeaders().entrySet(), headers are null. [2011-09-08 09:57:29,565] ERROR (org.mule.impl.DefaultComponentExceptionStrategy:95): Caught exception in Exception Strategy for: a1d58847-4b4d-4a2e-8e05-9c79d62e1d40: org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: com.mirth.connect.model.MessageObject org.mule.umo.routing.RoutingException: Failed to route event via endpoint: null. Message payload is of type: com.mirth.connect.model.MessageObject at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:84) at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:247) at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209) at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201) at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:176) at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:143) 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.routing.CouldNotRouteOutboundMessageException: Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.smtp.SmtpConnector@17b9f44, endpointUri=smtp://noop, transformer=Transformer{name='a1d58847-4b4d-4a2e-8e05-9c79d62e1d40_destination_1_transformer', returnClass=false, returnClass=false, sourceTypes=[]}, name='_smtpEndpoint#1509828859', type='sender', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@c155dd, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: com.mirth.connect.model.MessageObject at org.mule.routing.outbound.FilteringMulticastingRouter.route(FilteringMulticastingRouter.java:72) at org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48) at org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82) ... 16 moreCaused by: org.mule.umo.provider.DispatchException: Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect.connectors.smtp.SmtpConnector@17b9f44, endpointUri=smtp://noop, transformer=Transformer{name='a1d58847-4b4d-4a2e-8e05-9c79d62e1d40_destination_1_transformer', returnClass=false, returnClass=false, sourceTypes=[]}, name='_smtpEndpoint#1509828859', type='sender', properties={}, transactionConfig=org.mule.impl.MuleTransactionConfig@c155dd, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: com.mirth.connect.model.MessageObject at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:177) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191) at org.mule.impl.MuleSession.sendEvent(MuleSession.java:130) at org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85) at org.mule.routing.outbound.FilteringMulticastingRouter.route(FilteringMulticastingRouter.java:54) ... 19 moreCaused by: java.lang.NullPointerException at com.mirth.connect.connectors.smtp.SmtpMessageDispatcher.doDispatch(SmtpMessageDispatcher.java:105) at com.mirth.connect.connectors.smtp.SmtpMessageDispatcher.doSend(SmtpMessageDispatcher.java:185) at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:164) ... 23 more

    Mirth Project | 5 years ago | Matias Lizana
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.mirth.connect.connectors.smtp.SmtpMessageDispatcher.doDispatch()
    2. com.mirth.connect
      SmtpMessageDispatcher.doSend
      1. com.mirth.connect.connectors.smtp.SmtpMessageDispatcher.doDispatch(SmtpMessageDispatcher.java:105)
      2. com.mirth.connect.connectors.smtp.SmtpMessageDispatcher.doSend(SmtpMessageDispatcher.java:185)
      2 frames
    3. org.mule.providers
      AbstractMessageDispatcher.send
      1. org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:164)
      1 frame
    4. org.mule.impl
      MuleSession.sendEvent
      1. org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
      2. org.mule.impl.MuleSession.sendEvent(MuleSession.java:130)
      2 frames
    5. Mule Core
      OutboundMessageRouter.route
      1. org.mule.routing.outbound.AbstractOutboundRouter.send(AbstractOutboundRouter.java:85)
      2. org.mule.routing.outbound.FilteringMulticastingRouter.route(FilteringMulticastingRouter.java:54)
      3. org.mule.routing.outbound.OutboundMessageRouter$1.doInTransaction(OutboundMessageRouter.java:78)
      4. org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:48)
      5. org.mule.routing.outbound.OutboundMessageRouter.route(OutboundMessageRouter.java:82)
      5 frames
    6. org.mule.impl
      MuleSession.sendEvent
      1. org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:247)
      2. org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
      3. org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
      4. org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
      4 frames
    7. org.mule.routing
      InboundMessageRouter.route
      1. org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:176)
      2. org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:143)
      2 frames
    8. 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:225)
      3 frames
    9. com.mirth.connect
      FileMessageReceiver.poll
      1. com.mirth.connect.connectors.file.FileMessageReceiver.processFile(FileMessageReceiver.java:228)
      2. com.mirth.connect.connectors.file.FileMessageReceiver.poll(FileMessageReceiver.java:118)
      2 frames
    10. org.mule.providers
      PollingMessageReceiver.run
      1. org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97)
      1 frame
    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