java.lang.NullPointerException

Mirth Project | Mark Brighton | 2 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

    This appears to be the same as MIRTH-3749, but it *is* happening on Mirth 3.2.2.7694. The channel has multiple destinations, some work, some produce the error below. The destination that errors had been exported/imported from another channel. As with issue 3749, I was able to solve it by setting the default resource on the channel level. ´╗┐ERROR 2015-07-29 11:04:27,567 [Thread-25] com.mirth.connect.donkey.server.channel.DestinationChain: Error processing destination ORM for channel 007f0b33-4727-4304-84da-0f25fc403c4c. java.lang.NullPointerException at java.util.LinkedHashSet.<init>(Unknown Source) at com.mirth.connect.donkey.model.channel.DestinationConnectorProperties.<init>(DestinationConnectorProperties.java:67) at com.mirth.connect.connectors.js.JavaScriptDispatcherProperties.<init>(JavaScriptDispatcherProperties.java:36) at com.mirth.connect.connectors.js.JavaScriptDispatcherProperties.clone(JavaScriptDispatcherProperties.java:71) at com.mirth.connect.donkey.server.channel.DestinationConnector.process(DestinationConnector.java:402) at com.mirth.connect.donkey.server.channel.DestinationChain.call(DestinationChain.java:155) at com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1656) at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1155) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:191) at com.mirth.connect.server.controllers.DonkeyEngineController.dispatchRawMessage(DonkeyEngineController.java:517) at com.mirth.connect.server.controllers.DonkeyMessageController.reprocessMessages(DonkeyMessageController.java:437) at com.mirth.connect.server.servlets.MessageObjectServlet$1.run(MessageObjectServlet.java:169) at java.lang.Thread.run(Unknown Source)

    Mirth Project | 2 years ago | Mark Brighton
    java.lang.NullPointerException
  2. 0

    This appears to be the same as MIRTH-3749, but it *is* happening on Mirth 3.2.2.7694. The channel has multiple destinations, some work, some produce the error below. The destination that errors had been exported/imported from another channel. As with issue 3749, I was able to solve it by setting the default resource on the channel level. ´╗┐ERROR 2015-07-29 11:04:27,567 [Thread-25] com.mirth.connect.donkey.server.channel.DestinationChain: Error processing destination ORM for channel 007f0b33-4727-4304-84da-0f25fc403c4c. java.lang.NullPointerException at java.util.LinkedHashSet.<init>(Unknown Source) at com.mirth.connect.donkey.model.channel.DestinationConnectorProperties.<init>(DestinationConnectorProperties.java:67) at com.mirth.connect.connectors.js.JavaScriptDispatcherProperties.<init>(JavaScriptDispatcherProperties.java:36) at com.mirth.connect.connectors.js.JavaScriptDispatcherProperties.clone(JavaScriptDispatcherProperties.java:71) at com.mirth.connect.donkey.server.channel.DestinationConnector.process(DestinationConnector.java:402) at com.mirth.connect.donkey.server.channel.DestinationChain.call(DestinationChain.java:155) at com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1656) at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1155) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:191) at com.mirth.connect.server.controllers.DonkeyEngineController.dispatchRawMessage(DonkeyEngineController.java:517) at com.mirth.connect.server.controllers.DonkeyMessageController.reprocessMessages(DonkeyMessageController.java:437) at com.mirth.connect.server.servlets.MessageObjectServlet$1.run(MessageObjectServlet.java:169) at java.lang.Thread.run(Unknown Source)

    Mirth Project | 2 years ago | Mark Brighton
    java.lang.NullPointerException
  3. 0

    This strange issue happened on a channel that has multiple destinations in wich some use the defualt resource and others don't. Somehow this particular connector (wich uses the default resource) always throws this error. I was able to solve it by setting the default resource on the channel level. By looking at .DestinationChain ln 179 I was able to see that props.getResourceIds() is likely returning null. {code} 2015-07-16 12:28:07,955] ERROR (com.mirth.connect.donkey.server.channel.DestinationChain:179): Error processing destination MFN^M13_Add_General.mconn for channel 1f566e6d-3e35-479b-8146-e2fa043d5d36. java.lang.NullPointerException at java.util.LinkedHashSet.<init>(LinkedHashSet.java:168) at com.mirth.connect.donkey.model.channel.DestinationConnectorProperties.<init>(DestinationConnectorProperties.java:67) at com.mirth.connect.connectors.tcp.TcpDispatcherProperties.<init>(TcpDispatcherProperties.java:78) at com.mirth.connect.connectors.tcp.TcpDispatcherProperties.clone(TcpDispatcherProperties.java:266) at com.mirth.connect.donkey.server.channel.DestinationConnector.process(DestinationConnector.java:411) at com.mirth.connect.donkey.server.channel.DestinationChain.call(DestinationChain.java:155) at com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1656) at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1155) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:191) at com.mirth.connect.server.controllers.DonkeyEngineController.dispatchRawMessage(DonkeyEngineController.java:517) at com.mirth.connect.server.controllers.DonkeyMessageController.reprocessMessages(DonkeyMessageController.java:437) at com.mirth.connect.server.servlets.MessageObjectServlet$1.run(MessageObjectServlet.java:169) at java.lang.Thread.run(Thread.java:745) {code}

    Mirth Project | 2 years ago | Hugo Soares
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This strange issue happened on a channel that has multiple destinations in wich some use the defualt resource and others don't. Somehow this particular connector (wich uses the default resource) always throws this error. I was able to solve it by setting the default resource on the channel level. By looking at .DestinationChain ln 179 I was able to see that props.getResourceIds() is likely returning null. {code} 2015-07-16 12:28:07,955] ERROR (com.mirth.connect.donkey.server.channel.DestinationChain:179): Error processing destination MFN^M13_Add_General.mconn for channel 1f566e6d-3e35-479b-8146-e2fa043d5d36. java.lang.NullPointerException at java.util.LinkedHashSet.<init>(LinkedHashSet.java:168) at com.mirth.connect.donkey.model.channel.DestinationConnectorProperties.<init>(DestinationConnectorProperties.java:67) at com.mirth.connect.connectors.tcp.TcpDispatcherProperties.<init>(TcpDispatcherProperties.java:78) at com.mirth.connect.connectors.tcp.TcpDispatcherProperties.clone(TcpDispatcherProperties.java:266) at com.mirth.connect.donkey.server.channel.DestinationConnector.process(DestinationConnector.java:411) at com.mirth.connect.donkey.server.channel.DestinationChain.call(DestinationChain.java:155) at com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1656) at com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1155) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:191) at com.mirth.connect.server.controllers.DonkeyEngineController.dispatchRawMessage(DonkeyEngineController.java:517) at com.mirth.connect.server.controllers.DonkeyMessageController.reprocessMessages(DonkeyMessageController.java:437) at com.mirth.connect.server.servlets.MessageObjectServlet$1.run(MessageObjectServlet.java:169) at java.lang.Thread.run(Thread.java:745) {code}

    Mirth Project | 2 years ago | Hugo Soares
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at java.util.LinkedHashSet.<init>()
    2. Java RT
      LinkedHashSet.<init>
      1. java.util.LinkedHashSet.<init>(Unknown Source)
      1 frame
    3. com.mirth.connect
      MessageObjectServlet$1.run
      1. com.mirth.connect.donkey.model.channel.DestinationConnectorProperties.<init>(DestinationConnectorProperties.java:67)
      2. com.mirth.connect.connectors.js.JavaScriptDispatcherProperties.<init>(JavaScriptDispatcherProperties.java:36)
      3. com.mirth.connect.connectors.js.JavaScriptDispatcherProperties.clone(JavaScriptDispatcherProperties.java:71)
      4. com.mirth.connect.donkey.server.channel.DestinationConnector.process(DestinationConnector.java:402)
      5. com.mirth.connect.donkey.server.channel.DestinationChain.call(DestinationChain.java:155)
      6. com.mirth.connect.donkey.server.channel.Channel.process(Channel.java:1656)
      7. com.mirth.connect.donkey.server.channel.Channel.dispatchRawMessage(Channel.java:1155)
      8. com.mirth.connect.donkey.server.channel.SourceConnector.dispatchRawMessage(SourceConnector.java:191)
      9. com.mirth.connect.server.controllers.DonkeyEngineController.dispatchRawMessage(DonkeyEngineController.java:517)
      10. com.mirth.connect.server.controllers.DonkeyMessageController.reprocessMessages(DonkeyMessageController.java:437)
      11. com.mirth.connect.server.servlets.MessageObjectServlet$1.run(MessageObjectServlet.java:169)
      11 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame