Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-499

The JITL jobs SOSSSHJob2JSAdapter, JobSchedulerPLSQLJob should not throw NPE when used in a job chain

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 1.12.6
    • 1.12.7
    • None

    Description

      Current Situation

      When using the JITL Jobs SOSSSHJob2JSAdapter, JobSchedulerPLSQLJob in a job chain then a null pointer exception is thrown

      java.lang.NullPointerException 
       	at sos.scheduler.job.JobSchedulerJobAdapter.setJSParam(JobSchedulerJobAdapter.java:270) 
       	at sos.net.ssh.SOSSSHJob2.checkExitCode(SOSSSHJob2.java:127) 
       	at sos.net.ssh.SOSSSHJobJSch.execute(SOSSSHJobJSch.java:211) 
       	at sos.scheduler.job.SOSSSHJob2JSAdapter.doProcessing(SOSSSHJob2JSAdapter.java:108) 
       	at sos.scheduler.job.SOSSSHJob2JSAdapter.spooler_process(SOSSSHJob2JSAdapter.java:49) 
      

      Desired Behavior

      No exception should be thrown when using the JITL Jobs SOSSSHJob2JSAdapter, JobSchedulerPLSQLJob in a job chain

      Patch

      A patch is available here

      Maintainer Note

      This Issue has been introduced with JITL-482.

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Santiago Aucejo Petzoldt Santiago Aucejo Petzoldt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: