View Issue Details

IDProjectCategoryView StatusLast Update
0005679SymmetricDSBugpublic2023-02-02 16:02
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.14.5Fixed in Version3.14.5 
Summary0005679: Extract fails with durationMillis must not be negative
DescriptionExtract fails with error message of durationMillis must not be negative, because the staging lock file has a last modified time in the future. This can happen when using clustering with a shared file system and the time is not in sync between SymmetricDS server and the file system server.

2023-01-30 22:15:13,977 ERROR [Shore-shore01] [DataExtractorService] [qtp1107404311-91699] Failed to extract batch Hafnia Excel-10348773 StackTraceKey.init [SymmetricException:1289222988] org.jumpmind.symmetric.SymmetricException: java.lang.IllegalArgumentException: durationMillis must not be negative^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.acquireLock(DataExtractorService.java:1232)^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.extractOutgoingBatch(DataExtractorService.java:1062)^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.extractBatch(DataExtractorService.java:967)^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.lambda$extract$1(DataExtractorService.java:723)^M
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)^M
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)^M
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)^M
        at java.base/java.lang.Thread.run(Unknown Source)^M
Caused by: java.lang.IllegalArgumentException: durationMillis must not be negative^M
        at org.apache.commons.lang3.Validate.inclusiveBetween(Validate.java:1043)^M
        at org.apache.commons.lang3.time.DurationFormatUtils.formatDuration(DurationFormatUtils.java:131)^M
        at org.apache.commons.lang3.time.DurationFormatUtils.formatDuration(DurationFormatUtils.java:114)^M
        at org.apache.commons.lang3.time.DurationFormatUtils.formatDurationWords(DurationFormatUtils.java:181)^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.acquireStagingFileLock(DataExtractorService.java:1260)^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.acquireLock(DataExtractorService.java:1213)^M
        ... 7 more^
Tagsextract

Relationships

related to 0005678 closedelong Extract fails with durationMillis must not be negative 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-02-02 16:01 elong New Issue
2023-02-02 16:01 elong Status new => assigned
2023-02-02 16:01 elong Assigned To => elong
2023-02-02 16:01 elong Tag Attached: extract
2023-02-02 16:01 elong Issue generated from: 0005678
2023-02-02 16:01 elong Relationship added related to 0005678
2023-02-02 16:02 elong Status assigned => resolved
2023-02-02 16:02 elong Resolution open => fixed
2023-02-02 16:02 elong Fixed in Version => 3.14.5
2023-02-15 20:26 admin Status resolved => closed