From java-dev-return-15926-apmail-lucene-java-dev-archive=lucene.apache.org@lucene.apache.org Mon Oct 09 22:58:03 2006 Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 60367 invoked from network); 9 Oct 2006 22:58:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Oct 2006 22:58:03 -0000 Received: (qmail 59727 invoked by uid 500); 9 Oct 2006 22:57:59 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 59558 invoked by uid 500); 9 Oct 2006 22:57:59 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 59547 invoked by uid 99); 9 Oct 2006 22:57:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2006 15:57:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2006 15:57:58 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BC947142D6 for ; Mon, 9 Oct 2006 15:57:20 -0700 (PDT) Message-ID: <8977796.1160434640635.JavaMail.root@brutus> Date: Mon, 9 Oct 2006 15:57:20 -0700 (PDT) From: "Hoss Man (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-679) CLONE -QueryParser is not applicable for the arguments (String, String, Analyzer) error in results.jsp when executing search in the browser (demo from Lucene 2.0) In-Reply-To: <19989524.1160346499569.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/LUCENE-679?page=comments#action_12441004 ] Hoss Man commented on LUCENE-679: --------------------------------- There has been no official release since 2.0 (hence, no official 2.0.1 release) ... when building from the trunk of subversion, the release indicated is "2.1" ... so it's not clear to me what copy of the code you are using. Please follow up on the java-user mailing list with a clarification of of which copy of lucence you are having this problem with (it's preferable to discuss potential bugs there prior to cluttering up Jira with a lot of back and forth discussion) FYI: The subversion trunk has fixes for both of the problems you noted. > CLONE -QueryParser is not applicable for the arguments (String, String, Analyzer) error in results.jsp when executing search in the browser (demo from Lucene 2.0) > ------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: LUCENE-679 > URL: http://issues.apache.org/jira/browse/LUCENE-679 > Project: Lucene - Java > Issue Type: Bug > Affects Versions: 2.0.0 > Environment: Windows XP > Tomcat 5.5 > Reporter: Ted Cahall > Fix For: 2.0.1 > > > When executing search in the browser (as described in demo3.html Lucene demo) I get error, because the demo uses the method (QueryParser with three arguments) which is deleted (it was deprecated). > I checked the demo from Lucene 1.4-final it with Lucene 1.4-final - it works, because those time the method was there. > But demo from Lucene 2.0 does not work with Lucene 2.0 > The error stack is here: > TTP Status 500 - > type Exception report > message > description The server encountered an internal error () that prevented it from fulfilling this request. > exception > org.apache.jasper.JasperException: Unable to compile class for JSP > An error occurred at line: 60 in the jsp file: /results.jsp > Generated servlet error: > The method parse(String) in the type QueryParser is not applicable for the arguments (String, String, Analyzer) > org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > root cause > org.apache.jasper.JasperException: Unable to compile class for JSP > An error occurred at line: 60 in the jsp file: /results.jsp > Generated servlet error: > The method parse(String) in the type QueryParser is not applicable for the arguments (String, String, Analyzer) > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) > org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:297) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:276) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:264) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org