Hi Igor,

I haven't seen this before, but went to do a search for the error. Seems a
number of people have seen this error (outside of Review Board's use), but
nobody has any information as to what broke or why.

Is there *any* search term that works?

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Fri, Aug 2, 2013 at 8:29 AM, Igor Berger <codewiz...@gmail.com> wrote:

> Hello,
>
> I have Review Board working except for search. When I try to search from
> the search box, I get exceptions below.
>
> I've successfully rebuild the index (using rb-site manage /path/to/site
> index -- --full) just in case, even though I have crontab setup to do it.
>
> Any ideas?
>
> Thank you,
> Igor.
>
>
> Server:
>     Review Board 1.7.9
>     Ubuntu 12.04.2 LTS
>     PyLucene  2.3.1-1.1ubuntu2.1
>     Python 2.7.3
>     OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
>
> Client: Chrome 28 on Windows 7
>
>
> 2013-08-02 15:22:56,027 - ERROR -  - Exception thrown for user igor.berger
> at http://ourhostname/reviews/r/search/?q=hello
>
> java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
>     Java stacktrace:
> java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
>         at org.apache.lucene.search.Hits.hitDoc(Hits.java:202)
>         at org.apache.lucene.search.Hits.doc(Hits.java:155)
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py",
> line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/accounts/decorators.py",
> line 22, in _check
>     return view_func(*args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/views.py",
> line 1405, in search
>     for hit in searcher.search(parser.parse(query))]
> JavaError: java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
>     Java stacktrace:
> java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
>         at org.apache.lucene.search.Hits.hitDoc(Hits.java:202)
>         at org.apache.lucene.search.Hits.doc(Hits.java:155)
>
> 2013-08-02 15:22:56,030 - ERROR - None - igor.berger - /reviews/r/search/
> - Internal Server Error: /reviews/r/search/
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py",
> line 111, in get_response
>     response = callback(request, *callback_args, **callback_kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/accounts/decorators.py",
> line 22, in _check
>     return view_func(*args, **kwargs)
>   File
> "/usr/local/lib/python2.7/dist-packages/ReviewBoard-1.7.9-py2.7.egg/reviewboard/reviews/views.py",
> line 1405, in search
>     for hit in searcher.search(parser.parse(query))]
> JavaError: java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
>     Java stacktrace:
> java.lang.IndexOutOfBoundsException: Not a valid hit number: 0
>         at org.apache.lucene.search.Hits.hitDoc(Hits.java:202)
>         at org.apache.lucene.search.Hits.doc(Hits.java:155)
>
>  --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to