java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Alberto Torres,
  • 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)
    via by Alberto Torres,
    • java.lang.NullPointerException at com.webreach.mirth.connectors.jdbc.JdbcMessageReceiver.processMessage(JdbcMessageReceiver.java:172) at org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.doInTransaction(TransactedPollingMessageReceiver.java:159) at org.mule.transaction.TransactionTemplate.execute(TransactionTemplate.java:72) at org.mule.providers.TransactedPollingMessageReceiver$MessageProcessorWorker.run(TransactedPollingMessageReceiver.java:149) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)
    No Bugmate found.