You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Rob Vesse (Jira)" <ji...@apache.org> on 2021/12/01 09:34:00 UTC
[jira] [Created] (JENA-2202) Spatial Indexing can fail on malformed literals
Rob Vesse created JENA-2202:
-------------------------------
Summary: Spatial Indexing can fail on malformed literals
Key: JENA-2202
URL: https://issues.apache.org/jira/browse/JENA-2202
Project: Apache Jena
Issue Type: Bug
Components: Spatial
Affects Versions: Jena 4.2.0
Reporter: Jean-Marc Vanel
Reported on mailing lists via https://lists.apache.org/thread/y3qx4811tyjn448qsnw8xdhjg03s2jpn
If data being indexed for a spatial index contains malformed geo-literals a NPE is encountered causing indexing to abort rather than issuing a warning and continuing. This prevents creating a spatial index when there's invalid data mixed into the valid data. While users should likely be ensuring their data is clean the reality of real world data is that it rarely is.
Suggested fix is to handle the case and issue a warning before continuing indexing.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)