iDash error in time parsing

Document ID : KB000072523
Last Modified Date : 02/03/2018
Show Technical Document Details
Introduction:
In the Idash error logs we see the following errors:
Time: error parsing run window:SOMEJOB_NAME :"04:00-22:30". Expected run window syntax:HH:mm-HH:mm

What is this?
Question:
On our primary iDash server, we are getting similar errors below on time parsing: 18-02-28 09.49.58 [ERROR] XXX:com.ca.idash.core.util.Time: error parsing run window:SOMEJOB_NAME :"04:00-22:30". Expected run window syntax:HH:mm-HH:mm com.ca.idash.core.exception.IdashException: java.lang.NumberFormatException: For input string: ""04" "04:00 at com.ca.idash.core.util.Time.parseOneTime(Time.java:98) at com.ca.idash.core.util.Time.parseRunWindow(Time.java:125) at com.ca.idash.core.db.autosys.ar11_3x.AR11_3JobDataUtil.getJobData(AR11_3JobDataUtil.java:140) at com.ca.idash.core.db.autosys.ar11_3x.AR11_3JobDataUtil.getJobsX(AR11_3JobDataUtil.java:86) at com.ca.idash.core.db.autosys.ar11_3x.AR11_3JobDataUtil.getJobs(AR11_3JobDataUtil.java:54) at com.ca.idash.core.db.autosys.DbJobUtil.getJobs(DbJobUtil.java:120) at com.ca.idash.core.db.Db.getJobs(Db.java:269) at com.ca.idash.core.instance.InstanceThread.reloadX(InstanceThread.java:639) at com.ca.idash.core.instance.InstanceThread.reload(InstanceThread.java:628) at com.ca.idash.core.instance.InstanceThread.checkAndReload(InstanceThread.java:448) at com.ca.idash.core.instance.InstanceThread.refreshFromDB(InstanceThread.java:370) at com.ca.idash.core.instance.InstanceThread.refreshAutosysData(InstanceThread.java:260) at com.ca.idash.core.instance.InstanceThread.oneIterationX(InstanceThread.java:214) at com.ca.idash.core.instance.InstanceThread.oneIteration(InstanceThread.java:134) at com.ca.idash.core.server.BaseThread.run(BaseThread.java:159)
Answer:
The run window attribute in the job was not setup correctly so it created the iDash error. Please check your job definition.