[ 
https://issues.apache.org/jira/browse/SOLR-11406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16197394#comment-16197394
 ] 

Uwe Schindler commented on SOLR-11406:
--------------------------------------

The stack trace posted here is completely unrelated. So this has nothing to do 
with the 7.0.0 bug described in this issue. It looks like something else went 
wrong. Please read the upgrade guidelines! To me it looks like you need to 
modify some config files.

> Solr 7.0 cannot read indexes from 6.x versions
> ----------------------------------------------
>
>                 Key: SOLR-11406
>                 URL: https://issues.apache.org/jira/browse/SOLR-11406
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 7.0
>         Environment: C:\Users\sheisey\Downloads\solr-7.0.0>ver
> Microsoft Windows [Version 6.1.7601]
> C:\Users\sheisey\Downloads\solr-7.0.0>java -version
> java version "1.8.0_144"
> Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
>            Reporter: Shawn Heisey
>            Assignee: Steve Rowe
>            Priority: Blocker
>             Fix For: 7.0.1, 7.1, master (8.0)
>
>         Attachments: SOLR-11406.patch, SOLR-11406.patch
>
>
> Reproduced a user problem from the mailing list.
> Steps:
>  * Start Solr 6.6.0 from an extracted download with "bin/solr start"
>  * Create a core: "bin/solr create -c foo"
>  * Add documents with the admin UI
>  * Stop Solr
>  * Copy solr-6.6.0/server/solr/foo to solr-7.0.0/server/solr in extracted 
> Solr 7.0 download
>  * Start Solr 7.0 with "bin/solr start"
> (I was on Windows, so I used backslashes everywhere these steps have forward 
> slashes)
> Solr will be unable to start the core.  Error and stacktrace:
> {code}
> 2017-09-27 15:13:30.050 ERROR (coreContainerWorkExecutor-2-thread-1) [   ] 
> o.a.s.c.CoreContainer Error waiting for SolrCore to be created
> java.util.concurrent.ExecutionException: 
> org.apache.solr.common.SolrException: Unable to create core [foo]
>     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>     at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>     at 
> org.apache.solr.core.CoreContainer.lambda$load$118(CoreContainer.java:647)
>     at 
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>     at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$128(ExecutorUtil.java:188)
>     at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at java.lang.Thread.run(Thread.java:748)
> Caused by: org.apache.solr.common.SolrException: Unable to create core [foo]
>     at 
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:996)
>     at 
> org.apache.solr.core.CoreContainer.lambda$load$117(CoreContainer.java:619)
>     at 
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
>     ... 5 more
> Caused by: org.apache.solr.common.SolrException: Error opening new searcher
>     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:988)
>     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:843)
>     at 
> org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:980)
>     ... 7 more
> Caused by: org.apache.solr.common.SolrException: Error opening new searcher
>     at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2066)
>     at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2186)
>     at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071)
>     at org.apache.solr.core.SolrCore.<init>(SolrCore.java:960)
>     ... 9 more
> Caused by: java.lang.NullPointerException
>     at java.util.Objects.requireNonNull(Objects.java:203)
>     at java.util.Optional.<init>(Optional.java:96)
>     at java.util.Optional.of(Optional.java:108)
>     at java.util.stream.ReduceOps$2ReducingSink.get(ReduceOps.java:129)
>     at java.util.stream.ReduceOps$2ReducingSink.get(ReduceOps.java:107)
>     at 
> java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
>     at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
>     at java.util.stream.ReferencePipeline.reduce(ReferencePipeline.java:479)
>     at 
> org.apache.solr.index.SlowCompositeReaderWrapper.<init>(SlowCompositeReaderWrapper.java:76)
>     at 
> org.apache.solr.index.SlowCompositeReaderWrapper.wrap(SlowCompositeReaderWrapper.java:57)
>     at 
> org.apache.solr.search.SolrIndexSearcher.<init>(SolrIndexSearcher.java:252)
>     at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2034)
>     ... 12 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to