Java Runtime errors

Core environment and runtime library

https://java.com
Solution coverage:
Summary coverage:

Top patterns

  1. Unable to find suitable driver to create connection with database server

    This type of error usually happens if you forget to load the driver for the database before calling DriverManager.getConnection(). To prevent this, load driver first by calling: Class.forName("Driver Name")

  2. DriverManager.getDriver() has thrown a SQLException
    No solution
  3. Timestamp.valueOf() has thrown an IllegalArgumentException
    No solution

DescriptionException TypeEntry MethodWeb pages

Unable to find suitable driver to create connection with database server

java.sql.SQLException
java.sql.DriverManager.getConnection
1017Web pages
1Solution
SQLExceptionDriverManager.getConnection1017

DriverManager.getDriver() has thrown a SQLException

java.sql.SQLException
java.sql.DriverManager.getDriver
260Web pages
SQLExceptionDriverManager.getDriver260

Timestamp.valueOf() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.sql.Timestamp.valueOf
66Web pages
IllegalArgumentExceptionTimestamp.valueOf66

SQLException.<init>() has thrown a SQLException

java.sql.SQLException
java.sql.SQLException.<init>
46Web pages
SQLExceptionSQLException.<init>46

Date.valueOf() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.sql.Date.valueOf
45Web pages
IllegalArgumentExceptionDate.valueOf45

Timestamp.compareTo() has thrown a ClassCastException

java.lang.ClassCastException
java.sql.Timestamp.compareTo
19Web pages
ClassCastExceptionTimestamp.compareTo19

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
3 frames hidden
java.sql.DriverManager.getConnection
8Web pages
SQLExceptionDriverManager.getConnection8

SQLWarning.getNextWarning() has thrown an Error

java.lang.Error
java.sql.SQLWarning.getNextWarning
8Web pages
ErrorSQLWarning.getNextWarning8

DriverManager.getConnection() has thrown a PSQLException

org.postgresql.util.PSQLException
2 frames hidden
java.sql.DriverManager.getConnection
8Web pages
PSQLExceptionDriverManager.getConnection8

DriverManager.getConnection() has thrown an ExceptionInInitializerError

java.lang.RuntimeException
3 frames hidden
java.sql.DriverManager.getConnection
8Web pages
ExceptionInInitializerErrorDriverManager.getConnection8

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
4 frames hidden
java.sql.DriverManager.getConnection
7Web pages
SQLExceptionDriverManager.getConnection7

DriverManager.getConnection() has thrown an ExceptionInInitializerError

java.lang.ExceptionInInitializerError
1 frames hidden
java.sql.DriverManager.getConnection
6Web pages
ExceptionInInitializerErrorDriverManager.getConnection6

Date.getHours() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.sql.Date.getHours
6Web pages
IllegalArgumentExceptionDate.getHours6

Timestamp.setNanos() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.sql.Timestamp.setNanos
6Web pages
IllegalArgumentExceptionTimestamp.setNanos6

DriverManager.getConnection() has thrown a NullPointerException

java.lang.NullPointerException
7 frames hidden
java.sql.DriverManager.getConnection
6Web pages
NullPointerExceptionDriverManager.getConnection6

DriverManager.getConnection() has thrown a SQLException

java.lang.NullPointerException
13 frames hidden
java.sql.DriverManager.getConnection
5Web pages
SQLExceptionDriverManager.getConnection5

DriverManager.getConnection() has thrown a VerifyError

java.lang.VerifyError
3 frames hidden
java.sql.DriverManager.getConnection
5Web pages
VerifyErrorDriverManager.getConnection5

DriverManager.getConnection() has thrown an AccessControlException

java.security.AccessControlException
6 frames hidden
java.sql.DriverManager.getConnection
5Web pages
AccessControlExceptionDriverManager.getConnection5

Time.valueOf() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.sql.Time.valueOf
5Web pages
IllegalArgumentExceptionTime.valueOf5

DriverManager.getConnection() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
3 frames hidden
java.sql.DriverManager.getConnection
5Web pages
NoClassDefFoundErrorDriverManager.getConnection5

DriverManager.getConnection() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
2 frames hidden
java.sql.DriverManager.getConnection
4Web pages
UnsupportedOperationExceptionDriverManager.getConnection4

DriverManager.getConnection() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
java.sql.DriverManager.getConnection
4Web pages
NoClassDefFoundErrorDriverManager.getConnection4

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
2 frames hidden
java.sql.DriverManager.getConnection
4Web pages
SQLExceptionDriverManager.getConnection4

DriverManager.getConnection() has thrown an OCIDBException

oracle.jdbc.oci7.OCIDBException
5 frames hidden
java.sql.DriverManager.getConnection
4Web pages
OCIDBExceptionDriverManager.getConnection4

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
2 frames hidden
java.sql.DriverManager.getConnection
4Web pages
SQLExceptionDriverManager.getConnection4

