View Issue Details

IDProjectCategoryView StatusLast Update
0006361SymmetricDSBugpublic2024-04-26 18:00
Reporteremiller Assigned Toemiller  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.15.0 
Target Version3.15.6Fixed in Version3.15.6 
Summary0006361: NullPointerException when sending a load with file sync enabled and without a valid sym_trigger_hist row for sym_file_snapshot
DescriptionWhen sending a load, a NullPointerException occurs if the following conditions are met:

- file.sync.enable=true
- A row in sym_file_trigger_router exists so that the source node of the load could be a source for file sync
- There is no valid sym_trigger_hist row for sym_file_snapshot

Below is an example of the NullPointerException:

Error while queuing initial loads StackTraceKey.init [NullPointerException:3180668952] java.lang.NullPointerException: Cannot invoke "org.jumpmind.symmetric.model.TriggerHistory.getTriggerId()" because "fileSyncSnapshotHistory" is null
    at org.jumpmind.symmetric.service.impl.DataService.insertFileSyncBatchForReload(DataService.java:1688)
    at org.jumpmind.symmetric.service.impl.DataService.insertReloadEvents(DataService.java:1067)
    at org.jumpmind.symmetric.service.impl.InitialLoadService.processTableRequestLoads(InitialLoadService.java:372)
    at org.jumpmind.symmetric.service.impl.InitialLoadService.queueLoads(InitialLoadService.java:85)
    at org.jumpmind.symmetric.job.InitialLoadJob.doJob(InitialLoadJob.java:42)
    at org.jumpmind.symmetric.job.AbstractJob.invoke(AbstractJob.java:202)
    at org.jumpmind.symmetric.job.AbstractJob.run(AbstractJob.java:268)
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
Tagsfile sync

Relationships

related to 0006360 closedemiller NullPointerException when sending a load with file sync enabled and without a valid sym_trigger_hist row for sym_file_snapshot 

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.15 4f44b658

2024-04-26 17:33:27

evan-miller-jumpmind

Details Diff
0006361: Fixed NullPointerException when sending a load with file sync enabled and without a valid sym_trigger_hist row for sym_file_snapshot Affected Issues
0006361
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataService.java Diff File

Issue History

Date Modified Username Field Change
2024-04-26 17:25 emiller New Issue
2024-04-26 17:25 emiller Status new => assigned
2024-04-26 17:25 emiller Assigned To => emiller
2024-04-26 17:25 emiller Tag Attached: file sync
2024-04-26 17:25 emiller Issue generated from: 0006360
2024-04-26 17:25 emiller Relationship added related to 0006360
2024-04-26 17:45 emiller Status assigned => resolved
2024-04-26 17:45 emiller Resolution open => fixed
2024-04-26 17:45 emiller Fixed in Version => 3.15.6
2024-04-26 18:00 Changeset attached => SymmetricDS 3.15 4f44b658
2024-05-03 17:35 admin Status resolved => closed