Error java.lang.NoSuchFieldError: rsp when using jteam spatial search module

2012-08-23 Thread leberknecht
Hi guys, i'm getting an error when using the GeoDistance component from jteam
(http://info.orange11.nl ) when fireing a query with a spatial tag:

error:
~~~
SEVERE: java.lang.NoSuchFieldError: rsp
at
nl.jteam.search.solrext.spatial.GeoDistanceComponent.process(GeoDistanceComponent.java:64)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:186)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1376)
[...] 
(for full stacktrace see http://pastebin.com/rqMYZDb5)

solrconfig.xml:
~
searchComponent name=geoDistance
class=nl.jteam.search.solrext.spatial.GeoDistanceComponent
str name=latFieldlat/str
str name=lngFieldlng/str
/searchComponent

As it seems, the GeoDistance component is loaded correctly and its process
method is called, but the passed ResponseBuilder object is missing the rsp
field. According the ResponseBuilder.java source, the rsp-member is
definied, so i'm wondering what the heck is going on here...(i'm not very
experienced with java, i thougth that either the passes param is of wrong
type or it should have the members definied in the class...) 
I googled and found some other dudes with the same problem, but i didn't
found the solution for this. 
Solr 3.6.1, jteam spatial module 2.0RC4, GeoDistance process-method:

public class GeoDistanceComponent extends SearchComponent {
[...]
public void process(ResponseBuilder responseBuilder) throws IOException {
[...]
MapSolrDocument, Integer idsByDocument = new HashMapSolrDocument,
Integer();
SolrDocumentList documentList = SolrUtil.docListToSolrDocumentList(
responseBuilder.getResults().docList,
responseBuilder.req.getSearcher(),
responseBuilder.rsp.getReturnFields(),
idsByDocument);

this is the line that produces the error. I get the same error on tomcat7
and jetty.

Can anyone help / give a hint? If you need more information let me know.

Cheers :)
leber



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Error-java-lang-NoSuchFieldError-rsp-when-using-jteam-spatial-search-module-tp4002884.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Error java.lang.NoSuchFieldError: rsp when using jteam spatial search module

2012-08-23 Thread leberknecht
...FYI: works fine with 3.6.0 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Error-java-lang-NoSuchFieldError-rsp-when-using-jteam-spatial-search-module-tp4002884p4002904.html
Sent from the Solr - User mailing list archive at Nabble.com.