No, I'm talking about solr token filters. I implemented my own token filter (org.apache.lucene.analysis.TokenFilter and org.apache.solr.analysis.BaseTokenFilterFactory) but I misspelled the classname in the schema.xml and I got that exception. The solr webinterface didn't respond as well, just a white page, no http response.
best regards, Stefan Oestreicher -- Dr. Maté GmbH Stefan Oestreicher / Entwicklung [EMAIL PROTECTED] http://www.netdoktor.at Tel Buero: + 43 1 405 55 75 24 Fax Buero: + 43 1 405 55 75 55 Alser Str. 4 1090 Wien Altes AKH Hof 1 1.6.6 -----Ursprüngliche Nachricht----- Von: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Juni 2008 12:51 An: solr-user@lucene.apache.org Betreff: Re: nonexistent filter class in schema.xml Hi Stefan, Your exception is originating from tomcat instead of Solr. Are you talking about adding a ServletFilter (usually declared in web.xml) instead of a custom Solr filter factory (declared in schema.xml)? SEVERE: Error finishing response java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBuffer.jav a:690) If I add a undefined class as a filter factory in Solr's schema.xml then I get a proper ClassNotFoundException. SEVERE: org.apache.solr.common.SolrException: Error loading class 'my.foo.class' at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:25 5) ... ... Caused by: java.lang.ClassNotFoundException: my.foo.class I added a new filter to the "text" data-type as follows: <fieldType name="text" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="my.foo.class" /> ... ... On Thu, Jun 26, 2008 at 3:44 PM, Stefan Oestreicher <[EMAIL PROTECTED]> wrote: > > Sorry, i completely forgot... > I built from trunk, so it's 1.3. Revision 666555. > > best regards, > > Stefan Oestreicher > > -- > Dr. Maté GmbH > Stefan Oestreicher / Entwicklung > [EMAIL PROTECTED] > http://www.netdoktor.at > Tel Buero: + 43 1 405 55 75 24 > Fax Buero: + 43 1 405 55 75 55 > Alser Str. 4 1090 Wien Altes AKH Hof 1 1.6.6 > > -----Ursprüngliche Nachricht----- > Von: Shalin Shekhar Mangar [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 26. Juni 2008 12:07 > An: solr-user@lucene.apache.org > Betreff: Re: nonexistent filter class in schema.xml > > Can you tell us what version of Solr are you using? > > On Thu, Jun 26, 2008 at 2:41 PM, Stefan Oestreicher < > [EMAIL PROTECTED]> wrote: > > > Hi, > > > > if I add a custom filter in the schema xml and the class doesn't > > exist there is no solr error. Instead tomcat throws an exception: > > > > SEVERE: Error finishing response > > java.lang.ArrayIndexOutOfBoundsException > > at java.lang.System.arraycopy(Native Method) > > at > > > > org.apache.coyote.http11.InternalOutputBuffer.write(InternalOutputBu > > ff > > er.jav > > a:690) > > > > I just ran into this and it took me some time to figure out what > > exactly is causing the error. > > It would've been much easier to debug If there would've been an > > error like "filter class foo.bar.Baz doesn't exist". I guess this > > issue applies to other plugins as well. > > > > best regards, > > > > Stefan Oestreicher > > > > -- > > Dr. Maté GmbH > > Stefan Oestreicher / Entwicklung > > [EMAIL PROTECTED] > > http://www.netdoktor.at > > Tel Buero: + 43 1 405 55 75 24 > > Fax Buero: + 43 1 405 55 75 55 > > Alser Str. 4 1090 Wien Altes AKH Hof 1 1.6.6 > > > > > > > -- > Regards, > Shalin Shekhar Mangar. > -- Regards, Shalin Shekhar Mangar.