org.apache.solr.common.SolrException: java.lang.ExceptionInInitializerError

Apache's JIRA Issue Tracker | Andrew Bennison | 11 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    After upgrade from 6.0.0 to 6.0.1 am getting Schema Initialization Errors. If I switch from ClassicSchema to Managed the Core will load first time, however subsequent loads will fail. Error received is : org.apache.solr.common.SolrException: java.lang.ExceptionInInitializerError at org.apache.solr.core.SolrCore.<init>(SolrCore.java:771) at org.apache.solr.core.SolrCore.<init>(SolrCore.java:642) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:817) at org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:88) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:468) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:459) at java.util.concurrent.FutureTask.run(FutureTask.java:277) at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$$Lambda$1.00000000948BC950.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1153) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:785) Caused by: java.lang.BootstrapMethodError: java.lang.ExceptionInInitializerError at org.apache.solr.schema.IndexSchema$SchemaProps$Handler.<clinit>(IndexSchema.java:1392) at org.apache.solr.handler.SchemaHandler.<clinit>(SchemaHandler.java:62) at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:343) at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:530) at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:467) at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:565) at org.apache.solr.core.PluginBag.createPlugin(PluginBag.java:121) at org.apache.solr.core.PluginBag.init(PluginBag.java:221) at org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:130) at org.apache.solr.core.SolrCore.<init>(SolrCore.java:727) ... 11 more Caused by: java.lang.ExceptionInInitializerError at java.lang.J9VMInternals.ensureError(J9VMInternals.java:137) at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:126) at java.lang.Class.forNameImpl(Native Method) at java.lang.Class.forName(Class.java:343) at java.lang.invoke.MethodType.nonPrimitiveClassFromString(MethodType.java:311) at java.lang.invoke.MethodType.parseIntoClasses(MethodType.java:373) at java.lang.invoke.MethodType.fromMethodDescriptorString(MethodType.java:286) at java.lang.invoke.MethodHandle.sendResolveMethodHandle(MethodHandle.java:961) at java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method) at java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.java:852) ... 22 more Caused by: java.lang.NullPointerException at org.apache.solr.schema.IndexSchema$SchemaProps$Handler.values(IndexSchema.java:1391) at org.apache.solr.schema.IndexSchema$SchemaProps.<clinit>(IndexSchema.java:1503) ... 30 more

    Apache's JIRA Issue Tracker | 11 months ago | Andrew Bennison
    org.apache.solr.common.SolrException: java.lang.ExceptionInInitializerError
  2. 0

    Write custom function in Solr 5

    Stack Overflow | 1 year ago | EricY
    org.apache.solr.common.SolrException: SolrCore 'services' is not available due to init failure: org/apache/solr/search/ValueSourceParser
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Solr - User - Config error mystery

    nabble.com | 2 years ago
    org.apache.solr.common.SolrException: Error Instantiating requestHandler, org.apache.solr.handler.dataimport.DataImportHandler failed to instantiate org.apache.solr.request.SolrRequestHandler
  5. 0

    replication - Unable to create index on solr, when using Zookeeper - Server Fault

    serverfault.com | 1 year ago
    java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [fts_en]

    8 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.solr.common.SolrException

      java.lang.ExceptionInInitializerError

      at org.apache.solr.core.SolrCore.<init>()
    2. Apache Solr Core
      CoreContainer$1.call
      1. org.apache.solr.core.SolrCore.<init>(SolrCore.java:771)
      2. org.apache.solr.core.SolrCore.<init>(SolrCore.java:642)
      3. org.apache.solr.core.CoreContainer.create(CoreContainer.java:817)
      4. org.apache.solr.core.CoreContainer.access$000(CoreContainer.java:88)
      5. org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:468)
      6. org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:459)
      6 frames
    3. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:277)
      1 frame
    4. Apache Solr Solrj
      ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0
      1. org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
      1 frame