# Notification issue on xwiki 9.11.4

**URL:** <https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871>\
**Category:** Help / Discuss\
**Created:** [April 9, 2018, 8:29am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871 "2018-04-09T08:29:52Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pbas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pbas/32/15_2.png) [@Pbas](https://forum.xwiki.org/u/Pbas)\
**Post date:** [April 9, 2018, 8:29am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/1 "2018-04-09T08:29:53Z")

</div>

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:

```auto
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](https://xxxxxxx.fr/bin/view/XWiki/Notifications/Code/NotificationRSSService) displayed a StackOverflowError :

```auto
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:

```auto
{{velocity}}
$services.notification.notifiers.getFeed(20)
{{/velocity}}

```

Thxs for any help.

Pascal B

---

<div class="post-metadata">

**Author:** ![Pbas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pbas/32/15_2.png) [@Pbas](https://forum.xwiki.org/u/Pbas)\
**Post date:** [April 9, 2018, 8:54am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/2 "2018-04-09T08:54:34Z")

</div>

Notification working well:

- on FF 57.2.3 ESR

Notification doesn’t work on:

- on FF 59.0.b6 developper edition
- Chromium 64.0.3282.119

---

<div class="post-metadata">

**Author:** ![Pbas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pbas/32/15_2.png) [@Pbas](https://forum.xwiki.org/u/Pbas)\
**Post date:** [April 9, 2018, 9:33am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/3 "2018-04-09T09:33:50Z")

</div>

Hum it seem it is fixed now on both browser…  
Strange issue.  
Sorry about the noise.

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [April 9, 2018, 9:38am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/4 "2018-04-09T09:38:45Z")

</div>

Browser cache issue maybe.

---

<div class="post-metadata">

**Author:** ![Pbas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pbas/32/15_2.png) [@Pbas](https://forum.xwiki.org/u/Pbas)\
**Post date:** [April 9, 2018, 9:42am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/5 "2018-04-09T09:42:43Z")

</div>

I don’t know. It wasn’t only js problem, it was $services.notification.notifiers.getFeed issue too.

---

<div class="post-metadata">

**Author:** ![Pbas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pbas/32/15_2.png) [@Pbas](https://forum.xwiki.org/u/Pbas)\
**Post date:** [April 9, 2018, 10:01am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/6 "2018-04-09T10:01:00Z")

</div>

As soon I restart tomcat, I have this issue (with Admin user) :-/  
It seem this issue disappear after 5 mn…

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [April 9, 2018, 11:22am UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/7 "2018-04-09T11:22:14Z")

</div>

Would be great if you could create a jira issue with all the details you can think of.

---

<div class="post-metadata">

**Author:** ![Pbas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pbas/32/15_2.png) [@Pbas](https://forum.xwiki.org/u/Pbas)\
**Post date:** [April 9, 2018, 1:54pm UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/8 "2018-04-09T13:54:43Z")

</div>

> [@tmortagne](#):
>
> Would be great if you could create a jira issue with all the details you can think of.

[https://jira.xwiki.org/browse/XWIKI-15179](https://jira.xwiki.org/browse/XWIKI-15179)

---

<div class="post-metadata">

**Author:** ![tmortagne](https://forum.xwiki.org/user_avatar/forum.xwiki.org/tmortagne/32/4930_2.png) [@tmortagne](https://forum.xwiki.org/u/tmortagne)\
**Post date:** [April 9, 2018, 2:02pm UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/9 "2018-04-09T14:02:06Z")

</div>

Thanks !

---

<div class="post-metadata">

**Author:** ![Pbas](https://forum.xwiki.org/user_avatar/forum.xwiki.org/pbas/32/15_2.png) [@Pbas](https://forum.xwiki.org/u/Pbas)\
**Post date:** [April 9, 2018, 2:03pm UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/10 "2018-04-09T14:03:14Z")

</div>

Hum, actually impossible to make notification work (after I restarted)  
I don’t know how my previous issue was fixed ☹  
May be this issue linked at admin user?

---

<div class="post-metadata">

**Author:** ![Pako](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/p/35a633/32.png) [@Pako](https://forum.xwiki.org/u/Pako)\
**Post date:** [August 3, 2018, 12:25pm UTC](https://forum.xwiki.org/t/notification-issue-on-xwiki-9-11-4/2871/11 "2018-08-03T12:25:39Z")

</div>

Similar issue for me with 9.11.7

[https://jira.xwiki.org/browse/XWIKI-15436](https://jira.xwiki.org/browse/XWIKI-15436)
