lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reuben Firmin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2025) SpellCheckResponse --.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.util.List
Date Tue, 03 Aug 2010 18:01:44 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894960#action_12894960
] 

Reuben Firmin commented on SOLR-2025:
-------------------------------------

This bug was introduced somewhere between 1.4-dev and 1.4.1. When I run our code with 1.4-dev
I don't get the exception; with 1.4.1 I do.

> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message