java.lang.ExceptionInInitializerError: This exception has no message.

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

org.apache.spark.SparkException: A master URL must be set in your configuration
at org.apache.spark.SparkContext.(SparkContext.scala:401)
at org.apache.spark.api.java.JavaSparkContext.(JavaSparkContext.scala:59)
at com.ts.clustering.TrainModel.(TrainModel.java:35)
at com.ts.clustering.TrainModel$2.call(TrainModel.java:71)
at com.ts.clustering.TrainModel$2.call(TrainModel.java:67)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)

Users with the same issue

3 times, 9 months ago
Once, 11 months ago
Once, 1 year ago
6 times, 1 year ago
4 times, 1 year ago

Write tip

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