View Issue Details

IDProjectCategoryView StatusLast Update
0005690SymmetricDSBugpublic2023-11-28 20:15
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.8.0 
Target Version3.12.22Fixed in Version3.12.22 
Summary0005690: Pulling corrupted batch gets null pointer in loop
DescriptionWhen a batch is pulled and written to staging, if the "batch" token is missing (corrupted file on source), the writer will get a NullPointerException. There is not a batch ID to acknowledge, so the same batch will be pulled and get the same error. The user must manually clear the batch from staging on the source.

2023-02-01 12:00:00,000 ERROR [client-A] [SimpleStagingDataWriter] [client-a-pull-default-1] Failed to write batch into staging from server:000:000. java.lang.NullPointerException: null

The client should log that the incoming batch is corrupt and acknowledge the server that one of the batches it sent were corrupt. The server should remove any batches from staging that did not get an acknowledgement.
Tagsdata sync

Relationships

related to 0005691 closedelong Pulling corrupted batch gets null pointer in loop 
related to 0006129 closedelong Too many "Expected but did not receive an ack for batch" 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 e04560ab

2023-02-06 20:42:51

admin

Details Diff
0005690: Pulling corrupted batch gets null pointer in loop Affected Issues
0005690
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/common/Constants.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/io/stage/SimpleStagingDataWriter.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/IAcknowledgeService.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/AcknowledgeService.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataLoaderService.java Diff File
mod - symmetric-server/src/main/java/org/jumpmind/symmetric/web/AckUriHandler.java Diff File

SymmetricDS: 3.12 e6967df3

2023-02-15 19:36:02

admin

Details Diff
0005690: Pulling corrupted batch gets null pointer in loop Affected Issues
0005690
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/AcknowledgeService.java Diff File

Issue History

Date Modified Username Field Change
2023-02-06 20:30 elong New Issue
2023-02-06 20:30 elong Status new => assigned
2023-02-06 20:30 elong Assigned To => elong
2023-02-06 20:43 elong Status assigned => resolved
2023-02-06 20:43 elong Resolution open => fixed
2023-02-06 20:43 elong Fixed in Version => 3.12.22
2023-02-06 20:43 elong Tag Attached: data sync
2023-02-06 20:43 elong Issue cloned: 0005691
2023-02-06 20:43 elong Relationship added related to 0005691
2023-02-06 21:00 admin Changeset attached => SymmetricDS 3.12 e04560ab
2023-02-15 20:00 admin Changeset attached => SymmetricDS 3.12 e6967df3
2023-02-15 20:25 admin Status resolved => closed
2023-11-28 20:15 elong Relationship added related to 0006129