[
https://issues.apache.org/jira/browse/OAK-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605541#comment-15605541
]
Julian Reschke commented on OAK-4986:
-------------------------------------
This is caused by an edge condition when lastmodified == 0 (which usually
should be only the case in tests). It leads to disagreement about the contract
of the conditional DB retrieval (where RDBDocumentStore considered lastmodifed
< 1 as invalid, while RDBDocumentStoreJDBC did not care).
> RDBDocumentStore: potential NPE in document read
> ------------------------------------------------
>
> Key: OAK-4986
> URL: https://issues.apache.org/jira/browse/OAK-4986
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: rdbmk
> Reporter: Julian Reschke
> Assignee: Julian Reschke
>
> {{RDBDocumentSerializer.fromRow()}} assumes that {{row.getData()}} always is
> non-null, which isn't guaranteed when it's the result of a conditional read
> operation.
> This NPE has been seen in testing, but couldn't be reproduced at that time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)