com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:10030 (com.datastax.driver.core.exceptions.DriverException: Host replied with server error: java.lang.SecurityException: Cannot make java.lang.Class.classLoader accessible))

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via jetbrains.com by Unknown author, 1 year ago
All host(s) tried for query failed (tried: /127.0.0.1:10030 (com.datastax.driver.core.exceptions.DriverException: Host replied with server error: java.lang.SecurityException: Cannot make java.lang.Class.classLoader accessible))
via Stack Overflow by user1870400
, 1 year ago
All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.OperationTimedOutException: [localhost/127.0.0.1] Timed out waiting for server response))
via grokbase.com by Unknown author, 2 years ago
All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.DriverException: Timeout during read))
via grokbase.com by Unknown author, 2 years ago
All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.DriverException: Timeout during read))
via Stack Overflow by Naveen
, 1 year ago
All host(s) tried for query failed (tried: [/10.138.90.207:9042, /10.138.90.208:9042, /10.138.90.191:9042, /10.138.90.240:9042, /10.138.90.232:9042, /10.138.90.205:9042, /10.138.90.236:9042, /10.138.90.246:9042] - use getErrors() for details)
via DataStax JIRA by Kavanagh, 1 year ago
All host(s) tried for query failed (tried: /192.168.59.104:9042 (com.datastax.driver.core.exceptions.DriverException: Host replied with server error: Index: 1))
com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: /127.0.0.1:10030 (com.datastax.driver.core.exceptions.DriverException: Host replied with server error: java.lang.SecurityException: Cannot make java.lang.Class.classLoader accessible))
at com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:65)
at com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:259)
at com.datastax.driver.core.AbstractSession.prepare(AbstractSession.java:79)
at com.jetbrains.upsource.database.datastax.StatementFactory$3.convert(StatementFactory.java:78)
at com.jetbrains.upsource.database.datastax.StatementFactory$3.convert(StatementFactory.java:75)
at com.jetbrains.upsource.database.datastax.ThroughDbMediator$1.consume(ThroughDbMediator.java:39)
at com.jetbrains.upsource.database.datastax.ThroughDbMediator$1.consume(ThroughDbMediator.java:36)
at com.jetbrains.upsource.database.datastax.WriteExecutor.execute(WriteExecutor.java:31)
at com.jetbrains.upsource.database.datastax.ThroughDbMediator.submitSync(ThroughDbMediator.java:36)
at com.jetbrains.upsource.database.datastax.StatementFactory.fromSelect(StatementFactory.java:75)
at com.jetbrains.upsource.database.datastax.StatementFactory.access$400(StatementFactory.java:16)
at com.jetbrains.upsource.database.datastax.StatementFactory$2.get(StatementFactory.java:55)
at com.jetbrains.upsource.database.datastax.StatementFactory$2.get(StatementFactory.java:43)
at com.jetbrains.upsource.database.datastax.StatementFactory.createSelect(StatementFactory.java:137)
at com.jetbrains.upsource.database.datastax.StatementFactory.createSelect(StatementFactory.java:67)
at com.jetbrains.upsource.database.datastax.CqlDynamicTable.iterateRow(CqlDynamicTable.java:61)
at com.jetbrains.upsource.database.datastax.CqlDynamicTable.iterateRow(CqlDynamicTable.java:20)
at com.jetbrains.upsource.db.impl.BufferingTable.iterateRow(BufferingTable.java:94)
at com.jetbrains.upsource.backend.server.core.db.SystemDatabase.getDatabaseVersion(SystemDatabase.java:94)
at com.jetbrains.upsource.backend.cli.FirstTimeInit.run(FirstTimeInit.java:89)
at com.jetbrains.upsource.backend.server.facade.UpsourceApplicationEnvironment.(UpsourceApplicationEnvironment.java:103)
at com.jetbrains.upsource.backend.cli.UpsourceApplicationEnvironmentDaemonBase.startDaemon(UpsourceApplicationEnvironmentDaemonBase.java:12)
at com.jetbrains.upsource.backend.cli.UpsourceAnalyzerDaemon.startDaemon(UpsourceAnalyzerDaemon.java:51)
at com.jetbrains.upsource.backend.cli.UpsourceDaemonBase.start(UpsourceDaemonBase.java:145)
at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:79)
at com.jetbrains.launcher.AppProxy$4.call(AppProxy.java:77)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.