org.mule.retry.notifiers.ConnectNotifier: java.lang.NullPointerException

MuleSoft JIRA | Alberto Aresca | 4 years ago
  1. 0

    If you configure an xa enabled connector to a JMS broker and the jms broker goes down, the following exception get thrown: {code} DEBUG 2013-02-19 10:34:55,584 [MuleServer.2] org.mule.retry.notifiers.ConnectNotifier: java.lang.NullPointerException at org.mule.transport.AbstractPollingMessageReceiver.schedule(AbstractPollingMessageReceiver.java:97) at org.mule.transport.AbstractPollingMessageReceiver.doStart(AbstractPollingMessageReceiver.java:62) at org.mule.transport.TransactedPollingMessageReceiver.doStart(TransactedPollingMessageReceiver.java:102) at org.mule.transport.AbstractTransportMessageHandler$3.onTransition(AbstractTransportMessageHandler.java:316) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:141) at org.mule.transport.ConnectableLifecycleManager.fireStartPhase(ConnectableLifecycleManager.java:51) at org.mule.transport.AbstractTransportMessageHandler.start(AbstractTransportMessageHandler.java:312) at org.mule.transport.AbstractConnector$5.doWork(AbstractConnector.java:1579) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:67) at com.mulesoft.mule.retry.async.RetryWorker.run(RetryWorker.java:74) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) {code} Step to reproduce: * run the attached config * tear down the activemq broker and start it again

    MuleSoft JIRA | 4 years ago | Alberto Aresca
    org.mule.retry.notifiers.ConnectNotifier: java.lang.NullPointerException
  2. 0

    If you configure an xa enabled connector to a JMS broker and the jms broker goes down, the following exception get thrown: {code} DEBUG 2013-02-19 10:34:55,584 [MuleServer.2] org.mule.retry.notifiers.ConnectNotifier: java.lang.NullPointerException at org.mule.transport.AbstractPollingMessageReceiver.schedule(AbstractPollingMessageReceiver.java:97) at org.mule.transport.AbstractPollingMessageReceiver.doStart(AbstractPollingMessageReceiver.java:62) at org.mule.transport.TransactedPollingMessageReceiver.doStart(TransactedPollingMessageReceiver.java:102) at org.mule.transport.AbstractTransportMessageHandler$3.onTransition(AbstractTransportMessageHandler.java:316) at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:141) at org.mule.transport.ConnectableLifecycleManager.fireStartPhase(ConnectableLifecycleManager.java:51) at org.mule.transport.AbstractTransportMessageHandler.start(AbstractTransportMessageHandler.java:312) at org.mule.transport.AbstractConnector$5.doWork(AbstractConnector.java:1579) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:67) at com.mulesoft.mule.retry.async.RetryWorker.run(RetryWorker.java:74) at org.mule.work.WorkerContext.run(WorkerContext.java:310) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Thread.java:662) {code} Step to reproduce: * run the attached config * tear down the activemq broker and start it again

    MuleSoft JIRA | 4 years ago | Alberto Aresca
    org.mule.retry.notifiers.ConnectNotifier: java.lang.NullPointerException

    Root Cause Analysis

    1. org.mule.retry.notifiers.ConnectNotifier

      java.lang.NullPointerException

      at org.mule.transport.AbstractPollingMessageReceiver.schedule()
    2. Mule Core
      AbstractPolicyTemplate.execute
      1. org.mule.transport.AbstractPollingMessageReceiver.schedule(AbstractPollingMessageReceiver.java:97)
      2. org.mule.transport.AbstractPollingMessageReceiver.doStart(AbstractPollingMessageReceiver.java:62)
      3. org.mule.transport.TransactedPollingMessageReceiver.doStart(TransactedPollingMessageReceiver.java:102)
      4. org.mule.transport.AbstractTransportMessageHandler$3.onTransition(AbstractTransportMessageHandler.java:316)
      5. org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:141)
      6. org.mule.transport.ConnectableLifecycleManager.fireStartPhase(ConnectableLifecycleManager.java:51)
      7. org.mule.transport.AbstractTransportMessageHandler.start(AbstractTransportMessageHandler.java:312)
      8. org.mule.transport.AbstractConnector$5.doWork(AbstractConnector.java:1579)
      9. org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:67)
      9 frames
    3. com.mulesoft.mule
      RetryWorker.run
      1. com.mulesoft.mule.retry.async.RetryWorker.run(RetryWorker.java:74)
      1 frame
    4. Mule Core
      WorkerContext.run
      1. org.mule.work.WorkerContext.run(WorkerContext.java:310)
      1 frame
    5. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame