Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-1674

Affectation de profil sur une formation - Erreur 500

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.0
    • 4.0.0
    • None
    • None
    • 4.1 RC1

      Si la formation est verrouillée, au moment de l'affectation de profil on a une popup erreur 500.

      la trace d'erreur :

       

      
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/core-ui/client-call?role=org.ametys.core.ui.UIToolsFactoriesMa
      nager&id=uitool-profile-assignment&methodName=saveChanges&parameters=right.assignment.context.orgunit&parameters=programContent://cdc81bc0-87c4-43
      1a-9616-3e6a806c1541&parameters=[{profileId%3Dporteur-de-mention, targetType%3Duser, assignment%3Dallow, identity%3D{login%3Drnschutz, populationI
      d%3Dpopulation-ldap}}]&
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:151:82
      at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:380)
      at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:215)
      at org.apache.cocoon.components.source.impl.SitemapSourceFactory.getSource(SitemapSourceFactory.java:68)
      at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:208)
      at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:558)
      at org.ametys.core.ui.dispatcher.DispatchGenerator._dispatching(DispatchGenerator.java:147)
      ... 68 more
      Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:151:82
      at org.apache.cocoon.ProcessingException.throwLocated(ProcessingException.java:113)
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:122)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
      at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      at org.apache.cocoon.components.source.impl.SitemapSource.init(SitemapSource.java:333)
      ... 76 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.ametys.core.ui.ExecuteClientCallsAction._executeMethod(ExecuteClientCallsAction.java:204)
      at org.ametys.core.ui.ExecuteClientCallsAction.act(ExecuteClientCallsAction.java:182)
      at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47)
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:236)
      at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.buildPipeline(ConcreteTreeProcessor.java:194)
      at org.apache.cocoon.components.treeprocessor.TreeProcessor.buildPipeline(TreeProcessor.java:267)
      at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:111)
      
      ... 86 more
      Caused by: org.ametys.plugins.repository.AmetysRepositoryException: Error while getting root ACL node.
      at org.ametys.plugins.repository.jcr.ACLJCRAmetysObjectHelper._getOrCreateACLNode(ACLJCRAmetysObjectHelper.java:1482)
      at org.ametys.plugins.repository.jcr.ACLJCRAmetysObjectHelper._getOrCreateUsersNode(ACLJCRAmetysObjectHelper.java:1509)
      at org.ametys.plugins.repository.jcr.ACLJCRAmetysObjectHelper._getOrCreateUserNode(ACLJCRAmetysObjectHelper.java:1615)
      at org.ametys.plugins.repository.jcr.ACLJCRAmetysObjectHelper.removeDeniedUsers(ACLJCRAmetysObjectHelper.java:1205)
      at org.ametys.plugins.repository.jcr.DefaultAmetysObject.removeDeniedUsers(DefaultAmetysObject.java:675)
      at org.ametys.plugins.repository.ModifiableACLAmetysObjectProfileAssignmentStorage.removeDeniedUsers(ModifiableACLAmetysObjectProfileAssignmentStorage.java:177)
      at org.ametys.core.right.ProfileAssignmentStorageExtensionPoint.lambda$removeDeniedProfileFromUser$21(ProfileAssignmentStorageExtensionPoint.java:988)
      at java.util.Optional.ifPresent(Optional.java:159)
      at org.ametys.core.right.ProfileAssignmentStorageExtensionPoint.removeDeniedProfileFromUser(ProfileAssignmentStorageExtensionPoint.java:988)
      at org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement._saveChange(ProfileAssignmentsToolClientSideElement.java:546)
      at org.ametys.core.ui.right.ProfileAssignmentsToolClientSideElement.saveChanges(ProfileAssignmentsToolClientSideElement.java:302)
      ... 103 more
      Caused by: javax.jcr.lock.LockException: Node locked.
      at org.apache.jackrabbit.core.lock.LockManagerImpl.checkLock(LockManagerImpl.java:694)
      at org.apache.jackrabbit.core.lock.LockManagerImpl.checkLock(LockManagerImpl.java:670)
      at org.apache.jackrabbit.core.lock.LockManagerImpl.checkLock(LockManagerImpl.java:655)
      at org.apache.jackrabbit.core.lock.XALockManager.checkLock(XALockManager.java:174)
      at org.apache.jackrabbit.core.ItemValidator.checkLock(ItemValidator.java:367)
      at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:288)
      at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
      at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1315)
      at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:111)
      at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:37)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
      at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:1818)
      at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1778)
      at org.ametys.plugins.repository.jcr.ACLJCRAmetysObjectHelper._getOrCreateACLNode(ACLJCRAmetysObjectHelper.java:1477)
      ... 113 more
      

       

            laurence Laurence Aumeunier
            delphine Delphine Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: