View Issue Details

IDProjectCategoryView StatusLast Update
0005677SymmetricDSBugpublic2023-02-02 16:00
Reporterelong Assigned Toelong  
Prioritynormal 
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(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.

Related Changesets

SymmetricDS: 3.12 2b690220

2023-02-02 15:59:30

admin

Details Diff
0005677: Extract fails with durationMillis must not be negative Affected Issues
0005677
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/stage/StagingFileLock.java 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