Mirth Connect
  1. Mirth Connect
  2. MIRTH-628

JDBC Receiver launch an error if ths synchronous check is not selected

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None
    • Operating System:
      Windows XP

      Description

      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)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Christopher Lang
            Reporter:
            Alberto Torres
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development