DriverManager.getConnection() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
3 frames hidden
java.sql.DriverManager.getConnection
4Web pages
IllegalArgumentExceptionDriverManager.getConnection4

DriverManager.getConnection() has thrown a ServletException

javax.servlet.ServletException
1 frames hidden
java.sql.DriverManager.getConnection
4Web pages
ServletExceptionDriverManager.getConnection4

DriverManager.getConnection() has thrown a NoClassDefFoundError

java.lang.NoClassDefFoundError
8 frames hidden
java.sql.DriverManager.getConnection
4Web pages
NoClassDefFoundErrorDriverManager.getConnection4

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
3 frames hidden
java.sql.DriverManager.getConnection
4Web pages
SQLExceptionDriverManager.getConnection4

DriverManager.getConnection() has thrown a HiveImport

org.apache.sqoop.hive.HiveImport
java.sql.DriverManager.getConnection
4Web pages
HiveImportDriverManager.getConnection4

DriverManager.getDriver() has thrown a SQLNestedException

org.apache.commons.dbcp.SQLNestedException
java.sql.DriverManager.getDriver
4Web pages
SQLNestedExceptionDriverManager.getDriver4

Date.toInstant() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
java.sql.Date.toInstant
4Web pages
UnsupportedOperationExceptionDate.toInstant4

DriverManager.getConnection() has thrown a ProxoolException

org.logicalcobwebs.proxool.ProxoolException
5 frames hidden
java.sql.DriverManager.getConnection
3Web pages
ProxoolExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown a RuntimeException

java.lang.RuntimeException
11 frames hidden
java.sql.DriverManager.getConnection
3Web pages
RuntimeExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown a MySQLNonTransientConnectionException

com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException
17 frames hidden
java.sql.DriverManager.getConnection
3Web pages
MySQLNonTransientConnectionExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
5 frames hidden
java.sql.DriverManager.getConnection
3Web pages
SQLExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
java.sql.DriverManager.getConnection
3Web pages
NullPointerExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown an UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError
java.sql.DriverManager.getConnection
3Web pages
UnsatisfiedLinkErrorDriverManager.getConnection3

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
5 frames hidden
java.sql.DriverManager.getConnection
3Web pages
SQLExceptionDriverManager.getConnection3

DriverManager.getDriver() has thrown a NullPointerException

java.lang.NullPointerException
2 frames hidden
java.sql.DriverManager.getDriver
3Web pages
NullPointerExceptionDriverManager.getDriver3

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
2 frames hidden
java.sql.DriverManager.getConnection
3Web pages
SQLExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown a SQLException

org.apache.http.client.ClientProtocolException
7 frames hidden
java.sql.DriverManager.getConnection
3Web pages
SQLExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown a VerifyError

java.lang.VerifyError
2 frames hidden
java.sql.DriverManager.getConnection
3Web pages
VerifyErrorDriverManager.getConnection3

DriverManager.getConnection() has thrown a NullPointerException

java.lang.NullPointerException
4 frames hidden
java.sql.DriverManager.getConnection
3Web pages
NullPointerExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
3 frames hidden
java.sql.DriverManager.getConnection
3Web pages
SQLExceptionDriverManager.getConnection3

DriverManager.getConnection() has thrown an AccessControlException

java.security.AccessControlException
7 frames hidden
java.sql.DriverManager.getConnection
2Web pages
AccessControlExceptionDriverManager.getConnection2

DriverManager.getConnection() has thrown a SQLException

java.sql.SQLException
6 frames hidden
java.sql.DriverManager.getConnection
2Web pages
SQLExceptionDriverManager.getConnection2

DriverManager.getDriver() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
java.sql.DriverManager.getDriver
2Web pages
NullPointerExceptionDriverManager.getDriver2

DriverManager.getConnection() has thrown a JDBCException

informix.api.jdbc.JDBCException
3 frames hidden
java.sql.DriverManager.getConnection
2Web pages
JDBCExceptionDriverManager.getConnection2

DriverManager.getDriver() has thrown a CannotCreateTransactionException

