View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006361 | SymmetricDS | Bug | public | 2024-04-26 17:25 | 2024-04-26 18:00 |
Reporter | emiller | Assigned To | emiller | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.15.0 | ||||
Target Version | 3.15.6 | Fixed in Version | 3.15.6 | ||
Summary | 0006361: NullPointerException when sending a load with file sync enabled and without a valid sym_trigger_hist row for sym_file_snapshot | ||||
Description | When 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) | ||||
Tags | file sync | ||||
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 |
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 |