[
https://issues.apache.org/jira/browse/OAK-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra updated OAK-2841:
---------------------------------
Fix Version/s: 1.2.3
> 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, 1.2.3
>
>
> 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)