You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2015/05/18 16:30:02 UTC

[jira] [Closed] (OAK-2841) Log NodePropBundle id for which no bundle is found

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

Davide Giannella closed OAK-2841.
---------------------------------

Bulk close for 1.0.14

> Log NodePropBundle id for which no bundle is found
> --------------------------------------------------
>
>                 Key: OAK-2841
>                 URL: https://issues.apache.org/jira/browse/OAK-2841
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: upgrade
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.3.0, 1.0.14
>
>
> At times in migration following exception is seen
> {noformat}
> Caused by: java.lang.NullPointerException
> at org.apache.jackrabbit.oak.upgrade.JackrabbitNodeState.createProperties(JackrabbitNodeState.java:311)
> at org.apache.jackrabbit.oak.upgrade.JackrabbitNodeState.<init>(JackrabbitNodeState.java:149)
> at org.apache.jackrabbit.oak.upgrade.JackrabbitNodeState.getChildNodeEntries(JackrabbitNodeState.java:255)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:1014)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:1015)
> at org.apache.jackrabbit.oak.plugins.segment.SegmentWriter.writeNode(SegmentWriter.java:1015)
> {noformat}
> This would happen if the NodePropBundle is null for a given id. It would be good to add a NPE check in loader itself



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)