You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Torsten Krah (Jira)" <ji...@apache.org> on 2025/04/09 09:01:00 UTC

[jira] [Commented] (SOLR-3002) ClassCastException, wrong signature definition of QueryResponse.getExplainMap() - String,String given, but is String, Map

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

Torsten Krah commented on SOLR-3002:
------------------------------------

Quite interesting, 7 years later this one was reported again under SOLR-13806 and fixed with 6d03baa48571 - so this one can be closed now too.

> ClassCastException, wrong signature definition of QueryResponse.getExplainMap() - String,String given, but is String, Map
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3002
>                 URL: https://issues.apache.org/jira/browse/SOLR-3002
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 3.5
>         Environment: java 1.6, linux
>            Reporter: Torsten Krah
>            Priority: Major
>
> I am getting this exception trying to use the explainMap stuff from query response:
> java.lang.ClassCastException: org.apache.solr.common.util.SimpleOrderedMap cannot be cast to java.lang.String
> The signature tells its <String, String> but thats not true. Signature is wrong or the code which does produce a map value should produce a string, either one needs to be fixed.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org