question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

JDBC rule make datasource connect stackoverflow

See original GitHub issue

This is not happened when not with specialagent.

Caused by: java.lang.StackOverflowError
	at java.sql.DriverManager.getDrivers(Unknown Source) ~[java.sql:?]
	at java.sql.DriverManager.getDrivers(Unknown Source) ~[java.sql:?]
	at io.opentracing.contrib.jdbc.TracingDriver.findDriver(TracingDriver.java:229) ~[?:?]
	at io.opentracing.contrib.jdbc.TracingDriver.connect(TracingDriver.java:165) ~[?:?]
	at io.opentracing.contrib.specialagent.rule.jdbc.JdbcAgentIntercept.connect(JdbcAgentIntercept.java:55) ~[?:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:47) ~[clickhouse-jdbc-0.2.jar:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:29) ~[clickhouse-jdbc-0.2.jar:?]
	at io.opentracing.contrib.jdbc.TracingDriver.connect(TracingDriver.java:173) ~[?:?]
	at io.opentracing.contrib.specialagent.rule.jdbc.JdbcAgentIntercept.connect(JdbcAgentIntercept.java:55) ~[?:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:47) ~[clickhouse-jdbc-0.2.jar:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:29) ~[clickhouse-jdbc-0.2.jar:?]
	at io.opentracing.contrib.jdbc.TracingDriver.connect(TracingDriver.java:173) ~[?:?]
	at io.opentracing.contrib.specialagent.rule.jdbc.JdbcAgentIntercept.connect(JdbcAgentIntercept.java:55) ~[?:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:47) ~[clickhouse-jdbc-0.2.jar:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:29) ~[clickhouse-jdbc-0.2.jar:?]
	at io.opentracing.contrib.jdbc.TracingDriver.connect(TracingDriver.java:173) ~[?:?]
	at io.opentracing.contrib.specialagent.rule.jdbc.JdbcAgentIntercept.connect(JdbcAgentIntercept.java:55) ~[?:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:47) ~[clickhouse-jdbc-0.2.jar:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:29) ~[clickhouse-jdbc-0.2.jar:?]
	at io.opentracing.contrib.jdbc.TracingDriver.connect(TracingDriver.java:173) ~[?:?]
	at io.opentracing.contrib.specialagent.rule.jdbc.JdbcAgentIntercept.connect(JdbcAgentIntercept.java:55) ~[?:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:47) ~[clickhouse-jdbc-0.2.jar:?]
	at ru.yandex.clickhouse.ClickHouseDriver.connect(ClickHouseDriver.java:29) ~[clickhouse-jdbc-0.2.jar:?]
	at io.opentracing.contrib.jdbc.TracingDriver.connect(TracingDriver.java:173) ~[?:?]
.......

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
safriscommented, Apr 17, 2020

Hi @xiemeilong, I have reproduced this error, and have checked in a fix that prevents the StackOverflowError. You can build SpecialAgent from source, or wait for release of v1.7.1, which is due on April 19th. Thank you for reporting this!

0reactions
safriscommented, Apr 30, 2020

Hi @xiemeilong, I wanted to check with you regarding this issue. Has release v1.7.1 resolved your StackOverflowError?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create DataSource from JDBC URL - java - Stack Overflow
Is there a way to create a DataSource object from a single URL? For what it's worth, this seems to work for MySQL...
Read more >
Clustering 4000 Stack Overflow tags with BigQuery k-means
So I'm going to create a string first that will define all the columns where I want to find co-occurrence. Then I can...
Read more >
[Stackoverflow] [Progress OpenEdge ABL] Can I create a ...
I have an Oracle 18c database. From this DB I need to create a database link to a Progress/Openedge 11.7 database to retrieve...
Read more >
stack-overflow-query - gists · GitHub
It was related with build configuration. When i add to js folder into exclude path, then problem solved. Thx to this link =>...
Read more >
Spring Data JDBC - Reference Documentation
Spring Data on Stack Overflow is a tag for all Spring Data (not just Document) users to share information and help each other....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found