[ 
https://issues.apache.org/jira/browse/OAK-4986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15605272#comment-15605272
 ] 

Julian Reschke commented on OAK-4986:
-------------------------------------

Collecting facts:

- seems to only occur on Notebook (mobile corei7), not on Desktop
- has been seen with Postgres and H2 (the latter indicates that it doesn't have 
to do with leftovers from previous run)

FWIW, the logic that is supposed to ensure that the serializer is only called 
when data is available is not completely robust; will add better diagnostics to 
track this down.

> 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)

Reply via email to