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
Hi everyone,
Using XWiki Enterprise version 1.7.1, we are having an error in the
e-mails received while "watching" spaces, and cannot get to the root of it.
The Watchlist Updates e-mail contents are just as follows:
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content
with id [XWiki.WatchListMessage]
<mailbox:///d%7C/ThunderBird-Mail/Local%20Folders/Inbox?number=1701611485>
When checking the server log, here's what we have
[ERROR] Method formatDate threw exception for reference $xwiki in
template XWiki.WatchListMessage at [27,61]
org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content
with id [XWiki.WatchListMessage]
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.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: 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.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java: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.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
... 7 more
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5143)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1831)
at sun.reflect.GeneratedMethodAccessor210.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(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
... 14 more
java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1032)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:785)
at java.text.SimpleDateFormat.format(SimpleDateFormat.java:778)
at java.text.DateFormat.format(DateFormat.java:314)
at com.xpn.xwiki.XWiki.formatDate(XWiki.java:5138)
at com.xpn.xwiki.api.XWiki.formatDate(XWiki.java:1831)
at sun.reflect.GeneratedMethodAccessor210.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(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java: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.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
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.java:108)
at
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:662)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.sendNotificationMessage(WatchListJob.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)
I have seen a similar error 4001 before, solved by adding the
"xwiki.servletpath=bin/" but still getting that one...
Any clue would be appreciated !
BR
Olivier
--
*Olivier Gies*
*Delivery Manager
Customs & Tax Software Engineering Center
Bull, Architect of an Open World ^TM
Phone: +86 (10) 65978001 - Ext 555 *
*www.bull.com <http://www.bull.com/>*
*This e-mail contains material that is confidential for the sole use of
the intended recipient. Any review, reliance or distribution by others
or forwarding without express permission is strictly prohibited. If you
are not the intended recipient, please contact the sender and delete all
copies.*
Hello,
I am experiencing some layout issues. I am using the right navigation panel.
In the Blog WebHome Page, the right navigation panel is properly visible for
some pages.
However, for some pages, the right navigation panel either appears at the
bottom or at the upper left corner of the page. I am having this problem
only on the Blog WebHome page.
How can I solve this issue?
Thank you very much for your time and help!
Hande
I have a user as a member of the XWikiAllGroup. When using the default
authentication class, she is able to change her profile photo. When I
use the XWikiLDAPAuthServiceImpl authclass to integrate with LDAP, she
gets a permission error "You are not allowed to view this document or
perform this action" when trying to change her photo. Are there any
differences in how this permission is handled across the auth service
implementations, or is it likely to be an LDAP group configuration
error?
Thanks,
Peter
Hello everybody,
Changing the language to Spanish translates almost everything, and I say everything because three important things for us weren't translated:
-The WYIWYG editor: I am considering to do it directly into the code
-Some panel headers: just editing the panel allows me to translate
-the tabs with Comments/attachments/history/information footer: which I have no idea how to translate.
My question is specially about the third point, how can I change it?, the content is properly translated, but the TAB name is still in English.
Thanks^2
--
Francisco Hernández CuchÃ
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi guys,
I took the code snippet from xwiki.org to rename spaces which principally works.
But the problem is that parent document settings which might be
associated to documents in that space do not get modified.
Do you have some quick velocity lines in mind, how one could enhance
the code snippet for renaming spaces in order to address this issue?
Thanx,
Sebastian
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8 Milestone 2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Last milestone of the XWiki Enterprise 1.8 version before release candidate.
Main changes:
* New Wiki Dashboard
* New way of displaying tags
* Page loading time reduced by 30%
* Improved information section in document footer
* Added wiki syntax for embedded documents
* Improved authentication performance for LDAP
Important bug fixes:
* Many bug fixes and improvements in the new GWT WYSIWYG editor
* Add support for Velocity and HTML as well as many bug fixes and
improvements in the XWiki syntax converter to convert from 1.0 syntax
to 2.0 syntax.
Note that general goals for XWiki Enterprise 1.8 are:
* Office Importer
* New Blog
* REST API
* Finish new rendering/syntax
* Finish new WYSIWYG
* French XE
* MediaWiki import
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise18M2
Thanks, The XWiki dev team
Hello,
I would like to reduce the size of the comment/attachments/history/Information footer.
As I've seen, I would like to have it as it is shown in the botton part of
http://www.xwiki.org/xwiki/bin/view/Main/WebHome
I am using the toucan skin.
Thanks a lot for the help,
Francisco
--
Francisco Hernández CuchÃ
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************