[
https://issues.apache.org/jira/browse/OAK-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jukka Zitting resolved OAK-826.
-------------------------------
Resolution: Fixed
Looks like I mistakenly fixed getDefaultPrimaryType() instead of
getRequiredPrimaryTypes(). In http://svn.apache.org/r1488237 I fixed also
getRequiredPrimaryTypes() and enabled the test case you added (I missed it
earlier).
> NodeDefinition#getRequiredPrimaryTypes throws IllegalStateException
> -------------------------------------------------------------------
>
> Key: OAK-826
> URL: https://issues.apache.org/jira/browse/OAK-826
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, jcr
> Reporter: angela
> Assignee: Jukka Zitting
> Fix For: 0.9
>
>
> i tried finally get the crx-explorer running with oak and run into an
> IllegalStateException that is raised by
> NodeDefinition#getRequiredPrimaryTypes:
> java.lang.IllegalStateException
> at
> com.google.common.base.Preconditions.checkState(Preconditions.java:133)
> at
> org.apache.jackrabbit.oak.plugins.nodetype.NodeDefinitionImpl.getRequiredPrimaryTypes(NodeDefinitionImpl.java:68)
> i will commit a test that illustrates the problem.
--
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