View Issue Details

IDProjectCategoryView StatusLast Update
0005679SymmetricDSBugpublic2023-02-02 16:02
Reporterelong Assigned Toelong  
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(^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.extractOutgoingBatch(^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.extractBatch(^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.lambda$extract$1(^M
        at java.base/ Source)^M
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)^M
        at java.base/java.util.concurrent.ThreadPoolExecutor$ Source)^M
        at java.base/ Source)^M
Caused by: java.lang.IllegalArgumentException: durationMillis must not be negative^M
        at org.apache.commons.lang3.Validate.inclusiveBetween(^M
        at org.apache.commons.lang3.time.DurationFormatUtils.formatDuration(^M
        at org.apache.commons.lang3.time.DurationFormatUtils.formatDuration(^M
        at org.apache.commons.lang3.time.DurationFormatUtils.formatDurationWords(^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.acquireStagingFileLock(^M
        at org.jumpmind.symmetric.service.impl.DataExtractorService.acquireLock(^M
        ... 7 more^


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


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