Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.9.11, 1.10.6, 1.11.1
-
None
Description
Current Situation
When a job has a post processing module that is implements spooler_task_after with a Java class that extends JobSchedulerJobAdapter, a null pointer exception will be thrown.
[ERROR] Script_monitor configuration_monitor spooler_task_after()V: Z-JAVA-105 Java exception com.sos.JSHelper.Exceptions.JobSchedulerException: JSJ_F_0060: error occurred reading Parameter from Variable_set : 'null
Example
<job title="Start a parallel processing in a jobchain" order="yes" stop_on_error="no"> <params /> <script language="java" java_class="com.sos.jitl.splitter.JobChainSplitterJSAdapterClass"/> <monitor name="configuration_monitor" ordering="1"> <script java_class="com.sos.jitl.jobchainnodeparameter.monitor.JobchainNodeSubstituteMonitor" language="java"/> </monitor> <run_time /> </job>
Desired Behaviour
When a job has a post processing module that is implements spooler_task_after with a Java class that extends JobSchedulerJobAdapter, no null pointer exception should be thrown.
Available Patch
There is a patch for JobScheduler 1.11.0 and 1.11.1
- Download the patch
- Copy the file to $scheduler_home/lib/patches
- Do not forget to remove the patch when installing a JobScheduelr > 1.11.1.
http://download.sos-berlin.com/patches/patch_for_111_JITL-339_spooler_task_after.jar