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))

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web367

  • via jetbrains.com by Unknown author, 11 months 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 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))
  • 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))
  • Stack trace

    • 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.datastax.driver.core.WriteSessionWrapper.prepare(WriteSessionWrapper.java:42) 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.<init>(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.upsource.backend.cli.UpsourceDaemonBase.start(UpsourceDaemonBase.java:206) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago