如何诊断问题(无法在XXX频道上路由和批量处理数据)?

时间:2015-11-11 10:03:37

标签: database database-replication symmetricds

我正在使用SymmetricDS,我偶然发现了一个客户的问题。

日志说:

2015-11-11 09:10:57,688 ERROR [blagajna_XXX] [RouterService] [blagajna_XXX-job-17]无法在'cFpromet'频道上路由和批量处理数据 显示java.lang.NullPointerException

空指针异常没有进一步的解释,所以我不能自己调试它。复制本身可以工作一段时间,然后出现此错误,复制停止工作。相同的系统没有任何问题。

从sym_outgoing_batch中选择*,其中error_flag = 1;返回0行,那我该怎么调试这个问题呢?

GregaJ

编辑:

java.lang.NullPointerException
    at org.jumpmind.db.platform.AbstractJdbcDdlReader.getTableNamePattern(AbstractJdbcDdlReader.java:638)
    at org.jumpmind.db.platform.AbstractJdbcDdlReader$3.execute(AbstractJdbcDdlReader.java:574)
    at org.jumpmind.db.platform.AbstractJdbcDdlReader$3.execute(AbstractJdbcDdlReader.java:563)
    at org.jumpmind.db.sql.JdbcSqlTemplate.execute(JdbcSqlTemplate.java:432)
    at org.jumpmind.db.platform.AbstractJdbcDdlReader.readTable(AbstractJdbcDdlReader.java:563)
    at org.jumpmind.db.platform.AbstractDatabasePlatform.readTableFromDatabase(AbstractDatabasePlatform.java:239)
    at org.jumpmind.db.platform.AbstractDatabasePlatform.getTableFromCache(AbstractDatabasePlatform.java:314)
    at org.jumpmind.symmetric.db.AbstractSymmetricDialect.getTable(AbstractSymmetricDialect.java:377)
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:689)
    at org.jumpmind.symmetric.service.impl.RouterService.selectDataAndRoute(RouterService.java:634)
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForChannel(RouterService.java:436)
    at org.jumpmind.symmetric.service.impl.RouterService.routeDataForEachChannel(RouterService.java:328)
    at org.jumpmind.symmetric.service.impl.RouterService.routeData(RouterService.java:175)
    at org.jumpmind.symmetric.job.RouterJob.doJob(RouterJob.java:40)
    at org.jumpmind.symmetric.job.AbstractJob.invoke(AbstractJob.java:180)
    at org.jumpmind.symmetric.job.AbstractJob.run(AbstractJob.java:224)
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

0 个答案:

没有答案