Adding CA7 scheduler in AAI is failing: java.lang.IllegalArgumentException: Value too early to represent a valid time
search cancel

Adding CA7 scheduler in AAI is failing: java.lang.IllegalArgumentException: Value too early to represent a valid time

book

Article ID: 382657

calendar_today

Updated On:

Products

Automation Analytics & Intelligence

Issue/Introduction

Adding a CA7 scheduler in AAI is failing with the error message in the jaws.log.

 

 INFO  [AddScheduler] Error occurred; deleting partially-added scheduler: com.termalabs.common.JawsException: System error

        at com.termalabs.server.app.scheduler.AddScheduler.addScheduler(AddScheduler.java:262)

        at com.termalabs.server.app.scheduler.AddScheduler.addScheduler(AddScheduler.java:174)

        at com.termalabs.server.restapi.service.SchedulersService$1.run(SchedulersService.java:269)

Caused by: java.lang.IllegalArgumentException: Value too early to represent a valid time: 1973/10/13 00:00:00.000 CDT

        at com.termalabs.util.time.EpochTime.valueOf(EpochTime.java:238)

        at com.termalabs.util.time.EpochTime.valueOf(EpochTime.java:277)

        at com.termalabs.server.ca7.CA7Utils.convertJulianDateTimeToEpochTime(CA7Utils.java:1020)

        at com.termalabs.server.ca7.CA7Converter.createEpochTimeFromDontScheduleString(CA7Converter.java:427)

        at com.termalabs.server.ca7.CA7Converter.createConditionsFromJobProperties(CA7Converter.java:398)

        at com.termalabs.server.ca7.CA7Converter.processJobs(CA7Converter.java:500)

        at com.termalabs.server.ca7.CA7Converter.convertJobs(CA7Converter.java:335)

        at com.termalabs.server.app.scheduler.SchedulerHelper.runConverterFirstTime(SchedulerHelper.java:128)

        ... 2 in common

Environment

Product: Automation Analytics & Intelligence v6.x, CA7

Cause

AAI does not support dates earlier than 1974. The LJOB from the CA7 contains job(s) which is/are configured not to schedule before the year 1973 shown below.

 DONT SCHEDULE BEFORE 73286 AT 0000  

 

The Julian date 73286 is equivalent to the year 1973.

Resolution

Please modify the "DON'T SCHEDULE BEFORE ..." parameter of the jobs in LJOB and make sure it is the year 1974 or later.