Jake, You are having the same problem as Mark Jordan. Although you've compiled you classes using JDK 1.5, when you are running index-all, it is picking up the GNU GCJ installation when the command 'java' is executed.
How you fix it is dependent on how you installed the Sun JDK, and/or what distribution you are running. G On Mon, 2007-03-26 at 08:51 -0600, Cameron, Jacob wrote: > Hey everyone, > > Anyone have any ideas or suggestions on what I can do to stop this error > when I run index-all. I'm running JDK1.5.0_11. > > Creating browse index > Warning: -Xmx256m not understood. Ignoring. > Indexing all Items in DSpace.... ... Done > Creating search index > Warning: -Xmx256m not understood. Ignoring. > Exception in thread "main" java.lang.IncompatibleClassChangeError: field > org.apache.lucene.analysis.standard.StandardFilter.tokenImage was not > found. > at _Jv_ResolvePoolEntry(java.lang.Class, int) > (/usr/lib/libgcj.so.5.0.0) > at org.apache.lucene.analysis.standard.StandardFilter.<clinit>() > (Unknown Source) > at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0) > at org.dspace.search.DSAnalyzer.tokenStream(java.lang.String, > java.io.Reader) (Unknown Source) > at > org.apache.lucene.index.DocumentWriter.invertDocument(org.apache.lucene. > document.Document) (Unknown Source) > at > org.apache.lucene.index.DocumentWriter.addDocument(java.lang.String, > org.apache.lucene.document.Document) (Unknown Source) > at > org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume > nt.Document, org.apache.lucene.analysis.Analyzer) (Unknown Source) > at > org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume > nt.Document) (Unknown Source) > at > org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.Ind > exWriter, int, java.lang.String, java.util.HashMap, java.lang.String) > (Unknown Source) > at > org.dspace.search.DSIndexer.writeCommunityIndex(org.dspace.core.Context, > org.apache.lucene.index.IndexWriter, org.dspace.content.Community) > (Unknown Source) > at > org.dspace.search.DSIndexer.indexAllCommunities(org.dspace.core.Context, > org.apache.lucene.index.IndexWriter) (Unknown Source) > at org.dspace.search.DSIndexer.createIndex(org.dspace.core.Context) > (Unknown Source) > at org.dspace.search.DSIndexer.main(java.lang.String[]) (Unknown > Source) > > > This email has been scanned by Postini. For more information please visit http://www.postini.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

