[
https://issues.apache.org/jira/browse/SOLR-9179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393656#comment-15393656
]
Colvin Cowie edited comment on SOLR-9179 at 7/26/16 11:31 AM:
--------------------------------------------------------------
Do you have an IBM JDK? You should be able to get one from
https://www.ibm.com/developerworks/java/jdk/
To reproduce, just set your JAVA_HOME for the IBM java, and run {{solr -e cloud
-noprompt}} and then it will fail on the creation of the collection.
{quote}
Creating new collection 'gettingstarted' using command:
http://localhost:8983/solr/admin/collections?action=CREATE&name=gettingstarted&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=gettingstarted
ERROR: Failed to create collection 'gettingstarted' due to:
\{192.168.56.7:8983_solr=org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
from server at http://192.168.56.7:8983/solr: Error CREATEing SolrCore
'gettingstarted_shard1_replica1': Unable to create core
[gettingstarted_shard1_replica1] *Caused by:null*,
192.168.56.7:7574_solr=org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
from server at http://192.168.56.7:7574/solr: Error CREATEing SolrCore
'gettingstarted_shard1_replica2': Unable to create core
[gettingstarted_shard1_replica2] *Caused by: null*}
ERROR: Failed to create collection using command: [-name, gettingstarted,
-shards, 2, -replicationFactor, 2, -confname, gettingstarted, -confdir,
data_driven_schema_configs, -configsetsDir,
C:\solr\solr-6.1.0\solr-6.1.0\server\solr\configsets, -solrUrl,
http://localhost:8983/solr]
{quote}
was (Author: cjcowie):
Do you have an IBM JDK? You should be able to get one from
https://www.ibm.com/developerworks/java/jdk/
To reproduce, just set your JAVA_HOME for the IBM java, and run {{solr -e cloud
-noprompt}} and then it will fail on the creation of the collection.
{quote}
Creating new collection 'gettingstarted' using command:
http://localhost:8983/solr/admin/collections?action=CREATE&name=gettingstarted&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=gettingstarted
ERROR: Failed to create collection 'gettingstarted' due to:
{192.168.56.7:8983_solr=org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
from server at http://192.168.56.7:8983/solr: Error CREATEing SolrCore
'gettingstarted_shard1_replica1': Unable to create core
[gettingstarted_shard1_replica1] *Caused by:null*,
192.168.56.7:7574_solr=org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
from server at http://192.168.56.7:7574/solr: Error CREATEing SolrCore
'gettingstarted_shard1_replica2': Unable to create core
[gettingstarted_shard1_replica2] *Caused by: null*}
ERROR: Failed to create collection using command: [-name, gettingstarted,
-shards, 2, -replicationFactor, 2, -confname, gettingstarted, -confdir,
data_driven_schema_configs, -configsetsDir,
C:\solr\solr-6.1.0\solr-6.1.0\server\solr\configsets, -solrUrl,
http://localhost:8983/solr]
{quote}
> Error Initializing Schema
> --------------------------
>
> Key: SOLR-9179
> URL: https://issues.apache.org/jira/browse/SOLR-9179
> Project: Solr
> Issue Type: Bug
> Components: Schema and Analysis
> Affects Versions: 6.0.1
> Environment: SOLR 6.0.1 running under Tomcat 8.0.35 on IBM System I
> Reporter: Andrew Bennison
> Attachments: solr.log
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]