java.lang.NullPointerException

Mirth Project | Alberto Torres | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 2 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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