[ https://issues.apache.org/jira/browse/JCRVLT-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17913988#comment-17913988 ]
Christian Schneider commented on JCRVLT-793: -------------------------------------------- Actually it seems we can avoid this bug by changing the second filter to: {code:java} .*/rep:policy/.* {code} The filter in the issue description does not include the allow node but apparently filevault seems to export the allow node without any properties. > Error when importing group: Invalid child node with type null > ------------------------------------------------------------- > > Key: JCRVLT-793 > URL: https://issues.apache.org/jira/browse/JCRVLT-793 > Project: Jackrabbit FileVault > Issue Type: Bug > Components: vlt > Reporter: Christian Schneider > Priority: Major > > We identified an error when exporting / importing a group in sling > distribution. > The error is related to filter settings used in AEM but it is reproducible in > a filevault integration test. > Filter settings: > > {code:java} > pathFilterSet.addInclude(new DefaultPathFilter("/\\Q" + path.substring(1) + > "\\E"); > pathFilterSet.addInclude(new DefaultPathFilter(".*/rep:policy")); {code} > Error: > {noformat} > Caused by: org.xml.sax.SAXException: > javax.jcr.nodetype.ConstraintViolationException: Invalid child node with type > null at > org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.processNode(SysViewImportHandler.java:92) > at > org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.endElement(SysViewImportHandler.java:221) > at > org.apache.jackrabbit.oak.jcr.xml.ImportHandler.endElement(ImportHandler.java:197) > at > org.apache.jackrabbit.vault.fs.impl.io.JcrSysViewTransformer.endNode(JcrSysViewTransformer.java:273) > ... 60 common frames omittedCaused by: > javax.jcr.nodetype.ConstraintViolationException: Invalid child node with type > null at > org.apache.jackrabbit.oak.security.authorization.accesscontrol.AccessControlImporter.startChildInfo(AccessControlImporter.java:170) > at > org.apache.jackrabbit.oak.jcr.xml.ImporterImpl.startNode(ImporterImpl.java:375) > at > org.apache.jackrabbit.oak.jcr.xml.SysViewImportHandler.processNode(SysViewImportHandler.java:81) > ... 63 common frames omitted{noformat} > -- This message was sent by Atlassian Jira (v8.20.10#820010)