Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2044

Invalid syntax of a query when checking the rights for a workflow action

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M9
    • 4.0M8
    • Rights
    • None

      Date:			Tue Aug 23 12:26:47 CEST 2016 (1471948007355)
      Thread:		http-nio-9001-exec-8
      Message #:	2802
      Level:		ERROR
      NDC:			
      Category:	org.ametys.web.frontoffice.request.HandleFoRequestGenerator
      Message:		Can not dispatch FO request : 'core-ui' 'client-call' '{role=org.ametys.intranet.calendars.CalendarManager, methodName=addEvent, parameters=[{actionId=1, id=null, title=Evenement ep1, description=modele de description, startDate=2016-08-23T12:30:00.000+0200, endDate=2016-08-23T13:30:00.000+0200, fullDay=false, parentId=calendar://9fc8614d-0bb0-4304-a164-52f71fd60c92, renameIfExists=false, recurrenceType=NEVER, untilDate=null, occurrenceDate=null, choice=null, previousCalendarId=null, tags=[], places=[]}]}'
      Location:	org.apache.cocoon.util.log.SLF4JLoggerAdapter.error(SLF4JLoggerAdapter.java:46)
      Thrown:
      org.apache.cocoon.util.location.LocatedException: Can not dispatch FO request : 'core-ui' 'client-call' '{role=org.ametys.intranet.calendars.CalendarManager, methodName=addEvent, parameters=[{actionId=1, id=null, title=Evenement ep1, description=modele de description, startDate=2016-08-23T12:30:00.000+0200, endDate=2016-08-23T13:30:00.000+0200, fullDay=false, parentId=calendar://9fc8614d-0bb0-4304-a164-52f71fd60c92, renameIfExists=false, recurrenceType=NEVER, untilDate=null, occurrenceDate=null, choice=null, previousCalendarId=null, tags=[], places=[]}]}'
      	at org.ametys.web.frontoffice.request.HandleFoRequestGenerator.generate(HandleFoRequestGenerator.java:150)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.processXMLPipeline(AbstractProcessingPipeline.java:581)
      	at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:301)
      	at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:483)
      	at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:144)
      	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.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	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.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	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.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	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.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      	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.process(ConcreteTreeProcessor.java:178)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
      	at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
      	at org.ametys.runtime.servlet.RuntimeServlet.service(RuntimeServlet.java:542)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668)
      	at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.excalibur.source.SourceException: Cannot get input stream for cocoon://_plugins/core-ui/client-call?role=org.ametys.intranet.calendars.CalendarManager&methodName=addEvent&parameters={actionId%3D1, id%3Dnull, title%3DEvenement ep1, description%3Dmodele de description, startDate%3D2016-08-23T12:30:00.000%2B0200, endDate%3D2016-08-23T13:30:00.000%2B0200, fullDay%3Dfalse, parentId%3Dcalendar://9fc8614d-0bb0-4304-a164-52f71fd60c92, renameIfExists%3Dfalse, recurrenceType%3DNEVER, untilDate%3Dnull, occurrenceDate%3Dnull, choice%3Dnull, previousCalendarId%3Dnull, tags%3D[], places%3D[]}&
      	at org.apache.cocoon.components.source.impl.SitemapSource.getInputStream(SitemapSource.java:253)
      	at org.ametys.web.frontoffice.request.HandleFoRequestGenerator.generate(HandleFoRequestGenerator.java:122)
      	... 77 more
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/core-ui/client-call?role=org.ametys.intranet.calendars.CalendarManager&methodName=addEvent&parameters={actionId%3D1, id%3Dnull, title%3DEvenement ep1, description%3Dmodele de description, startDate%3D2016-08-23T12:30:00.000%2B0200, endDate%3D2016-08-23T13:30:00.000%2B0200, fullDay%3Dfalse, parentId%3Dcalendar://9fc8614d-0bb0-4304-a164-52f71fd60c92, renameIfExists%3Dfalse, recurrenceType%3DNEVER, untilDate%3Dnull, occurrenceDate%3Dnull, choice%3Dnull, previousCalendarId%3Dnull, tags%3D[], places%3D[]}&
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      	at <map:mount> - file:/home/quentin/projects/Ametys/templates/CMSWEB/trunk/webapp/cms/../../../../../kernel/01_RUNTIME/trunk/main/kernel/sitemap.xmap:150: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.environment.AbstractEnvironment.resolveURI(AbstractEnvironment.java:555)
      	at org.ametys.web.frontoffice.request.HandleFoRequestGenerator.generate(HandleFoRequestGenerator.java:117)
      	... 77 more
      Caused by: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      	at <map:mount> - file:/home/quentin/projects/Ametys/templates/CMSWEB/trunk/webapp/cms/../../../../../kernel/01_RUNTIME/trunk/main/kernel/sitemap.xmap:150: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)
      	... 83 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:133)
      	at org.ametys.core.ui.ExecuteClientCallsAction.act(ExecuteClientCallsAction.java:120)
      	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)
      	... 93 more
      Caused by: com.opensymphony.workflow.WorkflowException: Unknown exception encountered when checking condition org.ametys.plugins.explorer.workflow.ExplorerNodeCheckRightsCondition@4cc36558: root cause: An error occured executing the JCR query : //element(Mon calendrier, ametys:object)/ametys-internal:acl//element(*, ametys:acl-user)[@ametys:denied-profiles='TEMPORARY ADMINISTRATOR']
      	at com.opensymphony.workflow.AbstractWorkflow.passesCondition(AbstractWorkflow.java:920)
      	at com.opensymphony.workflow.AbstractWorkflow.passesConditions(AbstractWorkflow.java:940)
      	at com.opensymphony.workflow.AbstractWorkflow.passesConditions(AbstractWorkflow.java:964)
      	at com.opensymphony.workflow.AbstractWorkflow.canInitialize(AbstractWorkflow.java:1436)
      	at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:610)
      	at org.ametys.plugins.workflow.AbstractAmetysWorkflow.initialize(AbstractAmetysWorkflow.java:99)
      	at org.ametys.plugins.explorer.calendars.actions.CalendarDAO.doWorkflowEventAction(CalendarDAO.java:756)
      	at org.ametys.intranet.calendars.CalendarManager.addEvent(CalendarManager.java:373)
      	... 110 more
      Caused by: org.ametys.plugins.repository.AmetysRepositoryException: An error occured executing the JCR query : //element(Mon calendrier, ametys:object)/ametys-internal:acl//element(*, ametys:acl-user)[@ametys:denied-profiles='TEMPORARY ADMINISTRATOR']
      	at org.ametys.plugins.repository.AmetysObjectResolver.query(AmetysObjectResolver.java:623)
      	at org.ametys.plugins.repository.jcr.ACLJCRAmetysObjectHelper.getDeniedUsers(ACLJCRAmetysObjectHelper.java:1264)
      	at org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject.getDeniedUsers(DefaultTraversableAmetysObject.java:218)
      	at org.ametys.plugins.repository.ACLAmetysObjectProfileAssignmentStorage.getDeniedUsers(ACLAmetysObjectProfileAssignmentStorage.java:277)
      	at org.ametys.core.right.ProfileAssignmentStorageExtensionPoint.lambda$7(ProfileAssignmentStorageExtensionPoint.java:414)
      	at java.util.Optional.map(Optional.java:215)
      	at org.ametys.core.right.ProfileAssignmentStorageExtensionPoint._getDeniedUsers(ProfileAssignmentStorageExtensionPoint.java:414)
      	at org.ametys.core.right.ProfileAssignmentStorageExtensionPoint._getPermission(ProfileAssignmentStorageExtensionPoint.java:71)
      	at org.ametys.core.right.ProfileAssignmentStorageExtensionPoint.lambda$0(ProfileAssignmentStorageExtensionPoint.java:63)
      	at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1321)
      	at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
      	at java.util.Collections$2.tryAdvance(Collections.java:4717)
      	at java.util.Collections$2.forEachRemaining(Collections.java:4725)
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
      	at org.ametys.core.right.ProfileAssignmentStorageExtensionPoint.getPermissions(ProfileAssignmentStorageExtensionPoint.java:62)
      	at org.ametys.plugins.core.impl.right.AbstractHierarchicalAccessController._getPermission(AbstractHierarchicalAccessController.java:71)
      	at org.ametys.plugins.core.impl.right.AbstractHierarchicalAccessController.getPermissions(AbstractHierarchicalAccessController.java:63)
      	at org.ametys.core.right.RightManager._getAccessResults(RightManager.java:602)
      	at org.ametys.core.right.RightManager._hasRight(RightManager.java:415)
      	at org.ametys.core.right.RightManager.hasRight(RightManager.java:360)
      	at org.ametys.plugins.workflow.component.CheckRightsCondition.hasRight(CheckRightsCondition.java:195)
      	at org.ametys.plugins.workflow.component.CheckRightsCondition._checkRights(CheckRightsCondition.java:145)
      	at org.ametys.plugins.workflow.component.CheckRightsCondition.passesCondition(CheckRightsCondition.java:93)
      	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.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:177)
      	at com.sun.proxy.$Proxy30.passesCondition(Unknown Source)
      	at com.opensymphony.workflow.AbstractWorkflow.passesCondition(AbstractWorkflow.java:906)
      	... 117 more
      Caused by: javax.jcr.query.InvalidQueryException: Lexical error at line 1, column 25.  Encountered: "c" (99), after : "" for statement: for $v in //element(Mon calendrier, ametys:object)/ametys-internal:acl//element(*, ametys:acl-user)[@ametys:denied-profiles='TEMPORARY ADMINISTRATOR'] return $v
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPathQueryBuilder.<init>(XPathQueryBuilder.java:307)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPathQueryBuilder.createQuery(XPathQueryBuilder.java:336)
      	at org.apache.jackrabbit.spi.commons.query.xpath.QueryBuilder.createQueryTree(QueryBuilder.java:39)
      	at org.apache.jackrabbit.spi.commons.query.QueryParser.parse(QueryParser.java:57)
      	at org.apache.jackrabbit.core.query.lucene.QueryImpl.<init>(QueryImpl.java:92)
      	at org.apache.jackrabbit.core.query.lucene.SearchIndex.createExecutableQuery(SearchIndex.java:731)
      	at org.apache.jackrabbit.core.query.QueryImpl.init(QueryImpl.java:115)
      	at org.apache.jackrabbit.core.SearchManager.createQuery(SearchManager.java:243)
      	at org.apache.jackrabbit.core.query.QueryManagerImpl$QueryFactoryImpl$2.createQuery(QueryManagerImpl.java:222)
      	at org.apache.jackrabbit.core.query.CompoundQueryFactory.createQuery(CompoundQueryFactory.java:67)
      	at org.apache.jackrabbit.core.query.QueryManagerImpl$2.perform(QueryManagerImpl.java:95)
      	at org.apache.jackrabbit.core.query.QueryManagerImpl$2.perform(QueryManagerImpl.java:91)
      	at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      	at org.apache.jackrabbit.core.query.QueryManagerImpl.perform(QueryManagerImpl.java:197)
      	at org.apache.jackrabbit.core.query.QueryManagerImpl.createQuery(QueryManagerImpl.java:91)
      	at org.ametys.plugins.repository.AmetysObjectResolver.query(AmetysObjectResolver.java:647)
      	at org.ametys.plugins.repository.AmetysObjectResolver.query(AmetysObjectResolver.java:614)
      	... 150 more
      Caused by: org.apache.jackrabbit.spi.commons.query.xpath.TokenMgrError: Lexical error at line 1, column 25.  Encountered: "c" (99), after : ""
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPathTokenManager.getNextToken(XPathTokenManager.java:13348)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.jj_ntk(XPath.java:9190)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.ElementTest(XPath.java:8742)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.KindTest(XPath.java:8117)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.NodeTest(XPath.java:5038)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.AbbrevForwardStep(XPath.java:4888)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.ForwardStep(XPath.java:4744)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.AxisStep(XPath.java:4689)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.StepExpr(XPath.java:4594)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.RelativePathExpr(XPath.java:4508)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.PathExpr(XPath.java:4414)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.ValueExpr(XPath.java:4122)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.UnaryExpr(XPath.java:4029)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.CastExpr(XPath.java:3932)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.CastableExpr(XPath.java:3895)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.TreatExpr(XPath.java:3858)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.InstanceofExpr(XPath.java:3821)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.IntersectExceptExpr(XPath.java:3745)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.UnionExpr(XPath.java:3669)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.MultiplicativeExpr(XPath.java:3583)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.AdditiveExpr(XPath.java:3507)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.RangeExpr(XPath.java:3448)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.ComparisonExpr(XPath.java:3350)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.AndExpr(XPath.java:3287)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.OrExpr(XPath.java:3224)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.ExprSingle(XPath.java:2211)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.ForClause(XPath.java:2334)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.FLWORExpr(XPath.java:2230)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.ExprSingle(XPath.java:2130)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.Expr(XPath.java:2091)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.QueryBody(XPath.java:2063)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.MainModule(XPath.java:512)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.Module(XPath.java:387)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.QueryList(XPath.java:151)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPath.XPath2(XPath.java:118)
      	at org.apache.jackrabbit.spi.commons.query.xpath.XPathQueryBuilder.<init>(XPathQueryBuilder.java:300)
      	... 166 more
      

            sprieul Simon Prieul (Inactive)
            quentin Quentin Glinel-Mortreuil (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: