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.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.document.Document,
org.apache.lucene.analysis.Analyzer) (Unknown Source)
    at
org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.document.Document)
(Unknown Source)
    at
org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.IndexWriter,
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.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.document.Document,
 
org.apache.lucene.analysis.Analyzer) (Unknown Source)
    at 
org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.document.Document)
 
(Unknown Source)
    at 
org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.IndexWriter,
 
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

-- 
Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Phone (604) 291 5753 / Fax (604) 291 3023
[EMAIL PROTECTED] / http://www.sfu.ca/~mjordan/

Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/

-------------------------------------------------------------------------
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

Reply via email to