lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject Map size must not be negative with spatial results + php serialized
Date Wed, 08 Dec 2010 13:38:59 GMT
Hi,

Got another issue here. This time it's the PHP serialized response writer 
throwing the following exception only when spatial parameters are set using 
LocalParams in Solr 1.4.1 using JTeam's plugin:

Map size must not be negative

java.lang.IllegalArgumentException: Map size must not be negative
	at 
org.apache.solr.request.PHPSerializedWriter.writeMapOpener(PHPSerializedResponseWriter.java:224)
	at 
org.apache.solr.request.JSONWriter.writeSolrDocument(JSONResponseWriter.java:398)
	at 
org.apache.solr.request.JSONWriter.writeSolrDocumentList(JSONResponseWriter.java:553)
	at 
org.apache.solr.request.TextResponseWriter.writeVal(TextResponseWriter.java:148)
	at 
org.apache.solr.request.JSONWriter.writeNamedListAsMapMangled(JSONResponseWriter.java:154)
	at 
org.apache.solr.request.PHPSerializedWriter.writeNamedList(PHPSerializedResponseWriter.java:100)
	at 
org.apache.solr.request.PHPSerializedWriter.writeResponse(PHPSerializedResponseWriter.java:95)
	at 
org.apache.solr.request.PHPSerializedResponseWriter.write(PHPSerializedResponseWriter.java:69)
	at 
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:325)
	at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
	at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
	at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
	at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
	at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
	at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
	at org.mortbay.jetty.Server.handle(Server.java:285)
	at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
	at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
	at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
	at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

This is only triggered when the searchComponent is added to the request 
handler.

Cheers,

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Mime
View raw message