View Issue Details

IDProjectCategoryView StatusLast Update
0005108SymmetricDSBugpublic2021-11-04 14:58
Reporterelong Assigned Toelong  
Prioritynormal 
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(RouterService.java:912)
    at org.jumpmind.symmetric.service.impl.RouterService.selectDataAndRoute(RouterService.java:773)
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForChannel(RouterService.java:519)
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForEachChannel(RouterService.java:291)
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:220)
    at org.jumpmind.symmetric.job.RouterJob.doJob(RouterJob.java:49)
    at org.jumpmind.symmetric.job.AbstractJob.invoke(AbstractJob.java:227)
    at org.jumpmind.symmetric.job.AbstractJob.run(AbstractJob.java:298)
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.NullPointerException
    at org.jumpmind.symmetric.route.SubSelectDataRouter.routeToNodes(SubSelectDataRouter.java:82)
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:893)
    ... 14 more
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.12 0a424486

2021-10-22 12:14:40

admin

Details Diff
0005108: Failed to route beanshell event from conflict resolution Affected Issues
0005108
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/load/DefaultDataLoaderFactory.java 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