[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Paiva Junqueira updated ZOOKEEPER-363:
---------------------------------------------

      Description: 
When recovering a ledger, LedgerRecoveryMonitor currently start from the entry 
preceding the hint. if the hint is zero, then it causes an access out of the 
bounds of the bookie array in QuorumEngine, leading to the mentioned NPE.


  was:Getting a NullPointerException when reading from a ledger with 1 entry 
that has not been properly closed. Patch attached

         Priority: Major  (was: Minor)
    Fix Version/s: 3.2.0
          Summary: NPE when recovering ledger with no hint   (was: 
NullPointerException when reading/recovering from ledgers with 1 entry )

> NPE when recovering ledger with no hint 
> ----------------------------------------
>
>                 Key: ZOOKEEPER-363
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-363
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: contrib-bookkeeper
>    Affects Versions: 3.1.1
>            Reporter: Luca Telloli
>            Assignee: Flavio Paiva Junqueira
>             Fix For: 3.2.0
>
>         Attachments: ZOOKEEPER-363.patch, ZOOKEEPER-XXX.patch
>
>
> When recovering a ledger, LedgerRecoveryMonitor currently start from the 
> entry preceding the hint. if the hint is zero, then it causes an access out 
> of the bounds of the bookie array in QuorumEngine, leading to the mentioned 
> NPE.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to