View Issue Details

IDProjectCategoryView StatusLast Update
0005691SymmetricDSBugpublic2023-11-28 20:18
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.8.0 
Target Version3.13.11Fixed in Version3.13.11 
Summary0005691: 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 0005690 closedelong Pulling corrupted batch gets null pointer in loop 
related to 0005692 closedelong Pulling corrupted batch gets null pointer in loop 
related to 0006130 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.13 9cea18c0

2023-02-06 20:44:26

admin

Details Diff
0005691: Pulling corrupted batch gets null pointer in loop Affected Issues
0005691
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.14 3b548e10

2023-02-06 20:44:26

admin

Details Diff
0005691: Pulling corrupted batch gets null pointer in loop Affected Issues
0005691
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.13 0c128622

2023-02-15 19:37:34

admin

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

SymmetricDS: 3.14 df39a24c

2023-02-15 19:37:34

admin

Details Diff
0005691: Pulling corrupted batch gets null pointer in loop Affected Issues
0005691
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:43 elong New Issue
2023-02-06 20:43 elong Status new => assigned
2023-02-06 20:43 elong Assigned To => elong
2023-02-06 20:43 elong Tag Attached: data sync
2023-02-06 20:43 elong Issue generated from: 0005690
2023-02-06 20:43 elong Relationship added related to 0005690
2023-02-06 20:47 elong Status assigned => resolved
2023-02-06 20:47 elong Resolution open => fixed
2023-02-06 20:47 elong Fixed in Version => 3.13.11
2023-02-06 20:47 elong Issue cloned: 0005692
2023-02-06 20:47 elong Relationship added related to 0005692
2023-02-06 21:00 admin Changeset attached => SymmetricDS 3.13 9cea18c0
2023-02-06 21:00 admin Changeset attached => SymmetricDS 3.14 3b548e10
2023-02-15 20:00 admin Changeset attached => SymmetricDS 3.13 0c128622
2023-02-15 20:00 admin Changeset attached => SymmetricDS 3.14 df39a24c
2023-02-15 20:26 admin Status resolved => closed
2023-11-28 20:18 elong Relationship added related to 0006130