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

GitHub | amouhoub | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Queries are not executed

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

    Server error

    GitHub | 4 years ago | howy7214
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  3. 0

    [Critical] Plugin causes critical errors in iConomy (+ Vault)

    GitHub | 2 years ago | Matmorcat
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure and...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    VMware KB: VMware Continuent fails with the error: Cannot assign requested address

    vmware.com | 2 years ago
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
  6. 0

    Ports NOT in use...

    Google Groups | 8 years ago | Vidioten
    java.net.NoRouteToHostException: No route to host

  1. abrazeneb 15 times, last 7 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.NoRouteToHostException

    No route to host

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    7. java.net.Socket.connect(Socket.java:528)
    8. java.net.Socket.<init>(Socket.java:425)
    9. java.net.Socket.<init>(Socket.java:241)
    9 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
    MainView$11.run
    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.tbsl.algorithm.learning.ranking.SimpleRankingComputation.createFeatureExtractors(SimpleRankingComputation.java:131)
    4. org.aksw.autosparql.tbsl.algorithm.learning.ranking.SimpleRankingComputation.computeRanking(SimpleRankingComputation.java:78)
    5. org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:198)
    6. org.aksw.autosparql.tbsl.algorithm.learning.TBSL.answerQuestion(TBSL.java:156)
    7. org.aksw.autosparql.tbsl.gui.vaadin.TBSLManager.answerQuestion(TBSLManager.java:340)
    8. org.aksw.autosparql.tbsl.gui.vaadin.view.MainView$11.run(MainView.java:504)
    8 frames
  8. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:744)
    1 frame