View Issue Details

IDProjectCategoryView StatusLast Update
0003588SymmetricDSBugpublic2018-06-05 20:55
Reportermmichalek Assigned Tommichalek  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.9.0 
Target Version3.9.8Fixed in Version3.9.8 
Summary0003588: Configuring a custom job with a cron schedule may result in exceptions in the log and the custom job failing to start
Description018-05-31 14:39:11,823 ERROR [store-001] [BshJob] [store-001-job-18] Failed to schedule job 'Restart' because of an invalid schedule: '0 0 0 * * *' Check the job.3pm.restart.period.time.ms parameter. (org.jumpmind.symmetric.job.AbstractJob.getTimeBetweenRunsInMs(AbstractJob.java:163))
java.lang.NumberFormatException: For input string: "0 0 0 * * *"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Long.parseLong(Long.java:589)
    at java.lang.Long.parseLong(Long.java:631)
    at org.jumpmind.symmetric.job.AbstractJob.getTimeBetweenRunsInMs(AbstractJob.java:158)
    at org.jumpmind.symmetric.job.AbstractJob.start(AbstractJob.java:121)
    at org.jumpmind.symmetric.job.JobManager.startJobs(JobManager.java:123)
    at org.jumpmind.symmetric.route.ConfigurationChangedDataRouter.contextCommitted(ConfigurationChangedDataRouter.java:659)
    at org.jumpmind.symmetric.service.impl.RouterService.completeBatchesAndCommit(RouterService.java:817)
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForChannel(RouterService.java:749)
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForEachChannel(RouterService.java:502)
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:219)
    at org.jumpmind.symmetric.job.RouterJob.doJob(RouterJob.java:49)
    at org.jumpmind.symmetric.job.AbstractJob.invoke(AbstractJob.java:225)
    at org.jumpmind.symmetric.job.AbstractJob.run(AbstractJob.java:296)
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.9 b017650f

2018-05-31 15:34:43

mmichalek

Details Diff
0003588: Configuring a custom job with a cron schedule may result in
exceptions in the log and the custom job failing to start
Affected Issues
0003588
mod - symmetric-client/src/main/java/org/jumpmind/symmetric/job/AbstractJob.java Diff File

Issue History

Date Modified Username Field Change
2018-05-31 18:59 mmichalek New Issue
2018-05-31 18:59 mmichalek Status new => assigned
2018-05-31 18:59 mmichalek Assigned To => mmichalek
2018-05-31 19:35 mmichalek Status assigned => resolved
2018-05-31 19:35 mmichalek Resolution open => fixed
2018-05-31 19:35 mmichalek Fixed in Version => 3.9.8
2018-05-31 20:00 mmichalek Changeset attached => SymmetricDS 3.9 b017650f
2018-06-05 20:55 mmichalek Status resolved => closed