Hi Graham, I just started getting this error today, we recently started our data entry. I did an index-all, and I got the same error as Mark. I am running JDK 1.5.0_11. Any suggestions would be appreciated.
Jake -- Jake Cameron, BCSc(UNB) Technical Specialist III Library Systems and Web Services University of Lethbridge Phone: (403) 329-2756 Office: L1110C Email: [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Graham Triggs Sent: Saturday, March 17, 2007 12:36 PM To: Mark Jordan; Stuart Lewis [sdl] Cc: [email protected] Subject: Re: [Dspace-tech] (What look like) Lucene errors on importandindex-all Hi Mark, If you look back at the stack trace you posted: at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0) there is a reference to libgcj - which means that it is running under the GNU JDK. You may well be using the Sun JDK to run your application server, and even to compile the source. But it would appear that the default java when running tasks from the command line is the GNU JDK. What distribution are you running on? G ----- Original Message ----- From: "Mark Jordan" <[EMAIL PROTECTED]> To: "Stuart Lewis [sdl]" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Saturday, March 17, 2007 5:38 PM Subject: Re: [Dspace-tech] (What look like) Lucene errors on import andindex-all > Hi Stuart, > > We are using the Sun JDK. Sorry I didn't mention that. > > Mark > > Stuart Lewis [sdl] wrote: >> Hi Mark, >> >> Try using a Sun JDK rather than the GNU JDK your system is using. This >> might >> solve your problem. >> >> Thanks, >> >> >> Stuart >> >> _________________________________________________________________ >> >> Datblygydd Cymwysiadau'r We Web Applications Developer >> Gwasanaethau Gwybodaeth Information Services >> Prifysgol Cymru Aberystwyth University of Wales Aberystwyth >> >> E-bost / E-mail: [EMAIL PROTECTED] >> Ffon / Tel: (01970) 622860 >> _________________________________________________________________ >> >> >> >> On 16/3/07 17:12, "Mark Jordan" <[EMAIL PROTECTED]> wrote: >> >>> Hi, >>> >>> I'm trying to import items into DSpace and am getting the following >>> errors, just after the first record is parsed (no ID is written to the >>> map file): >>> >>> 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. docume >>> nt.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.Doc >>> ument, >>> org.apache.lucene.analysis.Analyzer) (Unknown Source) >>> at >>> org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume nt.Doc >>> ument) >>> (Unknown Source) >>> at >>> org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.Ind exWrit >>> er, >>> int, java.lang.String, java.util.HashMap, java.lang.String) (Unknown >>> Source) >>> at >>> org.dspace.search.DSIndexer.writeItemIndex(org.dspace.core.Context, >>> org.apache.lucene.index.IndexWriter, org.dspace.content.Item) (Unknown >>> Source) >>> at org.dspace.search.DSIndexer.indexContent(org.dspace.core.Context, >>> org.dspace.content.DSpaceObject) (Unknown Source) >>> at >>> org.dspace.content.InstallItem.installItem(org.dspace.core.Context, >>> org.dspace.content.InProgressSubmission, java.lang.String) (Unknown >>> Source) >>> at >>> org.dspace.app.itemimport.ItemImport.addItem(org.dspace.core.Context, >>> org.dspace.content.Collection[], java.lang.String, java.lang.String, >>> java.io.PrintWriter) (Unknown Source) >>> at >>> org.dspace.app.itemimport.ItemImport.addItems(org.dspace.core.Context, >>> org.dspace.content.Collection[], java.lang.String, java.lang.String) >>> (Unknown Source) >>> at org.dspace.app.itemimport.ItemImport.main(java.lang.String[]) >>> (Unknown Source) >>> >>> >>> >>> When I ran index-all I got a similar error: >>> >>> >>> >>> 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. docume >>> nt.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.Doc >>> ument, >>> org.apache.lucene.analysis.Analyzer) (Unknown Source) >>> at >>> org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.docume nt.Doc >>> ument) >>> (Unknown Source) >>> at >>> org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.Ind exWrit >>> er, >>> 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) >>> >>> I ran all my dublin_core.xml files through xmlwf before import, with no >>> errors, and even though I didn't validate them, they adhere to the XML >>> described in the 1.4.1 docs. I have successfully imported some items >>> into this instance of DSpace, and we have not done any work on the >>> machine that would introduce this type of error (that we know of). We're >>> running DSpace 1.4.1 on Red Hat Enterprise 4. >>> >>> I should mention that the error "Warning: -Xmx256m not understood. >>> Ignoring." pretty much always appears when I run any of the utilities >>> (even ones that work), but I assume that error is harmless and is >>> unrelated. >>> >>> Any assistance would be greatly appreciated, >>> >>> Mark > > ------------------------------------------------------------------------ - > 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=DEVDE V > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech > ------------------------------------------------------------------------ - 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=DEVDE V _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech ------------------------------------------------------------------------- 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

