Hello,
Notifications feature doesn’t work at all on my xwiki 9.11.4.
Notifications are not displayed and when i click on “RSS feed” link, I have this error:
XML Parsing Error: syntax error
Location: https://xxxxxxx.fr/bin/get/XWiki/Notifications/Code/NotificationRSSService?outputSyntax=plain
Line Number 1, Column 1:Failed to execute the [velocity] macro. Cause: [null]. Click on this message for details.org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [#if ($xcontext.action == 'get' && "$request.outputSyntax" == 'plain')
^
In view mode the page https://xxxxxxx.fr/bin/view/XWiki/Notifications/Code/NotificationRSSService displayed a StackOverflowError :
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getFeed' in class org.xwiki.notifications.notifiers.script.NotificationNotifiersScriptService threw exception java.lang.StackOverflowError at 89:xwiki:XWiki.Notifications.Code.NotificationRSSService[line 6, column 34]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:261)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluateInternal(DefaultVelocityEngine.java:259)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:222)
... 166 more
Caused by: java.lang.StackOverflowError
at org.hibernate.hql.antlr.HqlBaseParser.atom(HqlBaseParser.java:3668)
at org.hibernate.hql.antlr.HqlBaseParser.unaryExpression(HqlBaseParser.java:3442)
If I paste this in a page, I have same error:
{{velocity}}
$services.notification.notifiers.getFeed(20)
{{/velocity}}
Thxs for any help.
Pascal B