Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5458

NullPointer at org.apache.camel.component.ssh.SshHelper.sendExecCommand(SshHelper.java:50)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • Camel
    • None
    • % %
    • Hide

      Will attempt to develop and attach a reproducer.

      Show
      Will attempt to develop and attach a reproducer.
    • Sprint 5 - towards ER2

      When running scheduled camel-ssh batch job with a polling consumer, the following stacktrace is intermittently encountered and the job fails:

      Exception Stack :- java.lang.NullPointerException
      	at org.apache.camel.component.ssh.SshHelper.sendExecCommand(SshHelper.java:50)
      	at org.apache.camel.component.ssh.SshConsumer.poll(SshConsumer.java:55)
      	at org.apache.camel.impl.ScheduledPollConsumer.doRun(ScheduledPollConsumer.java:174)
      	at org.apache.camel.impl.ScheduledPollConsumer.run(ScheduledPollConsumer.java:101)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      

      Customer reports that this error was not encountered using the camel 2.12 components.

            acosenti Andrea Cosentino
            rhn-support-dhawkins Duane Hawkins
            Martin Basovnik Martin Basovnik (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: