If there is no new document added since the last snapshot is created, the request solr/replication?command=snapshoot
a NPE is thrown
<?xml version="1.0" encoding="UTF-8"?>
mail thread: http://markmail.org/thread/kthwzs7kgd3ino5t
The NPE is due to IndexDeletionPolicyWrapper.getLatestCommit returning null.
A null check is added in this patch.
Committed revision 771378.
I also removed the custom file copy method with FileUtils.copyFileToDirectory method.
Editing the name of the issue because it has many more changes rather than just a NPE fix.
Bulk close for Solr 1.4