java.lang.ArrayIndexOutOfBoundsException: 393216

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

java.lang.ArrayIndexOutOfBoundsException: 393216
at geotrellis.raster.FloatArrayTile.applyDouble(FloatArrayTile.scala:33)
at geotrellis.raster.DoubleBasedArray$class.apply(DoubleBasedArrayTile.scala:25)
at geotrellis.raster.FloatArrayTile.apply(FloatArrayTile.scala:28)
at geotrellis.raster.ArrayTile$class.toArray(ArrayTile.scala:197)
at geotrellis.raster.FloatArrayTile.toArray(FloatArrayTile.scala:28)
at geotrellis.raster.io.geotiff.Encoder.(Encoder.scala:65)
at geotrellis.raster.io.geotiff.Encoder$.writePath(Encoder.scala:392)
at geotrellis.raster.io.geotiff.GeoTiffWriter$.write(GeoTiffWriter.scala:30)
at geotrellis.spark.cmd.Export$$anonfun$exportTiles$2.apply(Export.scala:135)
at geotrellis.spark.cmd.Export$$anonfun$exportTiles$2.apply(Export.scala:130)
at scala.collection.Iterator$class.foreach(Iterator.scala:727)
at org.apache.spark.rdd.RDD$$anonfun$foreach$1.apply(RDD.scala:703)
at org.apache.spark.rdd.RDD$$anonfun$foreach$1.apply(RDD.scala:703)
at org.apache.spark.SparkContext$$anonfun$runJob$4.apply(SparkContext.scala:1080)
at org.apache.spark.SparkContext$$anonfun$runJob$4.apply(SparkContext.scala:1080)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:111)
at org.apache.spark.scheduler.Task.run(Task.scala:51)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception.

Write tip

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