Issue with Solr 7.7.2 - ClassCastException: org.apache.solr.common.util.ByteArrayUtf8CharSequence

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue with Solr 7.7.2 - ClassCastException: org.apache.solr.common.util.ByteArrayUtf8CharSequence

David Winter
Hi,

I would like let you know about server side exceptions for specific field
types after upgrading to 7.7.2, like ClassCastException:
org.apache.solr.common.util.ByteArrayUtf8CharSequence.
For references: https://issues.apache.org/jira/browse/SOLR-13285 and
https://issues.apache.org/jira/browse/SOLR-13331

You may check out these issues for before upgrading.

java.lang.ClassCastException:
org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to
java.lang.String
at
org.apache.solr.schema.TrieDateField.toNativeType(TrieDateField.java:100)
at
org.apache.solr.update.processor.AtomicUpdateDocumentMerger.doSet(AtomicUpdateDocumentMerger.java:319)

Mit freundlichen Grüßen / Kind regards

David Winter



Reply | Threaded
Open this post in threaded view
|

Re: Issue with Solr 7.7.2 - ClassCastException: org.apache.solr.common.util.ByteArrayUtf8CharSequence

Jason Gerlowski
Hi David,

Thanks for the heads up.  We'd hoped to put an end to these issues as
a part of SOLR-13331, but missed some field types as you pointed out.
We're aware of the issue and working on a fix for upcoming Solr
versions.  Anyone interested can watch our progress here:
https://issues.apache.org/jira/browse/SOLR-13539 . (SOLR-13538 also
has some information)

Best,

Jason

On Tue, Jun 11, 2019 at 4:00 PM David Winter <[hidden email]> wrote:

>
> Hi,
>
> I would like let you know about server side exceptions for specific field
> types after upgrading to 7.7.2, like ClassCastException:
> org.apache.solr.common.util.ByteArrayUtf8CharSequence.
> For references: https://issues.apache.org/jira/browse/SOLR-13285 and
> https://issues.apache.org/jira/browse/SOLR-13331
>
> You may check out these issues for before upgrading.
>
> java.lang.ClassCastException:
> org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to
> java.lang.String
> at
> org.apache.solr.schema.TrieDateField.toNativeType(TrieDateField.java:100)
> at
> org.apache.solr.update.processor.AtomicUpdateDocumentMerger.doSet(AtomicUpdateDocumentMerger.java:319)
>
> Mit freundlichen Grüßen / Kind regards
>
> David Winter
>
>
>