Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 17432 invoked from network); 30 Jul 2006 14:32:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jul 2006 14:32:22 -0000 Received: (qmail 77324 invoked by uid 500); 30 Jul 2006 14:32:17 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 77291 invoked by uid 500); 30 Jul 2006 14:32:17 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 77280 invoked by uid 99); 30 Jul 2006 14:32:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 07:32:17 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of alan.ezust@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Jul 2006 07:32:16 -0700 Received: by nf-out-0910.google.com with SMTP id o63so222228nfa for ; Sun, 30 Jul 2006 07:31:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=frmWWu8uX7VNx/X9CZIyqTOzlawiLSLmZQ9r3WxUkIpicGJtmEE4d9vpuNrKNHrtGP9F8p1gMy+dCA7xN1uekYhVVXPKuhV2BswDUIvL1l0u0S7lry2d2p32l6jbSqG3C2xQaH+sFzHV2Q/wjWv/7EImcxoH1vN86zWzNN7nnbQ= Received: by 10.78.165.16 with SMTP id n16mr293657hue; Sun, 30 Jul 2006 07:31:55 -0700 (PDT) Received: by 10.78.169.13 with HTTP; Sun, 30 Jul 2006 07:31:54 -0700 (PDT) Message-ID: Date: Sun, 30 Jul 2006 07:31:55 -0700 From: "Alan Ezust" To: java-user@lucene.apache.org Subject: java.lang.IllegalAccessError: tried to access method org.apache.lucene.search.HitDoc. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm having difficulty getting Lucene to work for me, and it keeps coming back to this HitDoc class. At the moment ,whenever I call the IndexBuilder.search method, this what I get: [error] WorkThread: java.lang.IllegalAccessError: tried to access method org.apache.lucene.search.HitDoc.(FI)V from class org.apache.lucene.search.Hits [error] WorkThread: at org.apache.lucene.search.Hits.getMoreDocs(Hits.java:94) [error] WorkThread: at org.apache.lucene.search.Hits.(Hits.java:53) [error] WorkThread: at org.apache.lucene.search.Searcher.search(Searcher.java:44) [error] WorkThread: at org.apache.lucene.search.Searcher.search(Searcher.java:36) [error] WorkThread: at infoviewer.lucene.IndexBuilder.search(IndexBuilder.java:118) [error] WorkThread: at infoviewer.lucene.SearchPanel$ActionHandler$1.run(SearchPanel.java:190) [error] WorkThread: at org.gjt.sp.util.WorkThread.doRequest(WorkThread.java:194) [error] WorkThread: at org.gjt.sp.util.WorkThread.doRequests(WorkThread.java:161) I tried moving class HitDoc out of Hits.java and into its own HitDoc.java file, and making the class and ctor public, but I still get this error... So now I'm really confused. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org