View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003130 | SymmetricDS | Improvement | public | 2017-05-30 22:31 | 2017-05-30 23:00 |
Reporter | mmichalek | Assigned To | mmichalek | ||
Priority | normal | ||||
Status | resolved | Resolution | fixed | ||
Product Version | 3.8.0 | ||||
Target Version | 3.8.0 | Fixed in Version | 3.8.0 | ||
Summary | 0003130: Guard against case mismatches in trigger id's and router id's when doing table reloads | ||||
Description | If a trigger id is configured with a different case in sym_trigger and sym_trigger_router, a null pointer exception occurs when attempting to reload that table. This change puts switches to a case insensitive map and also adds better error reporting if we can't locate the trigger router combo. 2017-05-30 14:07:31,214 ERROR [nodeId-NodeGroup] [RouterService] [sql31_dev-DEV_SQL31-job-19] java.lang.NullPointerException at org.jumpmind.symmetric.service.impl.DataService.insertSqlEventsPriorToReload(DataService.java:635) at org.jumpmind.symmetric.service.impl.DataService.insertReloadEvents(DataService.java:435) at org.jumpmind.symmetric.service.impl.RouterService.processTableRequestLoads(RouterService.java:346) at org.jumpmind.symmetric.service.impl.RouterService.insertInitialLoadEvents(RouterService.java:300) at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:198) at org.jumpmind.symmetric.job.RouterJob.doJob(RouterJob.java:50) at org.jumpmind.symmetric.job.AbstractJob.invoke(AbstractJob.java:175) at org.jumpmind.symmetric.job.AbstractJob.run(AbstractJob.java:219) at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-05-30 22:31 | mmichalek | New Issue | |
2017-05-30 22:31 | mmichalek | Status | new => assigned |
2017-05-30 22:31 | mmichalek | Assigned To | => mmichalek |
2017-05-30 22:35 | mmichalek | Status | assigned => resolved |
2017-05-30 22:35 | mmichalek | Resolution | open => fixed |
2017-05-30 22:35 | mmichalek | Product Version | 3.8.25 => 3.8.0 |
2017-05-30 22:35 | mmichalek | Fixed in Version | => 3.8.25 |
2017-05-30 22:35 | mmichalek | Target Version | 3.8.25 => 3.8.0 |
2017-05-30 23:00 | mmichalek | Changeset attached | => SymmetricDS 3.8 9bb3123a |