lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: java.lang.IllegalAccessError: tried to access method org.apache.lucene.search.HitDoc.<init>
Date Mon, 31 Jul 2006 08:06:06 GMT

What JVM are you using?

Can you post a small sample program (or better yet: jUnit test) that
causes this problem ?

: Date: Sun, 30 Jul 2006 07:31:55 -0700
: From: Alan Ezust <alan.ezust@gmail.com>
: Reply-To: java-user@lucene.apache.org
: To: java-user@lucene.apache.org
: Subject: java.lang.IllegalAccessError: tried to access method
:     org.apache.lucene.search.HitDoc.<init>
:
: 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.<init>(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.<init>(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
:



-Hoss


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message