You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2016/04/19 18:19:25 UTC

[jira] [Commented] (LUCENE-7233) NPE in Geo3dRptTest.testOperations()

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

Steve Rowe commented on LUCENE-7233:
------------------------------------

Repository: lucene-solr
Updated Branches:
 refs/heads/master af7dad682 -> 8ba1a3880

Fix test to recognize null polygon response.

Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/5bb9084b
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/5bb9084b
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/5bb9084b

Branch: refs/heads/master
Commit: 5bb9084bd5892d7906455c96319027ad6daae85b
Parents: 2342290
Author: Karl Wright <Da...@gmail.com>
Authored: Tue Apr 19 12:06:15 2016 -0400
Committer: Karl Wright <Da...@gmail.com>
Committed: Tue Apr 19 12:06:15 2016 -0400

> NPE in Geo3dRptTest.testOperations()
> ------------------------------------
>
>                 Key: LUCENE-7233
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7233
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/spatial-extras
>            Reporter: Steve Rowe
>            Assignee: Karl Wright
>             Fix For: master, 6.x
>
>
> My Jenkins found a reproducing seed on master:
> {noformat}
> Checking out Revision 23422908165f62581c271524955af2ab0e6e069f (refs/remotes/origin/master)
> [...]
>   [junit4] Suite: org.apache.lucene.spatial.spatial4j.Geo3dRptTest
>   [junit4]   2> NOTE: download the large Jenkins line-docs file by running 'ant get-jenkins-line-docs' in the lucene directory.
>   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=Geo3dRptTest -Dtests.method=testOperations -Dtests.seed=7658C0B00ACB7FAF -Dtests.slow=true -Dtests.linedocsfile=/home/jenkins/lucene-data/enwiki.random.lines.txt -Dtests.locale=en-IE -Dtests.timezone=Mexico/General -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
>   [junit4] ERROR   0.05s J5 | Geo3dRptTest.testOperations { seed=[7658C0B00ACB7FAF:9553873991970562]} <<<
>   [junit4]    > Throwable #1: java.lang.NullPointerException
>   [junit4]    > 	at __randomizedtesting.SeedInfo.seed([7658C0B00ACB7FAF:9553873991970562]:0)
>   [junit4]    > 	at org.apache.lucene.spatial3d.geom.GeoBaseBBox.isShapeInsideBBox(GeoBaseBBox.java:49)
>   [junit4]    > 	at org.apache.lucene.spatial3d.geom.GeoRectangle.getRelationship(GeoRectangle.java:212)
>   [junit4]    > 	at org.apache.lucene.spatial.spatial4j.Geo3dShape.relate(Geo3dShape.java:85)
>   [junit4]    > 	at org.apache.lucene.spatial.spatial4j.Geo3dShape.relate(Geo3dShape.java:71)
>   [junit4]    > 	at org.locationtech.spatial4j.shape.impl.RectangleImpl.relate(RectangleImpl.java:165)
>   [junit4]    > 	at org.apache.lucene.spatial.query.SpatialOperation$4.evaluate(SpatialOperation.java:86)
>   [junit4]    > 	at org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperation(RandomSpatialOpStrategyTestCase.java:102)
>   [junit4]    > 	at org.apache.lucene.spatial.prefix.RandomSpatialOpStrategyTestCase.testOperationRandomShapes(RandomSpatialOpStrategyTestCase.java:55)
>   [junit4]    > 	at org.apache.lucene.spatial.spatial4j.Geo3dRptTest.testOperations(Geo3dRptTest.java:114)
>   [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
>   [junit4]   2> NOTE: test params are: codec=Asserting(Lucene60): {Geo3dRptTest_rpt=Lucene50(blocksize=128), id=Lucene50(blocksize=128)}, docValues:{Geo3dRptTest_sdv=DocValuesFormat(name=Memory)}, maxPointsInLeafNode=170, maxMBSortInHeap=4.381892892935566, sim=ClassicSimilarity, locale=en-IE, timezone=Mexico/General
>   [junit4]   2> NOTE: Linux 4.1.0-custom2-amd64 amd64/Oracle Corporation 1.8.0_77 (64-bit)/cpus=16,threads=1,free=426660176,total=514850816
>   [junit4]   2> NOTE: All tests run in this JVM: [RandomSpatialOpFuzzyPrefixTreeTest, Geo3dRptTest]
>   [junit4] Completed [18/23 (1!)] on J5 in 2.08s, 12 tests, 1 error <<< FAILURES!
> {noformat}



--
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