java.lang.ExceptionInInitializerError: null

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 apache.org by Unknown author, 2 years ago
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)
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:85)
at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:135)
at org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:119)
at org.apache.cassandra.service.ClientState.(ClientState.java:70)
at org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance.(QueryProcessor.java:153)
at org.apache.cassandra.cql3.QueryProcessor$InternalStateInstance.(QueryProcessor.java:147)
at org.apache.cassandra.cql3.QueryProcessor.internalQueryState(QueryProcessor.java:161)
at org.apache.cassandra.cql3.QueryProcessor.executeOnceInternal(QueryProcessor.java:334)
at org.apache.cassandra.service.ElassandraDaemon.activate(ElassandraDaemon.java:104)
at org.apache.cassandra.service.ElassandraDaemon.main(ElassandraDaemon.java:347)

Users with the same issue

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