lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Viswa S <svis...@hotmail.com>
Subject ClassCastException SOLR 1709 Distributed Date Faceting
Date Tue, 15 Mar 2011 07:14:27 GMT

Folks,

I applied the 4.x patch onto trunk and complied. However there seems to be run time exception
as below

Thanks
Viswa

type Status report

message java.util.Date cannot be cast to java.lang.Integer java.lang.ClassCastException: java.util.Date
cannot be cast to java.lang.Integer at org.apache.solr.handler.component.FacetComponent.countFacets(FacetComponent.java:294)
at org.apache.solr.handler.component.FacetComponent.handleResponses(FacetComponent.java:232)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:326)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at
org.apache.solr.core.SolrCore.execute(SolrCore.java:1325) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown
Source)

description The server encountered an internal error (java.util.Date cannot be cast to java.lang.Integer
java.lang.ClassCastException: java.util.Date cannot be cast to java.lang.Integer at org.apache.solr.handler.component.FacetComponent.countFacets(FacetComponent.java:294)
at org.apache.solr.handler.component.FacetComponent.handleResponses(FacetComponent.java:232)
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:326)
at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at
org.apache.solr.core.SolrCore.execute(SolrCore.java:1325) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:337)
at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown
Source) ) that prevented it from fulfilling this request.
 		 	   		  
Mime
View raw message