Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ST_isValid is not working properly - falls when the geometry is null #288

avshRepo opened this issue Nov 4, 2018 · 0 comments


Copy link

commented Nov 4, 2018

Expected behavior

validate that the geometry is not valid

Actual behavior

exception is thrown when a geometry is null

the exception that shown is: Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure: Task 3 in stage 2.0 failed 1 times, most recent failure: Lost task 3.0 in stage 2.0 (TID 5, localhost, executor driver): java.lang.RuntimeException: java.lang.NullPointerException

Steps to reproduce the problem

give file where one of the geometries is null


GeoSpark version = 1.2.0

Apache Spark version = 2.3.0

JRE version = 1.8

API type = Scala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.