Re: Search fails with HTTP 500
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 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.
Re: Search fails with HTTP 500
I have the same issue. I logged it in the issue tracker a while back and someone pointed me to a different issue with some workaround/fix but I haven't got around trying it. Don't have the link right now but if you check in the tracker you should find it otherwise I can send it tomorrow. Cheers Christian On 8/08/2013 12:12 PM, Christian Hammond chip...@chipx86.com wrote: Hi Igor, Wish I knew. There wasn't any information on what actually causes this problem. You could try downgrading to an earlier version of pylucene, but I don't know when the problem first occurred, and not everyone seems to be hitting this. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Wed, Aug 7, 2013 at 5:10 PM, Igor Berger codewiz...@gmail.com wrote: Hi Christian, Thanks for looking into it. Any search term produces the error. If I type a term that actually appears in some reviews, I see an auto-suggest drop-down populated with relevant reviews. If I click on one of the results, that review opens correctly in a new tab. I've upgraded to 1.7.12 since my original post. Expectedly, the problem remains. Is there anything I can reinstall or a cache I can clear to try to fix this? Thanks again, Igor. -- 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. -- 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.
Re: Search fails with HTTP 500
Hi Christian, Thanks for looking into it. Any search term produces the error. If I type a term that actually appears in some reviews, I see an auto-suggest drop-down populated with relevant reviews. If I click on one of the results, that review opens correctly in a new tab. I've upgraded to 1.7.12 since my original post. Expectedly, the problem remains. Is there anything I can reinstall or a cache I can clear to try to fix this? Thanks again, Igor. -- 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.
Re: Search fails with HTTP 500
Hi Igor, Wish I knew. There wasn't any information on what actually causes this problem. You could try downgrading to an earlier version of pylucene, but I don't know when the problem first occurred, and not everyone seems to be hitting this. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Wed, Aug 7, 2013 at 5:10 PM, Igor Berger codewiz...@gmail.com wrote: Hi Christian, Thanks for looking into it. Any search term produces the error. If I type a term that actually appears in some reviews, I see an auto-suggest drop-down populated with relevant reviews. If I click on one of the results, that review opens correctly in a new tab. I've upgraded to 1.7.12 since my original post. Expectedly, the problem remains. Is there anything I can reinstall or a cache I can clear to try to fix this? Thanks again, Igor. -- 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.
Re: Search fails with HTTP 500
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.
Search fails with HTTP 500
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.