[ 
https://issues.apache.org/jira/browse/OAK-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16694678#comment-16694678
 ] 

Thomas Mueller commented on OAK-7910:
-------------------------------------

The patch I have (a hack right now) is:

{noformat}
Index: 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java
===================================================================
--- 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java 
    (revision 1845889)
+++ 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/IndexUpdate.java 
    (working copy)
@@ -318,7 +318,12 @@
             if (NodeStateUtils.isHidden(rm)) {
                 NodeBuilder childNode = definition.getChildNode(rm);
                 if (!childNode.getBoolean(IndexConstants.REINDEX_RETAIN)) {
-                    definition.getChildNode(rm).remove();
+                    log.info("UnsupportedOperationException caught: trying to 
remove " + rm);
+                    try {
+                        definition.getChildNode(rm).remove();
+                    } catch (UnsupportedOperationException e) {
+                        log.info("UnsupportedOperationException: reindex 
retained child node " + rm);
+                    }
                 }
             }
         }
Index: 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/NameValidator.java
===================================================================
--- 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/NameValidator.java
    (revision 1845889)
+++ 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/NameValidator.java
    (working copy)
@@ -30,6 +30,7 @@
 import org.apache.jackrabbit.oak.spi.commit.Validator;
 import org.apache.jackrabbit.oak.spi.lifecycle.RepositoryInitializer;
 import org.apache.jackrabbit.oak.spi.state.NodeState;
+import org.apache.jackrabbit.oak.spi.state.NodeStateUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -86,6 +87,10 @@
     }
 
     protected void checkValidName(String name) throws CommitFailedException {
+        if (NodeStateUtils.isHidden(name)) {
+            LOG.info("UnsupportedOperationException valid name: " + name);
+            return;
+        }
         int colon = name.indexOf(':');
         if (colon > 0) {
             String prefix = name.substring(0, colon);
Index: 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java
===================================================================
--- 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java
   (revision 1845889)
+++ 
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/nodetype/TypeEditor.java
   (working copy)
@@ -475,6 +475,10 @@
         }
         if (!names.isEmpty()) {
             for (String name : names) {
+                if (NodeStateUtils.isHidden(name)) {
+                    log.info("UnsupportedOperationException 
checkNodeTypeConstraints: " + name);
+                    continue;
+                }
                 NodeState child = after.getChildNode(name);
                 String primary = child.getName(JCR_PRIMARYTYPE);
                 Iterable<String> mixins = child.getNames(JCR_MIXINTYPES);
Index: 
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/directory/OakDirectory.java
===================================================================
--- 
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/directory/OakDirectory.java
 (revision 1845889)
+++ 
oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/directory/OakDirectory.java
 (working copy)
@@ -174,7 +174,12 @@
         } else {
             LOG.debug("Not marking {} under {} for active deletion", name, 
indexName);
         }
-        f.remove();
+        try {
+            LOG.info("UnsupportedOperationException: trying to remove " + 
name);
+            f.remove();
+        } catch (UnsupportedOperationException e) {
+            LOG.info("UnsupportedOperationException: did not remove " + name);
+        }
         markDirty();
     }
 
@@ -253,7 +258,12 @@
     public void close() throws IOException {
         if (!readOnly && definition.saveDirListing()) {
             if (!fileNamesAtStart.equals(fileNames)) {
-                directoryBuilder.setProperty(createProperty(PROP_DIR_LISTING, 
fileNames, STRINGS));
+                try {
+                    LOG.info("UnsupportedOperationException trying to close " 
+ dataNodeName);
+                    
directoryBuilder.setProperty(createProperty(PROP_DIR_LISTING, fileNames, 
STRINGS));
+                } catch (UnsupportedOperationException e) {
+                    LOG.info("UnsupportedOperationException " + dataNodeName + 
" " + fileNames);
+                }
             }
         }
     }
@@ -296,9 +306,14 @@
         NodeBuilder file = directoryBuilder.getChildNode(name);
         if (file.exists()) {
             // overwrite potentially already existing child
-            NodeBuilder destFile = dest.directoryBuilder.setChildNode(name, 
EMPTY_NODE);
-            for (PropertyState p : file.getProperties()) {
-                destFile.setProperty(p);
+            try {
+                LOG.info("UnsupportedOperationException: trying to set 
property " + name);
+                NodeBuilder destFile = 
dest.directoryBuilder.setChildNode(name, EMPTY_NODE);
+                for (PropertyState p : file.getProperties()) {
+                    destFile.setProperty(p);
+                }
+            } catch (UnsupportedOperationException e) {
+                LOG.info("UnsupportedOperationException " + name);
             }
             dest.fileNames.add(name);
             dest.markDirty();
{noformat}

Reindexing logs the following, so 
* IndexUpdate must not try to remove :oak:mount-libs-index-data,
* OakDirectory must not try to close files in :oak:mount-libs-index-data

I wonder if the read-only nodes are always named ":oak:mount-<something>", 
[~rombert] or [~tomek.rekawek] how can I find out? I would like to avoid having 
to catch an exception, and also like to avoid using "instanceof 
ReadOnlyBuilder". Pattern matching for ":oak:mount-" makes more sense I think, 
but I can't find that to be a public constant anywhere.

{noformat}
grep "UnsupportedOperationException" crx-quickstart/logs/error.log 
21.11.2018 13:53:12.233 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _6.fdt
21.11.2018 13:53:12.235 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
21.11.2018 13:53:12.236 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_6.cfe
21.11.2018 13:53:12.236 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_6.cfs
21.11.2018 13:53:12.236 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments_a
21.11.2018 13:53:12.236 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments.gen
21.11.2018 13:53:12.236 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_6.si
21.11.2018 13:53:12.236 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove 
segments_9
21.11.2018 13:53:12.236 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
21.11.2018 13:53:37.194 *INFO* [async-index-update-async] ..IndexUpdate 
UnsupportedOperationException caught: trying to remove :data
21.11.2018 13:53:37.194 *INFO* [async-index-update-async] ..IndexUpdate 
UnsupportedOperationException caught: trying to remove :status
21.11.2018 13:53:37.194 *INFO* [async-index-update-async] ..IndexUpdate 
UnsupportedOperationException caught: trying to remove :index-definition
21.11.2018 13:53:37.194 *INFO* [async-index-update-async] ..IndexUpdate 
UnsupportedOperationException caught: trying to remove 
:oak:mount-libs-index-data
21.11.2018 13:53:37.194 *INFO* [async-index-update-async] ..IndexUpdate 
UnsupportedOperationException: reindex retained child node 
:oak:mount-libs-index-data
21.11.2018 13:53:37.214 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11.nvm
21.11.2018 13:53:37.214 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11.fnm
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11.fdt
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11_Lucene41_0.doc
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11_Lucene41_0.pay
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11_Lucene41_0.tim
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11_Lucene41_0.tip
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11.nvd
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11.fdx
21.11.2018 13:53:37.215 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11_Lucene41_0.pos
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_11.si
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments_13
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_11.cfe
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_x_2.del
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_11.cfs
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments.gen
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove 
segments_12
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove 
_x_1.del
21.11.2018 13:53:37.242 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
21.11.2018 13:53:39.084 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _0_Lucene41_0.tip
21.11.2018 13:53:39.084 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _0_Lucene41_0.doc
21.11.2018 13:53:39.084 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _0_Lucene41_0.tim
21.11.2018 13:53:39.084 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _0.fdx
21.11.2018 13:53:39.084 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _0.fdt
21.11.2018 13:53:39.084 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _0.fnm
21.11.2018 13:53:39.087 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
21.11.2018 13:53:39.087 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_0.cfe
21.11.2018 13:53:39.087 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_0.si
21.11.2018 13:53:39.087 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_0.cfs
21.11.2018 13:53:39.087 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments_1
21.11.2018 13:53:39.087 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments.gen
21.11.2018 13:53:39.088 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
21.11.2018 13:53:39.092 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _1_Lucene41_0.tip
21.11.2018 13:53:39.092 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _1.fdx
21.11.2018 13:53:39.092 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _1_Lucene41_0.doc
21.11.2018 13:53:39.092 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _1_Lucene41_0.tim
21.11.2018 13:53:39.092 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _1.fnm
21.11.2018 13:53:39.092 *INFO* [oak-lucene-9] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _1.fdt
21.11.2018 13:53:39.094 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException trying to close 
:oak:mount-libs-index-data
21.11.2018 13:53:39.094 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_1.cfs
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException _1.cfs
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_1.cfe
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException _1.cfe
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_1.si
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException _1.si
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments_2
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException segments_2
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments.gen
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException segments.gen
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove 
segments_1
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException: did not remove 
segments_1
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException trying to close 
:oak:mount-libs-index-data
21.11.2018 13:53:39.095 *INFO* [async-index-update-async] 
...directory.OakDirectory UnsupportedOperationException 
:oak:mount-libs-index-data [_1.cfs, _0.cfe, _0.si, _1.cfe, _1.si, _0.cfs, 
segments_2, segments.gen]
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12_Lucene41_0.doc
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12_Lucene41_0.pay
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12_Lucene41_0.tim
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12.nvm
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12.fnm
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12_Lucene41_0.tip
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12.fdx
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12.nvd
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12.fdt
21.11.2018 13:53:42.196 *INFO* [oak-lucene-6] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _12_Lucene41_0.pos
21.11.2018 13:53:42.209 *INFO* [oak-lucene-7] ...directory.OakDirectory 
UnsupportedOperationException: trying to remove _11_1.del
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_12.si
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments_14
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_12.cfs
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
_12.cfe
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to set property 
segments.gen
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove 
segments_13
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove _11.si
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove 
_11.cfe
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException: trying to remove 
_11.cfs
21.11.2018 13:53:42.212 *INFO* [async-index-update-fulltext-async] 
...directory.OakDirectory UnsupportedOperationException trying to close :data
{noformat}

> Composite node store: Creating a new Lucene index; reindex
> ----------------------------------------------------------
>
>                 Key: OAK-7910
>                 URL: https://issues.apache.org/jira/browse/OAK-7910
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: composite, core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>
> With the composite node store, creating a Lucene index in the read-write 
> repository fails due to the exception below. I think Oak shouldn't try to do 
> node type validation for hidden nodes.
> {noformat}
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: 
> OakConstraint0001: /oak:index/test/:oak:mount-libs-index-data[[]]: The 
> primary type null does not exist
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor$1.onConstraintViolation(TypeEditor.java:109)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.constraintViolation(TypeEditor.java:234)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.createEffectiveType(TypeEditor.java:337)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.<init>(TypeEditor.java:203)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.checkNodeTypeConstraints(TypeEditor.java:482)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.enter(TypeEditor.java:276)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.spi.commit.VisibleEditor.enter(VisibleEditor.java:53)
>  [org.apache.jackrabbit.oak-store-spi:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.spi.commit.CompositeEditor.enter(CompositeEditor.java:65)
>  [org.apache.jackrabbit.oak-store-spi:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeAdded(EditorDiff.java:121)
>  [org.apache.jackrabbit.oak-store-spi:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeAdded(CompositeNodeState.java:304)
>  [org.apache.jackrabbit.oak-store-composite:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeAdded(CompositeNodeState.java:247)
>  [org.apache.jackrabbit.oak-store-composite:1.9.10.R1845889]
> Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: 
> OakConstraint0001: /oak:index/test/:oak:mount-libs-index-data[[]]: The 
> primary type null does not exist
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor$1.onConstraintViolation(TypeEditor.java:109)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.constraintViolation(TypeEditor.java:234)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.createEffectiveType(TypeEditor.java:337)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.<init>(TypeEditor.java:203)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.checkNodeTypeConstraints(TypeEditor.java:482)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.plugins.nodetype.TypeEditor.enter(TypeEditor.java:276)
>  [org.apache.jackrabbit.oak-core:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.spi.commit.VisibleEditor.enter(VisibleEditor.java:53)
>  [org.apache.jackrabbit.oak-store-spi:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.spi.commit.CompositeEditor.enter(CompositeEditor.java:65)
>  [org.apache.jackrabbit.oak-store-spi:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.spi.commit.EditorDiff.childNodeAdded(EditorDiff.java:121)
>  [org.apache.jackrabbit.oak-store-spi:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$WrappingDiff.childNodeAdded(CompositeNodeState.java:304)
>  [org.apache.jackrabbit.oak-store-composite:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.composite.CompositeNodeState$ChildrenDiffFilter.childNodeAdded(CompositeNodeState.java:247)
>  [org.apache.jackrabbit.oak-store-composite:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.segment.MapRecord$4.childNodeAdded(MapRecord.java:443)
>  [org.apache.jackrabbit.oak-segment-tar:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:505) 
> [org.apache.jackrabbit.oak-segment-tar:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.segment.MapRecord.compare(MapRecord.java:440) 
> [org.apache.jackrabbit.oak-segment-tar:1.9.10.R1845889]
>       at 
> org.apache.jackrabbit.oak.segment.SegmentNodeState.compareAgainstBaseState(SegmentNodeState.java:651)
>  [org.apache.jackrabbit.oak-segment-tar:1.9.10.R1845889]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to