Looks like the same issue that I was having

http://n2.nabble.com/WatchList-Email-Error-td2151183.html



harri...@gmail wrote:
> 
> I always receive the following error in the watchlist update notification.
> Can anyone help indicate how to resolve this issue? 
> 
>  
> 
>  
> 
> Error number 4001 in 4: Error while parsing velocity page
> XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content with
> id
> [XWiki.WatchListMessage]
> 
>  
> Error number 4001 in 4: Error while parsing velocity page
> XWiki.WatchListMessage
> Wrapped Exception: Failed to evaluate content with id
> [XWiki.WatchListMessage]
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
> velocity page XWiki.WatchListMessage
> Wrapped Exception: Failed to evaluate content with id
> [XWiki.WatchListMessage]
>        at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
> va:113)
>         at
> com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSe
> nderPlugin.java:668)
>         at
> com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchLis
> tJob.java:430)
>         at
> com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>         at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529
> )
>  
>  
> Wrapped Exception:
>  
> org.apache.velocity.exception.MethodInvocationException: Invocation of
> method 'formatDate' in  class com.xpn.xwiki.api.XWiki threw exception
> java.lang.NullPointerException @ XWiki.WatchListMessage[27,68]
>         at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:286
> )
>        at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.ja
> va:203)
>         at
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.jav
> a:294)
>         at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
>         at
> org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:448)
>         at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.jav
> a:170)
>         at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:31
> 8)
>         at
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
> :178)
>         at
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java
> :143)
>        at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.ja
> va:107)
>         at
> com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSe
> nderPlugin.java:668)
>         at
> com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchLis
> tJob.java:430)
>         at
> com.xpn.xwiki.plugin.watchlist.WatchListJob.execute(WatchListJob.java:181)
>         at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>         at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529
> )
> Caused by: java.lang.NullPointerException
>         at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5049)
>         at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1778)
>         at sun.reflect.GeneratedMethodAccessor221.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> .java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(Ub
> erspectImpl.java:295)
>         at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245
> )
>         ... 14 more
> 
>  
> 
>  
> 
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Errors-in-XWiki-%3A-Watchlist-Updates-tp2167530p2167932.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to