java.lang.ExceptionInInitializerError

null

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web21

  • via GitHub by ddorian
    ,
  • Stack trace

    • java.lang.ExceptionInInitializerError: null at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:124)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.service.ClientState.<clinit>(ClientState.java:70)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance.<init>(QueryProcessor.java:153)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance.<clinit>(QueryProcessor.java:147)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.cql3.QueryProcessor.internalQueryState(QueryProcessor.java:161)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:334)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.service.ElassandraDaemon.activate(ElassandraDaemon.java:104)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.service.ElassandraDaemon.main(ElassandraDaemon.java:347)[elassandra-2.1.1-14.jar:na] Caused by: org.apache.cassandra.exceptions.ConfigurationException: Expecting URI in variable: [cassandra.config]. Please prefix the file with file:/// for local files or file://<server>/ for remote files. Aborting. If you are executing this from an external tool, it needs to set Config.setClientMode(true) to avoid loading configuration. at org.apache.cassandra.config.YamlConfigurationLoader.getStorageConfigURL(YamlConfigurationLoader.java:73)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:135)[elassandra-2.1.1-14.jar:na] at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:119)[elassandra-2.1.1-14.jar:na] ... 7 more

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    3 more bugmates