lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: LUCENE-5388 AbstractMethodError
Date Thu, 30 Jan 2014 10:17:36 GMT

Can you please post your complete stack trace? I have no idea what LUCENE-5388 has to do with
that error?

Please make sure that all your Analyzers and all of your Solr installation only uses *one
set* of Lucen/Solr JAR files from *one* version. Mixing Lucene/Solr JARs and mixing with Factories
compiled against older versions does not work. You have to keep all in sync, and then all
should be fine.


Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

> -----Original Message-----
> From: Markus Jelsma []
> Sent: Thursday, January 30, 2014 10:50 AM
> To:
> Subject: LUCENE-5388 AbstractMethodError
> Hi,
> Apologies for cross posting; i got no response on the Sorl list.
> We have a developement environment running trunk but have custom
> analyzers and token filters built on 4.6.1. Now the constructors have changes
> somewhat and stuff breaks. Here's a consumer trying to get a TokenStream
> from an Analyzer object doing TokenStream stream =
> analyzer.tokenStream(null, new StringReader(input)); throwing:
> Caused by: java.lang.AbstractMethodError
> 	at
> org.apache.lucene.analysis.Analyzer.tokenStream(
> Changing the constructors won't work either because on 4.x we must
> override that specific method: analyzer is not abstract and does not override
> abstract method createComponents(String,Reader) in Analyzer :)
> So, any hints on how to deal with this thing? Wait for 4.x backport of 5388, or
> do something clever like <...> fill in the blanks.
> Many thanks,
> Markus
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message