[
https://issues.apache.org/jira/browse/JCRVLT-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke updated JCRVLT-793:
----------------------------------
Description:
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}
was:
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}
> 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)