org.springframework.transaction.CannotCreateTransactionException
java.sql.DriverManager.getDriver
2Web pages
CannotCreateTransactionExceptionDriverManager.getDriver2
Package namePatterns foundSolution coverageSummary coverage
java.lang40372
java.io3874
java.awt3617
java.util.concurrent3503
java.lang.reflect3467
sun.reflect2111
java.util2073
java.net2070
javax.swing1384
java.security858
javax.naming842
java.sql691
sun.net.www.protocol.http689
sun.net.www.protocol.https682
sun.nio.ch458
java.util.zip290
sun.rmi.server287
java.nio.file267
java.util.regex260
sun.rmi.transport.tcp259
com.sun.jndi.ldap243
com.sun.org.apache.xerces.internal.impl236
com.sun.org.apache.xerces.internal.parsers222
javax.swing.plaf.basic217
sun.net.www.http217
java.util.stream182
sun.misc179
java.util.logging154
com.sun.org.apache.xerces.internal.jaxp151
java.nio148
java.util.jar142
javax.swing.text142
sun.launcher138
java.beans137
java.text133
javax.imageio130
sun.rmi.registry127
javax.net.ssl116
javax.management.remote.rmi116
javax.security.auth.login115
java.rmi114
com.sun.org.apache.xalan.internal.xsltc.trax110
sun.nio.cs110
java.awt.image104
javax.security.auth98
sun.rmi.transport97
java.nio.channels95
sun.instrument92
java.util.concurrent.locks88
java.awt.event86
Package nameClass namePatterns foundSolution coverageSummary coverage
java.sqlDriverManager671
java.sqlSQLException7
java.sqlTimestamp6
java.sqlDate4
java.sqlSQLWarning1
java.sqlTime1
java.sqlPreparedStatement1
Package nameClass nameMethod namePatterns foundSolution coverage
java.sqlDriverManagergetConnection654
java.sqlDriverManagergetDriver12
java.sqlSQLException<init>7
java.sqlTimestampvalueOf3
java.sqlTimestampcompareTo2
java.sqlDriverManagersetLogStream2
java.sqlDatevalueOf2
java.sqlSQLWarninggetNextWarning1
java.sqlDatetoInstant1
java.sqlDriverManagerisDriverAllowed1
java.sqlDriverManagerloadInitialDrivers1
java.sqlDriverManagerderegisterDriver1
java.sqlTimevalueOf1
java.sqlPreparedStatementsetObject1
java.sqlDategetHours1
java.sqlTimestampsetNanos1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
java.sqlDriverManagergetConnectionSQLException247
java.sqlDriverManagergetConnectionPSQLException37
java.sqlDriverManagergetConnectionUnsatisfiedLinkError34
java.sqlDriverManagergetConnectionSQLServerException32
java.sqlDriverManagergetConnectionNoClassDefFoundError32
java.sqlDriverManagergetConnectionJdbcSQLException26
java.sqlDriverManagergetConnectionCommunicationsException24
java.sqlDriverManagergetConnectionSQLRecoverableException18
java.sqlDriverManagergetConnectionAccessControlException15
java.sqlDriverManagergetConnectionNullPointerException14
java.sqlDriverManagergetConnectionMySQLNonTransientConnectionException12
java.sqlDriverManagergetConnectionExceptionInInitializerError11
java.sqlDriverManagergetConnectionSQLNonTransientConnectionException11
java.sqlDriverManagergetConnectionConnectException11
java.sqlDriverManagergetConnectionArrayIndexOutOfBoundsException9
java.sqlDriverManagergetConnectionNoSuchMethodError8
java.sqlDriverManagergetDriverNullPointerException7
java.sqlDriverManagergetConnectionSocketException7
java.sqlDriverManagergetConnectionCommunicationsException6
java.sqlDriverManagergetConnectionIOException6
java.sqlDriverManagergetConnectionVerifyError6
java.sqlDriverManagergetConnectionNoSuchFieldError4
java.sqlDriverManagergetConnectionFBSQLException4
java.sqlDriverManagergetConnectionUcanaccessSQLException4
java.sqlSQLException<init>SQLException4
java.sqlDriverManagergetConnectionRuntimeException4
java.sqlDriverManagergetConnectionMySQLSyntaxErrorException4
java.sqlDriverManagergetConnectionEOFException4
java.sqlDriverManagergetConnectionSQLNestedException3
java.sqlDriverManagergetConnectionNoSuchElementException3
java.sqlDriverManagergetConnectionOutOfMemoryError3
java.sqlDriverManagergetConnectionNetworkOnMainThreadException3
java.sqlDriverManagergetConnectionIllegalArgumentException3
java.sqlDriverManagergetConnectionUnsupportedOperationException2
java.sqlDriverManagergetConnectionIllegalStateException2
java.sqlDriverManagersetLogStreamAccessControlException2
java.sqlDriverManagergetConnectionStringIndexOutOfBoundsException2
java.sqlDriverManagergetConnectionMySQLSyntaxErrorException2
java.sqlTimestampvalueOfIllegalArgumentException2
java.sqlDriverManagergetConnectionException2
java.sqlDriverManagergetConnectionHsqlException2
java.sqlDriverManagergetConnectionVirtuosoException2
java.sqlDriverManagergetConnectionMySQLNonTransientConnectionException2
java.sqlDriverManagergetConnectionDbException2
java.sqlDriverManagergetConnectionMondrianException1
java.sqlDriverManagergetConnectionNoRouteToHostException1
java.sqlDriverManagerderegisterDriverAccessControlException1
java.sqlDriverManagergetConnectionJDBCException1
java.sqlDatevalueOfNumberFormatException1
java.sqlDriverManagergetDriverCannotCreateTransactionException1