[jira] [Updated] (JCRVLT-793) Error when importing group: Invalid child node with type null

2025-01-20 Thread Julian Reschke (Jira)


 [ 
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
> 

[jira] [Updated] (JCRVLT-793) Error when importing group: Invalid child node with type null

2025-01-16 Thread Christian Schneider (Jira)


 [ 
https://issues.apache.org/jira/browse/JCRVLT-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider 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}
08:49:44.707 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - repository created: 
Apache Jackrabbit Oak 
1.22.4/var/folders/v1/p6r36_816glg0_p4symtb_g8gq/T/vaulttest579091603543591269.zip08:49:44.832
 [main] WARN  o.a.j.v.p.impl.PackagePropertiesImpl - Package does not specify a 
version. setting to ''08:49:44.835 [main] WARN  
o.a.j.v.p.impl.PackagePropertiesImpl - Package does not specify a version. 
setting to ''08:49:44.838 [main] INFO  o.a.j.v.packaging.impl.ActivityLog - 
test:test: CREATE08:49:44.839 [main] INFO  o.a.j.v.packaging.impl.ActivityLog - 
test:test: UPLOAD08:49:44.849 [main] INFO  o.a.j.v.packaging.impl.ActivityLog - 
test/.snapshot:test: CREATE08:49:44.851 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - Creating snapshot for package test:test 
08:49:44.855 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A 
META-INF08:49:44.855 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A 
META-INF/MANIFEST.MF08:49:44.855 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - 
A META-INF/vault08:49:44.855 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A 
META-INF/vault/config.xml08:49:44.855 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A META-INF/vault/filter.xml08:49:44.855 
[main] INFO  o.a.j.v.p.i.IntegrationTestBase - A 
META-INF/vault/nodetypes.cnd08:49:44.855 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A META-INF/vault/properties.xml08:49:44.856 
[main] INFO  o.a.j.v.p.i.IntegrationTestBase - A /.content.xml08:49:44.857 
[main] INFO  o.a.j.v.p.i.IntegrationTestBase - A /home08:49:44.857 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A /home/.content.xml08:49:44.858 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A /home/groups08:49:44.858 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A /home/groups/.content.xml08:49:44.859 
[main] INFO  o.a.j.v.p.i.IntegrationTestBase - A /home/groups/z08:49:44.859 
[main] INFO  o.a.j.v.p.i.IntegrationTestBase - A 
/home/groups/z/.content.xml08:49:44.859 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A /home/groups/z/z908:49:44.859 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A /home/groups/z/z9/.content.xml08:49:44.860 
[main] INFO  o.a.j.v.p.i.IntegrationTestBase - A 
/home/groups/z/z9/z9Mjdcu4cZMV7fPKYJiJA08:49:44.860 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A 
/home/groups/z/z9/z9Mjdcu4cZMV7fPKYJiJA/.content.xml08:49:44.860 [main] INFO  
o.a.j.v.p.i.IntegrationTestBase - A 
/home/groups/z/z9/z9Mjdcu4cZMV7fPKYJiJA/_rep_policy.xml08:49:44.861 [main] INFO 
 o.a.j.v.p.i.IntegrationTestBase - - Aggregation status: 6 of 4 prepared, 5 
collected08:49:44.863 [main] INFO  o.a.j.v.p.i.IntegrationTestBase - A 
META-INF/vault/definition/.content.xml08:49:44.869 [main] INFO  
o.a.j.v.packaging.impl.ActivityLog - test/.snapshot:test: SNAPSHOT08:49:44.869 
[main] WARN  o.a.j.v.p.impl.PackagePropertiesImpl - Package does not specify a 
version. setting to ''08:49:44.869 [main] INFO  o.a.j.v.p.i.IntegrationTestBase 
- Collecting