PERINAUD Christophe wrote:
I currently use this file : joda-time-1.4.jar
I think it's the one delivered with the 1.7.1 pack
No, not joda-time, xwiki-plugin-jodatime.
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Sergiu
Dumitriu
Envoyé : lundi 9 mars 2009 16:23
À : XWiki Users
Objet : Re: [xwiki-users] Stats module configuratio
PERINAUD Christophe wrote:
Hi,
I have the kind of same problem with statistics that are not displayed on my main wiki or
that crashes in any virtual wiki.
The Joda time plugin is enabled but when i follow the advice from Sergiu in a virtual
wiki by editing the Current Month Activity panel i can see that the plugin is installed,
is available but when i call the getDateTime method it throws a null pointer exception as
if the getProtectedPlugin().getDateTime() (line 67 of JodaTimePluginApi) is not working as
expected in virtual mode (what ever is the parameter value).
In the main wiki, it works but does not display any activity (always 0 values) despite
values in the database (Oracle 10)
What is strange is that the problem occured only in graphical statistics (not stats like
most edited pages for example)
-----Message d'origine-----
2. The Joda time plugin might be disabled
I see that the line com.xpn.xwiki.plugin.jodatime.JodaTimePlugin is in
my xwiki.cfg properties
Also, joda-time-1.4.jar is available in WEB_INF > lib folder
What version of xwiki-plugin-jodatime do you have in WEB-INF/lib?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/