Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
9.0
-
None
-
None
Description
Following exception is thrown when using a field type ICUCollationField:
2022-09-09T12:31:56.496397694Z at org.apache.solr.servlet.HttpSolrCall.sendError(HttpSolrCall.java:840) 2022-09-09T12:31:56.496406951Z java.lang.RuntimeException: java.lang.IllegalAccessError: class org.apache.solr.schema.ICUCollationField tried to access protected field org.apache.solr.schema.IndexSchema.luceneVersion (org.apache.solr.schema.ICUCollationField is in unnamed module of loader java.net.FactoryURLClassLoader @3bfc6a5e; org.apache.solr.schema.IndexSchema is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @2a7b6f69) 2022-09-09T12:31:56.496409552Z at org.apache.solr.servlet.HttpSolrCall.sendError(HttpSolrCall.java:840) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496411778Z at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:641) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496413590Z at org.apache.solr.servlet.SolrDispatchFilter.dispatch(SolrDispatchFilter.java:239) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496416131Z at org.apache.solr.servlet.SolrDispatchFilter.lambda$doFilter$0(SolrDispatchFilter.java:207) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496424924Z at org.apache.solr.servlet.ServletUtils.traceHttpRequestExecution2(ServletUtils.java:257) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496426807Z at org.apache.solr.servlet.ServletUtils.rateLimitRequest(ServletUtils.java:227) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496428731Z at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:202) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496430555Z at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496432312Z at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496434013Z at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496435709Z at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496437364Z at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496439102Z at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) ~[jetty-security-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496441769Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496445056Z at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496448830Z at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496451117Z at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496452869Z at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496455018Z at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496456718Z at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496458563Z at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496460420Z at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496462254Z at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496464568Z at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496466317Z at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496468282Z at org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496470076Z at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496471811Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496473530Z at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322) ~[jetty-rewrite-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496475265Z at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496477298Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496479343Z at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496481109Z at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496482843Z at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496485753Z at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496487443Z at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:352) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496489164Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496490945Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496492856Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496494614Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496496322Z at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:183) ~[http2-common-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496498036Z at org.eclipse.jetty.http2.HTTP2Connection.onFillable(HTTP2Connection.java:138) ~[http2-common-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496499870Z at org.eclipse.jetty.http2.HTTP2Connection$FillableCallback.succeeded(HTTP2Connection.java:361) ~[http2-common-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496501625Z at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496503323Z at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496505077Z at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496507011Z at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496508806Z at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496510556Z at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496512289Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496513998Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496515737Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496517435Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496519353Z at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496522332Z at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496524108Z at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.496525832Z at java.lang.Thread.run(Thread.java:833) [?:?] 2022-09-09T12:31:56.496527519Z Caused by: java.lang.IllegalAccessError: class org.apache.solr.schema.ICUCollationField tried to access protected field org.apache.solr.schema.IndexSchema.luceneVersion (org.apache.solr.schema.ICUCollationField is in unnamed module of loader java.net.FactoryURLClassLoader @3bfc6a5e; org.apache.solr.schema.IndexSchema is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @2a7b6f69) 2022-09-09T12:31:56.496529567Z at org.apache.solr.schema.ICUCollationField.init(ICUCollationField.java:128) ~[?:?] 2022-09-09T12:31:56.496531396Z at org.apache.solr.schema.FieldType.setArgs(FieldType.java:202) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496533136Z at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:149) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496534928Z at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:43) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496536852Z at org.apache.solr.util.plugin.AbstractPluginLoader.loadSingle(AbstractPluginLoader.java:252) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496538755Z at org.apache.solr.schema.ManagedIndexSchema.newFieldType(ManagedIndexSchema.java:1433) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496540537Z at org.apache.solr.schema.SchemaManager$OpType$1.perform(SchemaManager.java:201) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496542327Z at org.apache.solr.schema.SchemaManager.doOperations(SchemaManager.java:111) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496544067Z at org.apache.solr.schema.SchemaManager.performOperations(SchemaManager.java:91) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496545824Z at org.apache.solr.handler.SchemaHandler.handleRequestBody(SchemaHandler.java:93) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496547673Z at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:207) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496549535Z at org.apache.solr.core.SolrCore.execute(SolrCore.java:2866) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496554763Z at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:887) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496556776Z at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:606) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.496558564Z ... 55 more 2022-09-09T12:31:56.498163908Z 2022-09-09 12:31:56.482 WARN (qtp1512903453-51) [] o.e.j.s.HttpChannel /solr/CollectionUnderTestf1daaccc-255c-44bd-aa7c-b3ef0b8e73c1/schema => java.lang.IllegalAccessError: class org.apache.solr.schema.ICUCollationField tried to access protected field org.apache.solr.schema.IndexSchema.luceneVersion (org.apache.solr.schema.ICUCollationField is in unnamed module of loader java.net.FactoryURLClassLoader @3bfc6a5e; org.apache.solr.schema.IndexSchema is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @2a7b6f69) 2022-09-09T12:31:56.498180147Z at org.apache.solr.schema.ICUCollationField.init(ICUCollationField.java:128) 2022-09-09T12:31:56.498183424Z java.lang.IllegalAccessError: class org.apache.solr.schema.ICUCollationField tried to access protected field org.apache.solr.schema.IndexSchema.luceneVersion (org.apache.solr.schema.ICUCollationField is in unnamed module of loader java.net.FactoryURLClassLoader @3bfc6a5e; org.apache.solr.schema.IndexSchema is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader @2a7b6f69) 2022-09-09T12:31:56.498186396Z at org.apache.solr.schema.ICUCollationField.init(ICUCollationField.java:128) ~[?:?] 2022-09-09T12:31:56.498188825Z at org.apache.solr.schema.FieldType.setArgs(FieldType.java:202) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498190884Z at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:149) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498192966Z at org.apache.solr.schema.FieldTypePluginLoader.init(FieldTypePluginLoader.java:43) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498194895Z at org.apache.solr.util.plugin.AbstractPluginLoader.loadSingle(AbstractPluginLoader.java:252) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498196720Z at org.apache.solr.schema.ManagedIndexSchema.newFieldType(ManagedIndexSchema.java:1433) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498199252Z at org.apache.solr.schema.SchemaManager$OpType$1.perform(SchemaManager.java:201) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498201297Z at org.apache.solr.schema.SchemaManager.doOperations(SchemaManager.java:111) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498203656Z at org.apache.solr.schema.SchemaManager.performOperations(SchemaManager.java:91) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498210538Z at org.apache.solr.handler.SchemaHandler.handleRequestBody(SchemaHandler.java:93) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498212638Z at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:207) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498214566Z at org.apache.solr.core.SolrCore.execute(SolrCore.java:2866) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498216404Z at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:887) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498218289Z at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:606) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498220020Z at org.apache.solr.servlet.SolrDispatchFilter.dispatch(SolrDispatchFilter.java:239) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498221967Z at org.apache.solr.servlet.SolrDispatchFilter.lambda$doFilter$0(SolrDispatchFilter.java:207) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498223881Z at org.apache.solr.servlet.ServletUtils.traceHttpRequestExecution2(ServletUtils.java:257) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498225926Z at org.apache.solr.servlet.ServletUtils.rateLimitRequest(ServletUtils.java:227) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498227718Z at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:202) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498229485Z at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) ~[solr-core-9.0.0.jar:9.0.0 a4eb7aa123dc53f8dac74d80b66a490f2d6b4a26 - janhoy - 2022-05-05 01:00:08] 2022-09-09T12:31:56.498231271Z at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498233004Z at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498234694Z at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498236370Z at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498238207Z at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600) ~[jetty-security-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498239979Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498243186Z at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498244937Z at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498246666Z at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498248358Z at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498250054Z at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498252096Z at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498254154Z at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498255945Z at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498257649Z at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498259384Z at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498261141Z at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498262839Z at org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498264764Z at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498266463Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498268255Z at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322) ~[jetty-rewrite-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498270019Z at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498271731Z at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498273529Z at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498275200Z at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498276916Z at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498280031Z at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498281801Z at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:352) ~[jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498283614Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498285393Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498287105Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498288832Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:137) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498290595Z at org.eclipse.jetty.http2.HTTP2Connection.produce(HTTP2Connection.java:183) ~[http2-common-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498292299Z at org.eclipse.jetty.http2.HTTP2Connection.onFillable(HTTP2Connection.java:138) ~[http2-common-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498294101Z at org.eclipse.jetty.http2.HTTP2Connection$FillableCallback.succeeded(HTTP2Connection.java:361) ~[http2-common-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498295817Z at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498297616Z at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:555) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498299393Z at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:410) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498301215Z at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:164) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498302961Z at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498304681Z at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) ~[jetty-io-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498306569Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498308515Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498310213Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498312037Z at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498315161Z at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498316924Z at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498318652Z at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) ~[jetty-util-9.4.44.v20210927.jar:9.4.44.v20210927] 2022-09-09T12:31:56.498321549Z at java.lang.Thread.run(Thread.java:833) [?:?]
The reason is that two different class loaders are involved which are loading classes from the same package.
The first one:
org.apache.solr.schema.ICUCollationField is in unnamed module of loader java.net.FactoryURLClassLoader
The second one:
org.apache.solr.schema.IndexSchema is in unnamed module of loader org.eclipse.jetty.webapp.WebAppClassLoader
As described under JVM specs this will result in an IllegalAccessError even the classes are using the same package.
This is not allowed by the JVM.
I think there are two possible solutions:
- Ensure the same class loader is used for both classes.
- Change the init method (line 128) of ICUCollationField to not directly access the field luceneVersion directly (use the puplic method of IndexSchema.getDefaultLuceneMatchVersion()
Attachments
Issue Links
- duplicates
-
SOLR-16219 ICUCollationField tried to access protected field org.apache.solr.schema.IndexSchema.luceneVersion
- Closed