[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878973#comment-16878973 ] Lucene/Solr QA commented on SOLR-13538: --- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 5s{color} | {color:red} SOLR-13538 does not apply to master. Rebase required? Wrong Branch? See https://wiki.apache.org/solr/HowToContribute#Creating_the_patch_file for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | SOLR-13538 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12973702/SOLR-13538.patch | | Console output | https://builds.apache.org/job/PreCommit-SOLR-Build/480/console | | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | This message was automatically generated. > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 20m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concur
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878972#comment-16878972 ] ASF subversion and git services commented on SOLR-13538: Commit cb1b86b80abe5418e4118991be7bb39e4840fe5f in lucene-solr's branch refs/heads/branch_8x from Noble Paul [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=cb1b86b ] SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 20m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apa
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878971#comment-16878971 ] ASF subversion and git services commented on SOLR-13538: Commit 7ce347c5737c5f946ec1a5225cfeb2f38d6bcfc0 in lucene-solr's branch refs/heads/branch_8x from Munendra S N [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=7ce347c ] SOLR-13538: Fix classcastEx in TrieDateField for atomic updates (#764) SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 20m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.in
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878970#comment-16878970 ] ASF subversion and git services commented on SOLR-13538: Commit 7ce347c5737c5f946ec1a5225cfeb2f38d6bcfc0 in lucene-solr's branch refs/heads/branch_8x from Munendra S N [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=7ce347c ] SOLR-13538: Fix classcastEx in TrieDateField for atomic updates (#764) SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 20m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.in
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878968#comment-16878968 ] ASF subversion and git services commented on SOLR-13538: Commit 404cf4947dfede6c92a7cf4189f92bac803bf636 in lucene-solr's branch refs/heads/master from Noble Paul [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=404cf49 ] SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 20m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878966#comment-16878966 ] ASF subversion and git services commented on SOLR-13538: Commit 5f1d342a96e43d8849fc941148c52ad9cd56f9a4 in lucene-solr's branch refs/heads/master from Munendra S N [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=5f1d342 ] SOLR-13538: Fix classcastEx in TrieDateField for atomic updates (#764) SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 10m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.index
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878967#comment-16878967 ] ASF subversion and git services commented on SOLR-13538: Commit 5f1d342a96e43d8849fc941148c52ad9cd56f9a4 in lucene-solr's branch refs/heads/master from Munendra S N [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=5f1d342 ] SOLR-13538: Fix classcastEx in TrieDateField for atomic updates (#764) SOLR-13538: toNativeType () TrieDate & EnumField do not handle CharSequence properly > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 20m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.index
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878963#comment-16878963 ] Munendra S N commented on SOLR-13538: - [~noble.paul] I have raised the PR > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > Time Spent: 10m > Remaining Estimate: 0h > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy -
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878909#comment-16878909 ] Noble Paul commented on SOLR-13538: --- [~munendrasn] is it possible for your to submit this as a PR ? > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at >
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878742#comment-16878742 ] Munendra S N commented on SOLR-13538: - [^SOLR-13538.patch] Fix with minor test > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > Attachments: SOLR-13538.patch > > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.c
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861901#comment-16861901 ] Jan Høydahl commented on SOLR-13538: {quote}Most likely this is already fixed in {{branch_8x}} {quote} By which Jira issue and what commit hash? > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > a
[jira] [Commented] (SOLR-13538) ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String
[ https://issues.apache.org/jira/browse/SOLR-13538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861862#comment-16861862 ] Noble Paul commented on SOLR-13538: --- Most likely this is already fixed in {{branch_8x}} > ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > > > Key: SOLR-13538 > URL: https://issues.apache.org/jira/browse/SOLR-13538 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrCloud, SolrJ >Affects Versions: 7.7.2 >Reporter: DW >Priority: Blocker > > We use solr 7.7.2 and the client lib solr-solrj-7.7.2 and get exceptions > like: ClassCastException: ByteArrayUtf8CharSequence cannot be cast to > java.lang.String. > The error come up on client side but it looks like the client just show the > error response from the server: > *Client:* > {code:java} > Error from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from > server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:551) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1019) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:884) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:817) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:194) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at com.ibm.dx.search.backend.index.SolrIndexer.lambda$0(SolrIndexer.java:72) > ~[main/:?] > at > com.ibm.dx.search.backend.index.SolrIndexer$$Lambda$435.15E98FE0.subscribe(Unknown > Source) ~[?:?] > at > io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2171) > ~[rxjava-2.2.1.jar:?] > at io.reactivex.Completable.subscribe(Completable.java:2244) > ~[rxjava-2.2.1.jar:?] > at > com.ibm.dx.search.backend.index.GenericIndexer.lambda$2(GenericIndexer.java:233) > ~[main/:?] > at > com.ibm.dx.search.backend.index.GenericIndexer$$Lambda$428.159637A0.handle(Unknown > Source) ~[?:?] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:594) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at io.vertx.reactivex.core.Vertx$2.handle(Vertx.java:592) > ~[vertx-rx-java2-3.5.4.jar:3.5.4] > at > io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:273) > ~[vertx-core-3.5.4.jar:3.5.4] > at io.vertx.core.impl.ContextImpl$$Lambda$53.14658A00.run(Unknown > Source) ~[?:?] > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160) > [?:1.8.0] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) > [?:1.8.0] > at > io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) > [netty-common-4.1.19.Final.jar:4.1.19.Final] > at java.lang.Thread.run(Thread.java:812) [?:2.9 (03-06-2019)] > Caused by: > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error > from server at > http://172.22.0.3:8983/solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1: > org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to > java.lang.String > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:643) > ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - > janhoy - 2019-05-28 23:37:52] > at > org.apache.solr.client.solrj.impl.HttpSolrClient.reque