[ 
https://issues.apache.org/jira/browse/JENA-2202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451950#comment-17451950
 ] 

Andy Seaborne commented on JENA-2202:
-------------------------------------

[~jmvanel] -- could you provide a test case?

> 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
>            Priority: Major
>
> 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)

Reply via email to