You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Lee Cooper (JIRA)" <ji...@apache.org> on 2010/09/20 23:56:34 UTC

[jira] Issue Comment Edited: (LUCENE-2613) spatial random test failure (TestCartesian)

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

Lee Cooper edited comment on LUCENE-2613 at 9/20/10 5:55 PM:
-------------------------------------------------------------

This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

description.
java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)

      was (Author: leetcooper):
    This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)
  
> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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