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
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
I am newbie in xwiki (yesterday I download xwiki enterprise), I want add page break in page. My purpose is if I do export to PDF, this page (although only 1 line) should print in 1 page.
Thanks in advance.
Wahono
Hi,
adding velocity macros that create html doesn't work the way it is described
in the XWikiSyntax page:
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVelocity2FGroovy…
The syntax mentioned here doesn't work:
{{velocity}} #info("Some info text") {{/velocity}}
The html code ist displayed as code:
<div class="infomessage">test</div>
This syntax works but i don't know if this is correct:
{{velocity}}{{html}} #info("Some info text") {{/html}}{{/velocity}}
hel.
works
-----
Helmut Lehner
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Veloity-Macros-in-XWiki-2.0-tp2251210p2251210.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is there any way to hide "admin" type pages from users? What I mean is that
when I go to an index or search results, not only does all of the user
created pages/content show up, but so does all of the admin pages and pages
related to the structure of the XWiki platform. Given that some of my XWiki
users are not savvy programming types, I want to avoid them even being able
to see these pages. They tend to distract and confuse.
Is there a way to have only end user created content appear in searches,
what's new and index pages?
Thank you.
--
View this message in context: http://n2.nabble.com/Admin-pages...-tp2246967p2246967.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am a new XWiki user and recently installed the Enterprise version and am
considering using it for a small company corporate Wiki. So far, I love
what I see and by comparison is much more user friendly then some of the
other Wikis I have tested.
But, I am having one small problem. When I am editing a document, the Tags
input box in the Document Information panel does not work. If I make any
changes in the Tags input box, they are not saved with the document.
However, if I make changes within the Tags input box in the Information tab
on a document and click the Save button, the changes are retained.
Any suggestions as to why the tags input in the Document Information panel
might not be working? I have installed the standalone version and have left
pretty much all of the defaults intact.
Any help would be appreciated.
Thank you.
--
View this message in context: http://n2.nabble.com/Document-Information-Tag-Editing-tp2234947p2234947.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I stole this from 2 previous emails. Can someone confirm if this is
correct if I want a display of all orphaned pages in my xwiki?
#set ($sql = "where doc.parent is null or doc.parent=''")
#set ($start = 0) #set ($nb = 500)
#set($curweb="")
#foreach ($item in $xwiki.searchDocuments($sql, $nb , $start))
#if ($xwiki.hasAccessLevel("view", "${context.database}:${item}"))
#set($bentrydoc = $xwiki.getDocument($item))
#if($curweb!=${bentrydoc.web})
<div>
1.1 ${bentrydoc.web}
</div>
#set ($curweb = ${bentrydoc.web})
#end
* [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] by
$xwiki.getLocalUserName($bentrydoc.author) on
$xwiki.formatDate($bentrydoc.date,"MMMM dd, yyyy HH:mm")
<a href="$bentrydoc.getURL("edit")">edit</a>
#end
#end
Hi,
Sorry if this question was already asked. Is there a way to make
available the Calendar, Photo album and blog but for individual spaces?
It would mean that only user from that space would see the content of
these sections.
To make this clearer:
- Space 1
o Calendar 1
o Photo Album 1
o Blog 1
- Space 2
o Calendar 2
o Photo Album 2
o Blog 2
For example, calendar 1 and calendar 2 would have totally different
content only available to the users own their current space.
Thanks for your help,
Christian Dionne
Devez-vous vraiment imprimer ce courriel? Pensons a l'environnement! Do you really need to print this email? Help preserve our environment!
L'information apparaissant dans ce message electronique et dans les documents qui y sont joints est de nature confidentielle ou privilegiee. Si ce message vous est parvenu par erreur et que vous n'en etes pas le destinataire vise, vous etes par les presentes avises que toute utilisation, copie ou distribution de ce message est strictement interdite. Vous etes donc prie d'en informer immediatement l'expediteur et de detruire ce message, ainsi que les documents qui y sont joints, le cas echeant.
The information in this message, including in all attachments, is confidential or privileged. In the event you have received this message in error and are not the intended recipient, you are hereby advised that any use, copying or reproduction of this document is strictly forbidden. Please notify immediately the sender of this error and destroy this message, including its attachments, as the case may be.
__________________________________________________________
Hello everybody. I don't know if it is a stupid question but...
I hava e page, called "Father" and his child, "Child"
If I change Father's name to "Dad", then Child's parent remains Father, even
if it does not exist anymore. Is there a way to automatically follow the
renaming of the page, making Child's parent become Dad, as it happens with
links?
Thank you
--
View this message in context: http://n2.nabble.com/Change-parents%27-name-tp2231543p2231543.html
Sent from the XWiki- Users mailing list archive at Nabble.com.