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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/05/19 07:34:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14549810#comment-14549810 ]
Chetan Mehrotra commented on OAK-2841:
--------------------------------------
Merged to 1.2 branch with http://svn.apache.org/r1680173
> 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)