View Issue Details

IDProjectCategoryView StatusLast Update
0005108SymmetricDSBugpublic2021-11-04 14:58
Reporterelong Assigned Toelong  
Status closedResolutionfixed 
Product Version3.12.0 
Target Version3.12.12Fixed in Version3.12.12 
Summary0005108: Failed to route beanshell event from conflict resolution
DescriptionDuring a conflict with multiple nodes, a beanshell event is created to ask other nodes for a newer row. The beanshell event is recorded with the table name and trigger history for the table in conflict. But if the configuration has routing for that table that depends on data from insert, update, delete events, then it gets an exception. Instead, we can use an internal table like sym_node to get the event routed.

2021-10-15 07:24:12,013 ERROR [server] [RouterService] [server-job-10] Failed to route and batch data on 'reload' channel StackTraceKey.init [SymmetricException:3600131373] org.jumpmind.symmetric.SymmetricException: Failed to route data: 80244819 for table: mytable.
Failed row data was: "if (context != void && context != null) { engine.getDataService().sendNewerDataToNode(context.findTransaction(), SOURCE_NODE_ID, \"mytable\", \"\\\"C5D4FEFE-F320-4315-8BA7-C8780873AB36\\\"\", new Date(1633958230316L), \"001\"); }"
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(
    at org.jumpmind.symmetric.service.impl.RouterService.selectDataAndRoute(
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForChannel(
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForEachChannel(
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(
    at org.jumpmind.symmetric.job.RouterJob.doJob(
    at org.jumpmind.symmetric.job.AbstractJob.invoke(
    at java.base/java.util.concurrent.Executors$
    at java.base/java.util.concurrent.FutureTask.runAndReset(
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.base/java.util.concurrent.ThreadPoolExecutor$
    at java.base/
Caused by: java.lang.NullPointerException
    at org.jumpmind.symmetric.route.SubSelectDataRouter.routeToNodes(
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(
    ... 14 more
TagsNo tags attached.


There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 0a424486

2021-10-22 12:14:40


Details Diff
0005108: Failed to route beanshell event from conflict resolution Affected Issues
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/load/ Diff File

Issue History

Date Modified Username Field Change
2021-10-22 12:13 elong New Issue
2021-10-22 12:13 elong Status new => assigned
2021-10-22 12:13 elong Assigned To => elong
2021-10-22 12:14 elong Status assigned => resolved
2021-10-22 12:14 elong Resolution open => fixed
2021-10-22 12:14 elong Fixed in Version => 3.12.12
2021-10-22 13:00 admin Changeset attached => SymmetricDS 3.12 0a424486
2021-11-04 14:58 admin Status resolved => closed