Hi,

I indexed few documents under a core of Solr 4.6.1 instance deployed on
Tomcat and copied the same index to other Solr instance with a core having
same configurations.
Before copying the index, source Solr instance was stopped. But when I
start the other instance with the copied index it throws following
exception due to which the core is not getting loaded.

Apr 10, 2014 1:00:28 PM org.apache.solr.update.
SolrIndexWriter finalize
SEVERE: SolrIndexWriter was not closed prior to finalize(), indicates a bug
-- POSSIBLE RESOURCE LEAK!!!
Apr 10, 2014 1:00:28 PM org.apache.solr.update.SolrIndexWriter close
SEVERE: Error closing IndexWriter, trying rollback
java.lang.NullPointerException
        at
org.apache.lucene.index.IndexWriter.closeInternal(IndexWriter.java:981)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:931)
        at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:893)
        at
org.apache.solr.update.SolrIndexWriter.close(SolrIndexWriter.java:132)
        at
org.apache.solr.update.SolrIndexWriter.finalize(SolrIndexWriter.java:185)
        at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
        at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)
        at java.lang.ref.Finalizer.access$100(Finalizer.java:32)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:190)

Kindly share your thoughts on this issue.

Regards,
Modassar

Reply via email to