java.lang.ExceptionInInitializerError

locationtech.org | 3 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    DateTime from Long.MIN_VALUE or MAX_VALUE

    GitHub | 2 years ago | mstevens83
    java.lang.ArithmeticException: Adding time zone offset caused overflow

    Root Cause Analysis

    1. java.lang.ArithmeticException

      Adding time zone offset caused overflow

      at org.joda.time.DateTimeZone.convertUTCToLocal()
    2. Joda-Time
      DateTime.<init>
      1. org.joda.time.DateTimeZone.convertUTCToLocal(DateTimeZone.java:965)
      2. org.joda.time.chrono.ZonedChronology$ZonedDateTimeField.get(ZonedChronology.java:422)
      3. org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:129)
      4. org.joda.time.base.BaseDateTime.<init>(BaseDateTime.java:97)
      5. org.joda.time.DateTime.<init>(DateTime.java:209)
      5 frames
    3. org.locationtech.geomesa
      AccumuloDataStore$$anonfun$getSchema$1.apply
      1. org.locationtech.geomesa.core.index.package$.<init>(index.scala:36)
      2. org.locationtech.geomesa.core.index.package$.<clinit>(index.scala)
      3. org.locationtech.geomesa.core.data.AccumuloDataStore$$anonfun$getSchema$1.apply(AccumuloDataStore.scala:712)
      4. org.locationtech.geomesa.core.data.AccumuloDataStore$$anonfun$getSchema$1.apply(AccumuloDataStore.scala:705)
      4 frames
    4. Scala
      Option.map
      1. scala.Option.map(Option.scala:145)
      1 frame
    5. org.locationtech.geomesa
      AccumuloDataStore.getSchema
      1. org.locationtech.geomesa.core.data.AccumuloDataStore.getSchema(AccumuloDataStore.scala:705)
      2. org.locationtech.geomesa.core.data.AccumuloDataStore.getSchema(AccumuloDataStore.scala:701)
      2 frames
    6. runnables
      GeomesaInputRunnable.readInput
      1. runnables.GeomesaInputRunnable.readInput(GeomesaInputRunnable.scala:51)
      1 frame
    7. com.apex
      CEngine$class.run
      1. com.apex.CEngine$class.run(CEngine.scala:48)
      1 frame
    8. runnables
      GeomesaInputRunnable.run
      1. runnables.GeomesaInputRunnable.run(GeomesaInputRunnable.scala:36)
      1 frame
    9. com.apex
      CRun.main
      1. com.apex.CRun$.runJob(CRun.scala:120)
      2. com.apex.CRun$.run(CRun.scala:105)
      3. com.apex.CRun$.main(CRun.scala:49)
      4. com.apex.CRun.main(CRun.scala)
      4 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    11. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.launch(SparkSubmit.scala:292)
      2. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:55)
      3. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      3 frames