lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6520) Geo3D GeoPath: co-linear end-points result in NPE
Date Thu, 04 Jun 2015 12:38:38 GMT

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

ASF subversion and git services commented on LUCENE-6520:
---------------------------------------------------------

Commit 1683533 from [~dsmiley] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1683533 ]

LUCENE-6520: Geo3D GeoPath.done() would throw an NPE if adjacent path segments were co-linear

> Geo3D GeoPath: co-linear end-points result in NPE
> -------------------------------------------------
>
>                 Key: LUCENE-6520
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6520
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial
>    Affects Versions: 5.2
>            Reporter: David Smiley
>            Assignee: David Smiley
>         Attachments: LUCENE-6520.patch
>
>
> FAILED:  org.apache.lucene.spatial.spatial4j.Geo3dRptTest.testOperations {#2 seed=[4AB0FA45EF43F0C3:2240DF3E6EDF83C]}
> {noformat}
> Stack Trace:
> java.lang.NullPointerException
>         at __randomizedtesting.SeedInfo.seed([4AB0FA45EF43F0C3:2240DF3E6EDF83C]:0)
>         at org.apache.lucene.spatial.spatial4j.geo3d.GeoPath$SegmentEndpoint.<init>(GeoPath.java:480)
>         at org.apache.lucene.spatial.spatial4j.geo3d.GeoPath.done(GeoPath.java:121)
>         at org.apache.lucene.spatial.spatial4j.Geo3dRptTest.randomQueryShape(Geo3dRptTest.java:195)
>         at org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperationRandomShapes(RandomSpatialOpStrategyTestCase.java:53)
>         at org.apache.lucene.spatial.spatial4j.Geo3dRptTest.testOperations(Geo3dRptTest.java:100)
> {noformat}
> [~daddywri] says:
> bq. This is happening because the endpoints that define two path segments are co-linear.
 There's a check for that too, but clearly it's not firing properly in this case for some
reason.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message