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 "angela (JIRA)" <ji...@apache.org> on 2013/05/17 13:13:15 UTC

[jira] [Created] (OAK-829) ConstraintViolationException while retrieving definition for all nodes with name jcr:childNodeDefinition

angela created OAK-829:
--------------------------

             Summary: ConstraintViolationException while retrieving definition for all nodes with name jcr:childNodeDefinition
                 Key: OAK-829
                 URL: https://issues.apache.org/jira/browse/OAK-829
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core, jcr
            Reporter: angela


yet another error that pops up when trying to look at the content repository
in the crx-explorer:

when accessing the child node definition nodes of any node type definition
a ConstraintViolationException is raised:

for example for the node at path /jcr:system/jcr:nodeTypes/rep:root/jcr:childNodeDefinition[1] the exception looks as follows

{noformat}
javax.jcr.nodetype.ConstraintViolationException: No matching node definition found for jcr:childNodeDefinition[1]
	at org.apache.jackrabbit.oak.plugins.nodetype.EffectiveNodeType.getNodeDefinition(EffectiveNodeType.java:403)
	at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getDefinition(ReadOnlyNodeTypeManager.java:395)
	at org.apache.jackrabbit.oak.jcr.NodeImpl.internalGetDefinition(NodeImpl.java:1261)
	at org.apache.jackrabbit.oak.jcr.NodeImpl$30.perform(NodeImpl.java:900)
	at org.apache.jackrabbit.oak.jcr.NodeImpl$30.perform(NodeImpl.java:897)
	at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:96)
	at org.apache.jackrabbit.oak.jcr.ItemImpl.perform(ItemImpl.java:93)
	at org.apache.jackrabbit.oak.jcr.NodeImpl.getDefinition(NodeImpl.java:897)
{noformat}

but it happens for any other jcr:childNodeDefinition node as well that is
stored underneath /jcr:system/jcr:nodeTypes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira