Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13538

ClassCastException: ByteArrayUtf8CharSequence cannot be cast to java.lang.String

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 7.7.2
    • Fix Version/s: 8.2
    • Component/s: SolrCloud, SolrJ
    • Labels:
      None

      Description

      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:

      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.0000000015E98FE0.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.00000000159637A0.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.0000000014658A00.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.request(HttpSolrClient.java:255) ~[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.request(HttpSolrClient.java:244) ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - janhoy - 2019-05-28 23:37:52]
      at org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:484) ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - janhoy - 2019-05-28 23:37:52]
      at org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:414) ~[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.lambda$directUpdate$0(CloudSolrClient.java:528) ~[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$$Lambda$440.0000000014501A80.call(Unknown Source) ~[?:?]
      at java.util.concurrent.FutureTask.run(FutureTask.java:277) ~[?:1.8.0]
      at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:209) ~[solr-solrj-7.7.2.jar:7.7.2 d4c30fc2856154f2c1fefc589eb7cd070a415b94 - janhoy - 2019-05-28 23:37:52]
      at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$325.0000000002B8F2A0.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]
      ... 1 more
      

      Server Request: 500 Server Error

      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "POST /solr/test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1/update?wt=javabin&version=2 HTTP/1.1[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "Content-Type: application/javabin[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "User-Agent: Solr[org.apache.solr.client.solrj.impl.HttpSolrClient] 1.0[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "Transfer-Encoding: chunked[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "Host: 172.22.0.3:8983[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "Connection: Keep-Alive[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "1b3[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x2][0xc3][0xe0]&params[0xa1][0xe0],commitWithin[0x6][0x0][0x0][0x0][0x0][0xe0]&delByQ[0x0][0xe0]'docsMap[0xe][0x13][0x10][0x4][0x8]?[0x80][0x0][0x0][0xe0]"id#214[0xe0]'isBook2[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe0]#add[0x83][0x2][0x1][0x2][0xe0]'number3[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe0]#set[0x83]x[0x9d][0x1]r[0x9e][0x1]|[0xa3][0x1][0xe0]'number4[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9][0x0][0x0][0x13][0x10][0x3][0x8]?[0x80][0x0][0x0][0xe5]#215[0xe0]&isBook[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9][0x2][0xe0]%field[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9].field value 21[0x0][0x13][0x10][0x2][0x8]?[0x80][0x0][0x0][0xe5]#216[0xe0]&number[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9]r_[0x0][0x13][0x10][0x3][0x8]?[0x80][0x0][0x0][0xe5]#217[0xe0]'created[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9]42017-11-15T04:53:58Z[0xec][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9]42017-11-15T04:53:58Z[0x0][0x13][0x10][0x2][0x8]?[0x80][0x0][0x0][0xe5]#218[0xe6][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe0]&remove[0x1][0x0][0x13][0x10][0x5][0x8]?[0x80][0x0][0x0][0xe5]#219[0xed][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9]}[0x1][0xec][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9][0x0][0xea][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9][0x0][0xe0]$tags[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xef]$test[0x0][0x13][0x10][0x5][0x8]?[0x80][0x0][0x0][0xe5]#220[0xe6][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe7][0x2][0xe8][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe7]z~[0xea][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xef][0x5]A[0xe8][0x18][0xcf][0xef]J[0xf4]x[0xf0][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xef][0x81]$test[0x0][0x13][0x10][0x4][0x8]?[0x80][0x0][0x0][0xe5]#221[0xe6][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe7][0x83][0x2][0x1][0x2][0xe8][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9][0x83][0x9d][0x1]y[0x9e][0x1]s[0xa4][0x1][0xea][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[0x1][0xe9][0x0][0x0][0xf][\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "0[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 >> "[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "HTTP/1.1 500 Server Error[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "Content-Type: application/octet-stream[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "Content-Length: 5890[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[\r][\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x2][0xa2][0xe0].responseHeader[0xa3][0xe0]"rfA[0xe0]&statusT[0x1f][0xe0]%QTime^[0x3][0xe0]%error[0xa3][0xe0]#msg?9org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to java.lang.String[0xe0]%trace?[0xbf],java.lang.ClassCastException: org.apache.solr.common.util.ByteArrayUtf8CharSequence cannot be cast to java.lang.String[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.schema.TrieDateField.toNativeType(TrieDateField.java:100)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.processor.AtomicUpdateDocumentMerger.doSet(AtomicUpdateDocumentMerger.java:319)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.processor.AtomicUpdateDocumentMerger.merge(AtomicUpdateDocumentMerger.java:108)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.processor.DistributedUpdateProcessor.getUpdatedDocument(DistributedUpdateProcessor.java:1431)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.processor.DistributedUpdateProcessor.doVersionAdd(DistributedUpdateProcessor.java:1117)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.processor.DistributedUpdateProcessor.lambda$versionAdd$2(DistributedUpdateProcessor.java:1082)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.VersionBucket.runWithLock(VersionBucket.java:50)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1082)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:694)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.handler.loader.JavabinLoader$1.update(JavabinLoader.java:110)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "Codec$StreamingCodec.readOuterMostDocIterator(JavaBinUpdateRequestCodec.java:327)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$StreamingCodec.readIterator(JavaBinUpdateRequestCodec.java:280)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.common.util.JavaBinCodec.readObject(JavaBinCodec.java:335)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:280)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$StreamingCodec.readNamedList(JavaBinUpdateRequestCodec.java:235)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.common.util.JavaBinCodec.readObject(JavaBinCodec.java:300)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:280)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:193)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec.unmarshal(JavaBinUpdateRequestCodec.java:126)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.handler.loader.JavabinLoader.parseAndLoadDocs(JavabinLoader.java:123)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.handler.loader.JavabinLoader.load(JavabinLoader.java:70)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:97)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:68)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.core.SolrCore.execute(SolrCore.java:2551)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:711)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:516)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:395)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:341)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.Server.handle(Server.java:502)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)[\n]"
      DEBUG org.apache.http.impl.conn.Wire 73 wire - http-outgoing-24 << "[0x9]at java.lang.Thread.run(Thread.java:748)[\n]"
      

      Server Log:

      2019-06-11 17:37:56.787 ERROR (qtp802600647-14) [c:test-tenant.indexing_005Ftest_005Fcollection-1560274627191 s:shard1 r:core_node2 x:test-tenant.indexing_005Ftest_005Fcollection-1560274627191_shard1_replica_n1] o.a.s.s.HttpSolrCall null: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)
      at org.apache.solr.update.processor.AtomicUpdateDocumentMerger.merge(AtomicUpdateDocumentMerger.java:108)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.getUpdatedDocument(DistributedUpdateProcessor.java:1431)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.doVersionAdd(DistributedUpdateProcessor.java:1117)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.lambda$versionAdd$2(DistributedUpdateProcessor.java:1082)
      at org.apache.solr.update.VersionBucket.runWithLock(VersionBucket.java:50)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:1082)
      at org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:694)
      at org.apache.solr.handler.loader.JavabinLoader$1.update(JavabinLoader.java:110)
      at org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$StreamingCodec.readOuterMostDocIterator(JavaBinUpdateRequestCodec.java:327)
      at org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$StreamingCodec.readIterator(JavaBinUpdateRequestCodec.java:280)
      at org.apache.solr.common.util.JavaBinCodec.readObject(JavaBinCodec.java:335)
      at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:280)
      at org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec$StreamingCodec.readNamedList(JavaBinUpdateRequestCodec.java:235)
      at org.apache.solr.common.util.JavaBinCodec.readObject(JavaBinCodec.java:300)
      at org.apache.solr.common.util.JavaBinCodec.readVal(JavaBinCodec.java:280)
      at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:193)
      at org.apache.solr.client.solrj.request.JavaBinUpdateRequestCodec.unmarshal(JavaBinUpdateRequestCodec.java:126)
      at org.apache.solr.handler.loader.JavabinLoader.parseAndLoadDocs(JavabinLoader.java:123)
      at org.apache.solr.handler.loader.JavabinLoader.load(JavabinLoader.java:70)
      at org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:97)
      at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:68)
      at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)
      at org.apache.solr.core.SolrCore.execute(SolrCore.java:2551)
      at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:711)
      at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:516)
      at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:395)
      at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:341)
      

      If you need any additional information, let me know.

        Attachments

        1. SOLR-13538.patch
          3 kB
          Munendra S N

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dawinter DW
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m