Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start bireme service #27

Closed
SbloodyS opened this issue Nov 30, 2017 · 4 comments
Closed

Failed to start bireme service #27

SbloodyS opened this issue Nov 30, 2017 · 4 comments
Labels
Milestone

Comments

@SbloodyS
Copy link

启动bireme 失败,日志如下,请问该如何解决呢?

12:47:26 FATAL Bireme - Stack Trace:
java.lang.NullPointerException: null
at cn.hashdata.bireme.Config.fetchProviderAndTableMap(Config.java:168) ~[bireme-1.0.0.jar:?]
at cn.hashdata.bireme.Config.dataSourceConfig(Config.java:150) ~[bireme-1.0.0.jar:?]
at cn.hashdata.bireme.Config.(Config.java:83) ~[bireme-1.0.0.jar:?]
at cn.hashdata.bireme.Bireme.parseCommandLine(Bireme.java:88) ~[bireme-1.0.0.jar:?]
at cn.hashdata.bireme.Bireme.init(Bireme.java:219) [bireme-1.0.0.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_65]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_65]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_65]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_65]
at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:207) [commons-daemon-1.0.15.jar:1.0.15]
12:47:26 INFO Bireme - start Bireme daemon.
12:47:26 INFO Bireme - Start getting metadata of target tables from target database.
12:47:48 INFO Bireme - initialize Bireme daemon
12:47:48 FATAL Bireme - start failed. Message: null.

@wangzw
Copy link
Member

wangzw commented Nov 30, 2017

You do not specify the data source's type

@wangzw wangzw added this to the 2.0.0 Release milestone Nov 30, 2017
@wangzw wangzw added the bug label Nov 30, 2017
@SbloodyS
Copy link
Author

SbloodyS commented Nov 30, 2017

target.url = jdbc:postgresql:/10.1.2.50:5432/db_replica
target.user = usr_replica
target.passwd = replica

data_source = mysql

mysql.type = maxwell

mysql.kafka.server = 10.1.2.53:9092
mysql.kafka.topic = mytopic
mysql.kafka.groupid = bireme

请问是哪错了呢?

@SbloodyS
Copy link
Author

解决啦,谢谢~

@tangbinbinyes
Copy link

请问是如何和解决的,我这里这是启动报错,java.lang.NullPointerException

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants