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.document.Doc
> ument,
> org.apache.lucene.analysis.Analyzer) (Unknown Source)
> at
> org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.document.Doc
> ument)
> (Unknown Source)
> at
> org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.IndexWrit
> 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.document.Doc
> ument,
> org.apache.lucene.analysis.Analyzer) (Unknown Source)
> at
> org.apache.lucene.index.IndexWriter.addDocument(org.apache.lucene.document.Doc
> ument)
> (Unknown Source)
> at
> org.dspace.search.DSIndexer.writeIndexRecord(org.apache.lucene.index.IndexWrit
> 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=DEVDEV
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech