View Issue Details

IDProjectCategoryView StatusLast Update
0004941SymmetricDSBugpublic2021-04-28 19:10
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.8 
Target Version3.12.9Fixed in Version3.12.9 
Summary0004941: Null pointer on registration when conflict resolution is needed
DescriptionDuring registration, a null pointer can happen when conflict manager is needed. It transforms an insert into an update, and the transform engine returns a CsvData with a null table name attribute.

2021-04-05 13:59:11,418 INFO [pos] [DefaultDatabaseWriter] [pos-dataloader-1] Failed to process insert event in batch 00000--9999 on channel 'config'.
 StackTraceKey.init [NullPointerException:2411571325] java.lang.NullPointerException
    at org.jumpmind.symmetric.service.impl.TriggerRouterService.getActiveTriggerHistories(TriggerRouterService.java:458)
    at org.jumpmind.symmetric.load.DefaultDataLoaderFactory$1.handleWinnerForNewerCaptureWins(DefaultDataLoaderFactory.java:199)
    at org.jumpmind.symmetric.load.DefaultDataLoaderFactory$1.afterResolutionAttempt(DefaultDataLoaderFactory.java:185)
    at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriterConflictResolver.performFallbackToUpdate(AbstractDatabaseWriterConflictResolver.java:370)
    at org.jumpmind.symmetric.io.data.writer.DefaultTransformWriterConflictResolver.performFallbackToUpdate(DefaultTransformWriterConflictResolver.java:105)
    at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriterConflictResolver.performChainedFallbackForInsert(AbstractDatabaseWriterConflictResolver.java:204)
    at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriterConflictResolver.needsResolved(AbstractDatabaseWriterConflictResolver.java:67)
    at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriter.write(AbstractDatabaseWriter.java:216)
    at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64)
    at org.jumpmind.symmetric.model.ProcessInfoDataWriter.write(ProcessInfoDataWriter.java:84)
    at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:194)
    at org.jumpmind.symmetric.io.data.DataProcessor.forEachDataInTable(DataProcessor.java:212)
    at org.jumpmind.symmetric.io.data.DataProcessor.forEachTableInBatch(DataProcessor.java:178)
    at org.jumpmind.symmetric.io.data.DataProcessor.process(DataProcessor.java:124)
    at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1091)
    at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1067)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Tagsregistration

Relationships

has duplicate 0004940 closedelong NullPointerException in TriggerRouterService after conflict resolution (NEWER_WINS) 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 63005408

2021-04-05 20:56:17

admin

Details Diff
0004941: Null pointer on registration when conflict resolution is needed Affected Issues
0004941
mod - symmetric-io/src/main/java/org/jumpmind/symmetric/io/data/transform/TransformedData.java Diff File

Issue History

Date Modified Username Field Change
2021-04-05 20:55 elong New Issue
2021-04-05 20:55 elong Status new => assigned
2021-04-05 20:55 elong Assigned To => elong
2021-04-05 20:55 elong Tag Attached: registration
2021-04-05 20:56 elong Status assigned => resolved
2021-04-05 20:56 elong Resolution open => fixed
2021-04-05 20:56 elong Fixed in Version => 3.12.9
2021-04-05 21:00 admin Changeset attached => SymmetricDS 3.12 63005408
2021-04-05 21:51 elong Relationship added has duplicate 0004940
2021-04-28 19:10 admin Status resolved => closed