org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalAccessError: tried to access field sun.security.ssl.Handshaker.algorithmConstraints from class sun.security.ssl.ClientHandshaker

Stack Overflow | shazin | 6 months 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

    Using Pushy with ALPN and MSSQL Jdbc Driver throws java.lang.IllegalAccessError

    Stack Overflow | 6 months ago | shazin
    org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception; nested exception is java.lang.IllegalAccessError: tried to access field sun.security.ssl.Handshaker.algorithmConstraints from class sun.security.ssl.ClientHandshaker
  2. 0

    javaclient error

    GitHub | 1 month ago | kimking100
    java.lang.IllegalAccessError: tried to access field sun.security.ssl.Handshaker.algorithmConstraints from class sun.security.ssl.ClientHandshaker
  3. 0

    Starting a job with JDK >=1.8.0_72 fails with SSL exception:

    GitHub | 1 year ago | derjust
    java.lang.RuntimeException: Failed to construct instance from factory method BlockingDataflowPipelineRunner#fromOptions(interface com.google.cloud.dataflow.sdk.options.PipelineOptions)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error exporting data from Google Cloud Bigtable

    Stack Overflow | 1 year ago | Kamran
    java.lang.IllegalAccessError: tried to access field sun.security.ssl.Handshaker.localSupportedSignAlgs from class sun.security.ssl.ClientHandshaker
  6. 0

    Google Cloud Bigtable HBase shell connectivity hangs

    Stack Overflow | 1 year ago | Anna C
    java.lang.IllegalAccessError: tried to access field sun.security.ssl.Handshaker.localSupportedSignAlgs from class sun.security.ssl.ClientHandshaker

    1 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.lang.IllegalAccessError

      tried to access field sun.security.ssl.Handshaker.algorithmConstraints from class sun.security.ssl.ClientHandshaker

      at sun.security.ssl.ClientHandshaker.serverKeyExchange()
    2. Java JSSE
      SSLSocketImpl.startHandshake
      1. sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:778)
      2. sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:285)
      3. sun.security.ssl.Handshaker.processLoop(Handshaker.java:969)
      4. sun.security.ssl.Handshaker.process_record(Handshaker.java:904)
      5. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
      6. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
      7. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
      8. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
      8 frames
    3. com.microsoft.sqlserver
      SQLServerDataSource.getConnection
      1. com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1618)
      2. com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1323)
      3. com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991)
      4. com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827)
      5. com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnectionInternal(SQLServerDataSource.java:621)
      6. com.microsoft.sqlserver.jdbc.SQLServerDataSource.getConnection(SQLServerDataSource.java:57)
      6 frames
    4. HikariCP-java6
      HikariDataSource.<init>
      1. com.zaxxer.hikari.pool.BaseHikariPool.addConnection(BaseHikariPool.java:373)
      2. com.zaxxer.hikari.pool.BaseHikariPool.initializeConnections(BaseHikariPool.java:469)
      3. com.zaxxer.hikari.pool.BaseHikariPool.<init>(BaseHikariPool.java:162)
      4. com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:61)
      5. com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:49)
      6. com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:78)
      6 frames