error: (500) Internal Server Error

Dec 17, 2009 at 1:11 PM

Hi!

This is what I use:
   -64bit XP
   -Tomcat v5.5.28
   -Solr 1.3
   -VS2008

I've created a *very* simple project and created three classes: an extended QueryBuilder, a search record class and finally a search result class. While trying to perform a *very* simple query towards the Solr instance a get an ugly 500-error reported back from Tomcat. While following the code everything looks OK - the URL to the request-dipatcher is http://localhost:8080/solr130/select. After that the actual query-parameters are provided in the request-stream ("body") and everything is finally POSTED to the server. As mentioned I immediately get an ugly 500 response thrown. This is what I get:

**** Start of exception dump
java.lang.NullPointerException
at org.apache.solr.common.util.StrUtils.splitSmart(StrUtils.java:37)
at org.apache.solr.search.OldLuceneQParser.parse(LuceneQParserPlugin.java:104)
at org.apache.solr.search.QParser.getQuery(QParser.java:88)
at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:82)
......

I get the feeling that Solr "gets unaware" about the fact that the query-parameters have been passed albeit in the request-body. This should be very simple to accomplish but right now I feel rather stupid. What am I doing wrong?

Thanks in advance!
/Peter