View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005108 | SymmetricDS | Bug | public | 2021-10-22 12:13 | 2021-11-04 14:58 |
Reporter | elong | Assigned To | elong | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.12.0 | ||||
Target Version | 3.12.12 | Fixed in Version | 3.12.12 | ||
Summary | 0005108: Failed to route beanshell event from conflict resolution | ||||
Description | During 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 | ||||
Tags | No tags attached. | ||||
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 |