java.lang.NullPointerException

Mirth Project | Alberto Torres | 9 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

    When the channel is not-synchronous, each time a row is readed, an error appears at the the log files, and is collected at the events registers. This error seems to be solved by changing the JdbcMessageReceiver.java (line 172) from: postprocessor.doPostProcess(retMessage.getPayload()); to: if (retMessage!=null) postprocessor.doPostProcess(retMessage.getPayload()); The exception is: | ERROR 2007-11-17 23:39:22,486 [43e9cc60-7163-4d42-94f0-f773b5f1318d_source_connector._jdbcEndpoint#-1118066545.receiver.2] org.mule.impl.DefaultComponentExceptionStrategy: Caught exception in Exception Strategy for: 43e9cc60-7163-4d42-94f0-f773b5f1318d: java.lang.NullPointerException INFO | jvm 1 | 2007/11/17 23:39:22 | java.lang.NullPointerException INFO | jvm 1 | 2007/11/17 23:39:22 | at com.webreach.mirth.connectors.jdbc.JdbcMessageReceiver.processMessage(JdbcMessageReceiver.java:172) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.doInTransaction(TransactedPollingMessageReceiver.java:159) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:72) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.run(TransactedPollingMessageReceiver.java:149) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) INFO | jvm 1 | 2007/11/17 23:39:22 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) INFO | jvm 1 | 2007/11/17 23:39:22 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) INFO | jvm 1 | 2007/11/17 23:39:22 | at java.lang.Thread.run(Thread.java:595)

    Mirth Project | 9 years ago | Alberto Torres
    java.lang.NullPointerException
  2. 0

    When the channel is not-synchronous, each time a row is readed, an error appears at the the log files, and is collected at the events registers. This error seems to be solved by changing the JdbcMessageReceiver.java (line 172) from: postprocessor.doPostProcess(retMessage.getPayload()); to: if (retMessage!=null) postprocessor.doPostProcess(retMessage.getPayload()); The exception is: | ERROR 2007-11-17 23:39:22,486 [43e9cc60-7163-4d42-94f0-f773b5f1318d_source_connector._jdbcEndpoint#-1118066545.receiver.2] org.mule.impl.DefaultComponentExceptionStrategy: Caught exception in Exception Strategy for: 43e9cc60-7163-4d42-94f0-f773b5f1318d: java.lang.NullPointerException INFO | jvm 1 | 2007/11/17 23:39:22 | java.lang.NullPointerException INFO | jvm 1 | 2007/11/17 23:39:22 | at com.webreach.mirth.connectors.jdbc.JdbcMessageReceiver.processMessage(JdbcMessageReceiver.java:172) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.doInTransaction(TransactedPollingMessageReceiver.java:159) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:72) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.run(TransactedPollingMessageReceiver.java:149) INFO | jvm 1 | 2007/11/17 23:39:22 | at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) INFO | jvm 1 | 2007/11/17 23:39:22 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) INFO | jvm 1 | 2007/11/17 23:39:22 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) INFO | jvm 1 | 2007/11/17 23:39:22 | at java.lang.Thread.run(Thread.java:595)

    Mirth Project | 9 years ago | Alberto Torres
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.webreach.mirth.connectors.jdbc.JdbcMessageReceiver.processMessage()
    2. com.webreach.mirth
      JdbcMessageReceiver.processMessage
      1. com.webreach.mirth.connectors.jdbc.JdbcMessageReceiver.processMessage(JdbcMessageReceiver.java:172)
      1 frame
    3. org.mule.providers
      TransactedPollingMessageReceiver$MessageProcessorWorker.doInTransaction
      1. org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.doInTransaction(TransactedPollingMessageReceiver.java:159)
      1 frame
    4. Mule Core
      TransactionTemplate.execute
      1. org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:72)
      1 frame
    5. org.mule.providers
      TransactedPollingMessageReceiver$MessageProcessorWorker.run
      1. org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.run(TransactedPollingMessageReceiver.java:149)
      1 frame
    6. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:290)
      1 frame
    7. 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
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:595)
      1 frame