2016-12-19 17:28:58.734 [main] INFO com.alibaba.otter.canal.deployer.CanalLauncher - ## start the canal server. log4j:WARN No appenders could be found for logger (org.I0Itec.zkclient.ZkEventThread). log4j:WARN Please initialize the log4j system properly. 2016-12-19 17:28:58.991 [main] INFO com.alibaba.otter.canal.deployer.CanalController - ## start the canal server[10.97.14.145:11111] 2016-12-19 17:28:59.527 [main] ERROR c.a.o.c.common.zookeeper.running.ServerRunningMonitor - processActiveEnter failed java.lang.NullPointerException: null at com.alibaba.otter.canal.parse.inbound.AbstractEventParser.start(AbstractEventParser.java:274) ~[canal.parse-1.0.22.jar:na] at com.alibaba.otter.canal.parse.inbound.mysql.MysqlEventParser.start(MysqlEventParser.java:145) ~[canal.parse-1.0.22.jar:na] at com.alibaba.otter.canal.parse.inbound.group.GroupEventParser.start(GroupEventParser.java:24) ~[canal.parse-1.0.22.jar:na] at com.alibaba.otter.canal.instance.core.AbstractCanalInstance.start(AbstractCanalInstance.java:91) ~[canal.instance.core-1.0.22.jar:na] at com.alibaba.otter.canal.instance.spring.CanalInstanceWithSpring.start(CanalInstanceWithSpring.java:30) ~[canal.instance.spring-1.0.22.jar:na] at com.alibaba.otter.canal.server.embedded.CanalServerWithEmbedded.start(CanalServerWithEmbedded.java:102) ~[canal.server-1.0.22.jar:na] at com.alibaba.otter.canal.deployer.CanalController$2$1.processActiveEnter(CanalController.java:121) ~[canal.deployer-1.0.22.jar:na] at com.alibaba.otter.canal.common.zookeeper.running.ServerRunningMonitor.processActiveEnter(ServerRunningMonitor.java:234) [canal.common-1.0.22.jar:na] at com.alibaba.otter.canal.common.zookeeper.running.ServerRunningMonitor.initRunning(ServerRunningMonitor.java:138) [canal.common-1.0.22.jar:na] at com.alibaba.otter.canal.common.zookeeper.running.ServerRunningMonitor.start(ServerRunningMonitor.java:98) [canal.common-1.0.22.jar:na] at com.alibaba.otter.canal.deployer.CanalController.start(CanalController.java:396) [canal.deployer-1.0.22.jar:na] at com.alibaba.otter.canal.deployer.CanalLauncher.main(CanalLauncher.java:35) [canal.deployer-1.0.22.jar:na]
原提问者GitHub用户rongyousu
java.lang.NullPointerException: null at com.alibaba.otter.canal.parse.inbound.AbstractEventParser.start(AbstractEventParser.java:274) ~
要学会看日志
关注下最新版1.0.23
原回答者GitHub用户agapple
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。