View Issue Details

IDProjectCategoryView StatusLast Update
0005677SymmetricDSBugpublic2023-02-02 16:00
Reporterelong Assigned Toelong  
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.12.22Fixed in Version3.12.22 
Summary0005677: 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.

Related Changesets

SymmetricDS: 3.12 2b690220

2023-02-02 15:59:30


Details Diff
0005677: Extract fails with durationMillis must not be negative Affected Issues
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/stage/ Diff File

Issue History

Date Modified Username Field Change
2023-02-02 15:29 elong New Issue
2023-02-02 15:29 elong Status new => assigned
2023-02-02 15:29 elong Assigned To => elong
2023-02-02 15:29 elong Tag Attached: extract
2023-02-02 15:59 elong Status assigned => resolved
2023-02-02 15:59 elong Resolution open => fixed
2023-02-02 15:59 elong Fixed in Version => 3.12.22
2023-02-02 15:59 elong Issue cloned: 0005678
2023-02-02 15:59 elong Relationship added related to 0005678
2023-02-02 16:00 admin Changeset attached => SymmetricDS 3.12 2b690220
2023-02-15 20:25 admin Status resolved => closed