[
https://issues.apache.org/jira/browse/SOLR-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar updated SOLR-1141:
----------------------------------------
Attachment: SOLR-1141.patch
The NPE is due to IndexDeletionPolicyWrapper.getLatestCommit returning null.
A null check is added in this patch.
> NullPointException during creating snapshot
> -------------------------------------------
>
> Key: SOLR-1141
> URL: https://issues.apache.org/jira/browse/SOLR-1141
> Project: Solr
> Issue Type: Bug
> Components: replication (java)
> Affects Versions: 1.3
> Reporter: Noble Paul
> Fix For: 1.4
>
> Attachments: SOLR-1141.patch
>
>
> If there is no new document added since the last snapshot is created, the
> request solr/replication?command=snapshoot
> a NPE is thrown
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader">
> <int name="status">0</int>
> <int name="QTime">8</int>
> </lst>
> <str
> name="exception">java.lang.NullPointerException:java.lang.NullPointerException</str>
>
> </response>
> {code}
> mail thread: http://markmail.org/thread/kthwzs7kgd3ino5t
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.