On Wed, Dec 16, 2009 at 11:01 AM, patrick o'leary <pj...@pjaol.com> wrote:

>
> #2 There's an AbstractMethodError when you extend ValueSourceParser and
> don't override the init(NamedList args) method
> because SolrCore:~439 createInitInstance, cast's the plugin class as a
> NamedListInitializedPlugin, and call's
> ((NamedListInitializedPlugin) o).init(info.initArgs);
>
> If your extended ValueSourceParser class doesn't provide an override, then
> there's nothing that implements the base interface from
> NamedListInitializedPlugin.
>
>
ValueSourceParser in trunk has an empty init method so you should never get
a AbstractMethodError. Can you check again?

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to