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 <[EMAIL PROTECTED]> : 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: [EMAIL PROTECTED] : For additional commands, e-mail: [EMAIL PROTECTED] : -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]