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

Issue with compiling mysql-connector #231

Open
dingyuchen opened this issue Jan 8, 2022 · 0 comments
Open

Issue with compiling mysql-connector #231

dingyuchen opened this issue Jan 8, 2022 · 0 comments

Comments

@dingyuchen
Copy link
Contributor

Instrumentator unable to connect to the mysql database. (There is no issue with the plugin connector)

Stacktrace:

==java.lang.ExceptionInInitializerError
	at com.mysql.jdbc.ConnectionPropertiesImpl.<clinit>(ConnectionPropertiesImpl.java:600)
	at microbat.sql.DbService.<clinit>(DbService.java:19)
	at microbat.sql.Recorder.create(Recorder.java:22)
	at microbat.instrumentation.TraceAgent.shutdown(TraceAgent.java:69)
	at microbat.instrumentation.Agent.stop(Agent.java:124)
	at microbat.instrumentation.Agent._exitProgram(Agent.java:94)
	at exp.concurrency.case1.DiningPhilosophersDebug.main(DiningPhilosophersDebug.java:23)
Caused by: java.lang.RuntimeException: Can't load resource bundle due to underlying exception java.lang.NullPointerException
	at com.mysql.jdbc.Messages.<clinit>(Messages.java:54)
	... 7 more
Caused by: java.util.MissingResourceException: Can't find bundle for base name com.mysql.jdbc.LocalizedErrorMessages, locale en_US
	at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1581)
	at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1396)
	at java.util.ResourceBundle.getBundle(ResourceBundle.java:782)
	at com.mysql.jdbc.Messages.<clinit>(Messages.java:52)
	... 7 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant