You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cao Manh Dat (JIRA)" <ji...@apache.org> on 2016/10/08 07:23:20 UTC
[jira] [Commented] (SOLR-2025) SpellCheckResponse
--.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot
be cast to java.util.List
[ https://issues.apache.org/jira/browse/SOLR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15557451#comment-15557451 ]
Cao Manh Dat commented on SOLR-2025:
------------------------------------
An acient bug that can not be reprocedure in the lastest source of Solr. I've tried serveral tests to simulate the request posted on the previous comment, but can not find a problem. So I think we can close this issue here ([~arafalov])
> SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: SOLR-2025
> URL: https://issues.apache.org/jira/browse/SOLR-2025
> Project: Solr
> Issue Type: Bug
> Components: clients - java
> Affects Versions: 1.4.1
> Reporter: Reuben Firmin
>
> org.apache.solr.client.solrj.SolrServerException: Error executing query
> at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
> at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
> ...
> Caused by: java.lang.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List
> at org.apache.solr.client.solrj.response.SpellCheckResponse$Suggestion.<init>(SpellCheckResponse.java:107)
> at org.apache.solr.client.solrj.response.SpellCheckResponse.<init>(SpellCheckResponse.java:51)
> at org.apache.solr.client.solrj.response.QueryResponse.extractSpellCheckInfo(QueryResponse.java:125)
> at org.apache.solr.client.solrj.response.QueryResponse.setResponse(QueryResponse.java:115)
> at org.apache.solr.client.solrj.response.QueryResponse.<init>(QueryResponse.java:80)
> at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org