java.lang.RuntimeException: connection could not be initialized.

GitHub | abmjunaed | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    JDBC connection error

    GitHub | 1 year ago | abmjunaed
    java.lang.RuntimeException: connection could not be initialized.
  2. 0

    GitHub comment 24#55521358

    GitHub | 2 years ago | ziodave
    java.lang.RuntimeException: connection could not be initialized.

    Root Cause Analysis

    1. java.lang.RuntimeException

      connection could not be initialized.

      at java.net.DualStackPlainSocketImpl.connect0()
    2. Java RT
      Socket.<init>
      1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
      2. java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
      3. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      4. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      5. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      6. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
      7. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      8. java.net.Socket.connect(Socket.java:579)
      9. java.net.Socket.connect(Socket.java:528)
      10. java.net.Socket.<init>(Socket.java:425)
      11. java.net.Socket.<init>(Socket.java:241)
      11 frames
    3. MySQL jdbc
      JDBC4Connection.<init>
      1. com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:258)
      2. com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:306)
      3. com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2504)
      4. com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2541)
      5. com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2323)
      6. com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:832)
      7. com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
      7 frames
    4. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    5. MySQL jdbc
      NonRegisteringDriver.connect
      1. com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
      2. com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:417)
      3. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344)
      3 frames
    6. Java RT
      DriverManager.getConnection
      1. java.sql.DriverManager.getConnection(DriverManager.java:571)
      2. java.sql.DriverManager.getConnection(DriverManager.java:215)
      2 frames
    7. org.aksw.autosparql
      DatabaseBackedSPARQLEndpointMetricsTest.testPmiMetric
      1. org.aksw.autosparql.commons.metric.SPARQLEndpointMetrics.getDefaultReadOnlyConnection(SPARQLEndpointMetrics.java:94)
      2. org.aksw.autosparql.commons.metric.SPARQLEndpointMetrics.getDbpediaMetrics(SPARQLEndpointMetrics.java:68)
      3. org.aksw.autosparql.commons.metric.DatabaseBackedSPARQLEndpointMetricsTest.testPmiMetric(DatabaseBackedSPARQLEndpointMetricsTest.java:32)
      3 frames