Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.1
    • Fix Version/s: 6.2
    • Component/s: Schema and Analysis
    • Labels:
      None
    • Environment:

      SOLR 6.0.1 running under Tomcat 8.0.35 on IBM System I

      Description

      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

        Attachments

        1. solr.log
          70 kB
          Andrew Bennison
        2. SOLR-9179.patch
          2 kB
          Noble Paul

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              andrewbennison Andrew Bennison
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: