org.apache.solr.common.SolrException: Index fetch failed :

Apache's JIRA Issue Tracker | Deepak | 7 years ago
  1. 0

    Hi I am trying to test Solr 1.4 Java replication. It works fine with this configuration on slave and data is sync from master with out any issue <requestHandler name="/replication" class="solr.ReplicationHandler" > <lst name="slave"> <str name="masterUrl">http://IP:PORT/SolrSmartPriceSS/replication</str> <str name="compression">internal</str> <str name="httpConnTimeout">5000</str> <str name="httpReadTimeout">10000</str> </lst> </requestHandler> We need to setup repeater on this slave. We have this configuration on slave. With this configuration, it's throwing a null pointer exception. Please see error log <requestHandler name="/replication" class="solr.ReplicationHandler" > <lst name="master"> <str name="replicateAfter">commit</str> <str name="confFiles">schema.xml</str> </lst> <lst name="slave"> <str name="masterUrl">http://IP:PORT/SolrSmartPriceSS/replication</str> <str name="compression">internal</str> <str name="httpConnTimeout">5000</str> <str name="httpReadTimeout">10000</str> </lst> </requestHandler> Error log INFO: start commit(optimize=false,waitFlush=true,waitSearcher=true,expungeDeletes=false) Feb 9, 2010 10:27:55 PM org.apache.solr.handler.ReplicationHandler doFetch SEVERE: SnapPull failed org.apache.solr.common.SolrException: Index fetch failed : at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:329) at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:264) at org.apache.solr.handler.ReplicationHandler$1.run(ReplicationHandler.java:146) Caused by: java.lang.NullPointerException at org.apache.solr.handler.ReplicationHandler$4.postCommit(ReplicationHandler.java:922) at org.apache.solr.update.UpdateHandler.callPostCommitCallbacks(UpdateHandler.java:78) at org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:411) at org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:467) at org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:319) Please let us know how can we resolve this issue Regards Deepak

    Apache's JIRA Issue Tracker | 7 years ago | Deepak
    org.apache.solr.common.SolrException: Index fetch failed :
  2. 0

    Solr - User - stress testing Solr 4.x

    nabble.com | 1 year ago
    org.apache.solr.common.SolrException: Index fetch failed :
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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. java.lang.NullPointerException

      No message provided

      at org.apache.solr.handler.ReplicationHandler$4.postCommit()
    2. Apache Solr Core
      SnapPuller.fetchLatestIndex
      1. org.apache.solr.handler.ReplicationHandler$4.postCommit(ReplicationHandler.java:922)
      2. org.apache.solr.update.UpdateHandler.callPostCommitCallbacks(UpdateHandler.java:78)
      3. org.apache.solr.update.DirectUpdateHandler2.commit(DirectUpdateHandler2.java:411)
      4. org.apache.solr.handler.SnapPuller.doCommit(SnapPuller.java:467)
      5. org.apache.solr.handler.SnapPuller.fetchLatestIndex(SnapPuller.java:319)
      5 frames