Sounds like this problem: https://code.google.com/p/reviewboard/issues/detail?id=2544
Shouldn't this be added as fix to RB instead of having individuals patching it? I don't really like running a custom patched version. This always gets you into trouble when upgrading. Cheers Christian On Saturday, August 3, 2013 3:29:32 AM UTC+12, Igor Berger 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 [email protected] 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
