[ https://issues.apache.org/jira/browse/SOLR-13780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16934942#comment-16934942 ]
ASF subversion and git services commented on SOLR-13780: -------------------------------------------------------- Commit 31aa08ad249dc61a8e16bd76b14c0120118c0300 in lucene-solr's branch refs/heads/branch_8x from Munendra S N [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=31aa08a ] SOLR-13780: fix ClassCastException in NestableJsonFacet * handle both int and long values for count. In case of single-shard or standalone, count is int whereas in multishard count would be long > ClassCastException in NestableJsonFacet > --------------------------------------- > > Key: SOLR-13780 > URL: https://issues.apache.org/jira/browse/SOLR-13780 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrJ > Affects Versions: 7.7.1, 8.1, 8.2 > Reporter: Munendra S N > Assignee: Munendra S N > Priority: Minor > Attachments: SOLR-13780.patch > > > Stacktrace > {code:java} > Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to > java.lang.Integer > at > org.apache.solr.client.solrj.response.json.NestableJsonFacet.<init>(NestableJsonFacet.java:52) > at > org.apache.solr.client.solrj.response.QueryResponse.extractJsonFacetingInfo(QueryResponse.java:200) > at > org.apache.solr.client.solrj.response.QueryResponse.getJsonFacetingResponse(QueryResponse.java:571) > {code} > This change was missed in SOLR-13318 -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org