View Issue Details

IDProjectCategoryView StatusLast Update
0005678SymmetricDSBugpublic2023-02-02 17:00
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.13.11Fixed in Version3.13.11 
Summary0005678: 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 0005677 closedelong Extract fails with durationMillis must not be negative 
related to 0005679 closedelong Extract fails with durationMillis must not be negative 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.13 1171b71f

2023-02-02 16:01:18

admin

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

SymmetricDS: 3.14 1ff49a2a

2023-02-02 16:01:18

admin

Details Diff
0005678: Extract fails with durationMillis must not be negative Affected Issues
0005678
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:59 elong New Issue
2023-02-02 15:59 elong Status new => assigned
2023-02-02 15:59 elong Assigned To => elong
2023-02-02 15:59 elong Tag Attached: extract
2023-02-02 15:59 elong Issue generated from: 0005677
2023-02-02 15:59 elong Relationship added related to 0005677
2023-02-02 16:01 elong Status assigned => resolved
2023-02-02 16:01 elong Resolution open => fixed
2023-02-02 16:01 elong Fixed in Version => 3.13.11
2023-02-02 16:01 elong Issue cloned: 0005679
2023-02-02 16:01 elong Relationship added related to 0005679
2023-02-02 17:00 admin Changeset attached => SymmetricDS 3.13 1171b71f
2023-02-02 17:00 admin Changeset attached => SymmetricDS 3.14 1ff49a2a
2023-02-15 20:26 admin Status resolved => closed