lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "patrick o'leary" <pj...@pjaol.com>
Subject Re: ValueSourceParser problem
Date Wed, 16 Dec 2009 06:28:14 GMT
SEVERE: java.lang.AbstractMethodError
    at org.apache.solr.core.SolrCore.createInitInstance(SolrCore.java:439)
    at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1498)
    at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1492)
    at org.apache.solr.core.SolrCore.initPlugins(SolrCore.java:1525)
    at
org.apache.solr.core.SolrCore.initValueSourceParsers(SolrCore.java:1469)
    at org.apache.solr.core.SolrCore.<init>(SolrCore.java:549)
    at
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
    at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
    at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)

And
svn info
Path: .
URL: http://svn.apache.org/repos/asf/lucene/solr/trunk
Repository Root: http://svn.apache.org/repos/asf
Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68
Revision: 891117
Node Kind: directory
Schedule: normal
Last Changed Author: koji
Last Changed Rev: 890798
Last Changed Date: 2009-12-15 06:13:59 -0800 (Tue, 15 Dec 2009)


On Tue, Dec 15, 2009 at 10:12 PM, Shalin Shekhar Mangar <
shalinmangar@gmail.com> wrote:

> On Wed, Dec 16, 2009 at 11:32 AM, patrick o'leary <pjaol@pjaol.com> wrote:
>
> > Check SolrCore.createInitInstance
> > It cast's your CustomValueSourceParser as a NamedListInitializedPlugin
> > which
> > is an interface,
> > thus the AbstractMethodError, as there isn't a concrete implementation of
> > init.
> >
> > If it cast it as a ValueSourceParser in SolrCore then it would be fine.
> >
> >
> That is not possible. Even though the object is cast to an interface
> NamedListInitializedPlugin, it is still an instance of ValueSourceParser
> and
> therefore it does have an implementation of the init method. Am I missing
> something?
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message