Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6D50310ED7 for ; Thu, 30 Jan 2014 10:18:08 +0000 (UTC) Received: (qmail 58275 invoked by uid 500); 30 Jan 2014 10:18:05 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 58187 invoked by uid 500); 30 Jan 2014 10:18:04 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 58177 invoked by uid 99); 30 Jan 2014 10:18:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jan 2014 10:18:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of uwe@thetaphi.de designates 85.25.204.22 as permitted sender) Received: from [85.25.204.22] (HELO mail.sd-datasolutions.de) (85.25.204.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jan 2014 10:17:57 +0000 Received: from VEGA (gate1.marum.de [134.102.237.1]) by mail.sd-datasolutions.de (Postfix) with ESMTPSA id B07733320776 for ; Thu, 30 Jan 2014 10:17:35 +0000 (UTC) From: "Uwe Schindler" To: References: In-Reply-To: Subject: RE: LUCENE-5388 AbstractMethodError Date: Thu, 30 Jan 2014 11:17:36 +0100 Message-ID: <094a01cf1da4$7f665a50$7e330ef0$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHkcc84Y+lUaAWkfeYDJx+DKU6Df5pyZJnw Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hi, 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 ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Markus Jelsma [mailto:markus.jelsma@openindex.io] > Sent: Thursday, January 30, 2014 10:50 AM > To: java-user@lucene.apache.org > Subject: LUCENE-5388 AbstractMethodError >=20 > Hi, >=20 > Apologies for cross posting; i got no response on the Sorl list. >=20 > 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 =3D > analyzer.tokenStream(null, new StringReader(input)); throwing: >=20 > Caused by: java.lang.AbstractMethodError > at > org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:140) >=20 > 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 :) >=20 > 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. >=20 > Many thanks, > Markus >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org