[ 
https://issues.apache.org/jira/browse/SOLR-13377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Gerlowski resolved SOLR-13377.
------------------------------------
    Resolution: Duplicate

Hi Owen, thanks for reporting.  We're already tracking (and working on this 
issue) under SOLR-13318, so I'm going to close this copy out as a duplicate.  
Feel free to continue the discussion over there.

> NestableJsonFacet ClassCastException in SolrJ 7.6+
> --------------------------------------------------
>
>                 Key: SOLR-13377
>                 URL: https://issues.apache.org/jira/browse/SOLR-13377
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>    Affects Versions: 7.6, 7.7, 7.7.1
>            Reporter: Owen Clarke
>            Priority: Major
>         Attachments: SOLR-13377.patch
>
>
> Identified by Gerald Bonfiglio on the mailing list: 
> [http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201903.mbox/%3C2B629E99E8E563409788D895FACA8198AA754A96%40mbx031-w1-co-4.exch031.domain.local%3E]
> I have also encountered this issue where NestableJsonFacet occasionally 
> receives the facet count as a Long value but blindly casts to int when 
> assigning to domainCount, causing a ClassCastExcption. I have a fix to 
> instead check if the count value is instanceof Number, then use 
> Number.longValue() to safely unbox to long.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to