View Issue Details

IDProjectCategoryView StatusLast Update
0003130SymmetricDSImprovementpublic2017-05-30 23:00
Reportermmichalek Assigned Tommichalek  
Prioritynormal 
Status resolvedResolutionfixed 
Product Version3.8.0 
Target Version3.8.0Fixed in Version3.8.0 
Summary0003130: Guard against case mismatches in trigger id's and router id's when doing table reloads
DescriptionIf 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)
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.8 9bb3123a

2017-05-30 18:34:05

mmichalek

Details Diff
0003130: Guard against case mismatches in trigger id's and router id's
when doing table reloads
Affected Issues
0003130
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/service/impl/DataService.java Diff File

Issue History

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