Description
After recent backports in oak-upgrade IncludeIndexTest fails on the 1.2 and 1.0 branch when a local MongoDB instance is running, otherwise the test is skipped.
The underlying exception, hidden by the failed branch reset exception, is:
java.lang.IllegalArgumentException: Invalid name: null at org.apache.jackrabbit.oak.spi.state.AbstractNodeState.checkValidName(AbstractNodeState.java:61) at org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.getChildNode(EmptyNodeState.java:115) at org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.getEffectiveType(TypeEditor.java:284) at org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.<init>(TypeEditor.java:101) at org.apache.jackrabbit.oak.plugins.nodetype.TypeEditorProvider.getRootEditor(TypeEditorProvider.java:113) at org.apache.jackrabbit.oak.upgrade.RepositoryUpgrade$2.getRootEditor(RepositoryUpgrade.java:633) at org.apache.jackrabbit.oak.spi.commit.CompositeEditorProvider.getRootEditor(CompositeEditorProvider.java:80) at org.apache.jackrabbit.oak.spi.commit.EditorHook.processCommit(EditorHook.java:53) at org.apache.jackrabbit.oak.upgrade.RepositoryUpgrade$LoggingCompositeHook.processCommit(RepositoryUpgrade.java:1077) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$3.call(DocumentNodeStoreBranch.java:655) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted$3.call(DocumentNodeStoreBranch.java:652) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.withCurrentBranch(DocumentNodeStoreBranch.java:353) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch.access$600(DocumentNodeStoreBranch.java:52) at org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreBranch$Persisted.merge(DocumentNodeStoreBranch.java:652)
I assume later branches and trunk are not affected because of https://svn.apache.org/r1673409 That change went into 1.3.0.
Attachments
Issue Links
- relates to
-
OAK-6971 Remove composite node store-related features from the oak-upgrade
- Closed