Re: [xwiki-users] watchlist daily notifier doesn't work
Hi Jean-Vincent, it seems that, cleaning the bad objects, the error that i found in my logs is a very little different. here's what i get now: com.xpn.xwiki.XWikiException: Error number 3205 in 3: Version 7.1 does not exist while reading document Technical Experience Center.X6 miglioramento eliche girapacchetto versione in acciaio Test Specification at com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDoc(XWikiHibernateVersioningStore.java:220) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1491) at com.xpn.xwiki.plugin.watchlist.WatchListEvent.getPreviousVersion(WatchListEvent.java:386) at com.xpn.xwiki.plugin.watchlist.WatchListEvent.getHTMLDiff(WatchListEvent.java:531) at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.context.ProxyVMContext.get(ProxyVMContext.java:222) at org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue(ASTReference.java:829) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:212) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:366) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116) at com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:806) at com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:133) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 2010-11-09 15:15:13,267 [DefaultQuartzScheduler_Worker-9] ERROR watchlist.WatchListPlugin - Exception while running job java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) so it seems that the document "Technical Experience Center.X6 miglioramento eliche girapacchetto versione in acciaio Test Specification" doesn't exists, but it's not true, it exists and it's loadable from xwiki. version 7.1 too. i add that we swiched to XE2.5.321
Re: [xwiki-users] watchlist daily notifier doesn't work
well... i found a couple of object in this situation... i fixed them out, tomorrow we will see if it was the notification failure cause. for now, thanks a lot, i will keep you informed. claudio -- View this message in context: http://xwiki.475771.n2.nabble.com/watchlist-daily-notifier-doesn-t-work-tp5697641p5704635.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] watchlist daily notifier doesn't work
Then the NPE occurs at the following line: -8<- String emailAddr = (String) userObj.getProperty(XWIKI_USER_CLASS_EMAIL_PROP).getValue(); -8<- I think this could be caused by a XWiki.WatchListClass object, with a notifier set and watched stuff, in a page which is not a user (no XWiki.XWikiUsers object) JV. On Wed, Nov 3, 2010 at 5:19 PM, ccoreggioli wrote: > > The version we're currently using is XE 2.2.4, but we're planning to upgrade > to 2.5 within the end of 2010. Anyway, it's not working yet... > > Next week i'll start to test XE 2.5 on different env, i'll be more precise > by that time. > > thanks > claudio > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/watchlist-daily-notifier-doesn-t-work-tp5697641p5702011.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] watchlist daily notifier doesn't work
The version we're currently using is XE 2.2.4, but we're planning to upgrade to 2.5 within the end of 2010. Anyway, it's not working yet... Next week i'll start to test XE 2.5 on different env, i'll be more precise by that time. thanks claudio -- View this message in context: http://xwiki.475771.n2.nabble.com/watchlist-daily-notifier-doesn-t-work-tp5697641p5702011.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] watchlist daily notifier doesn't work
Hi, Which version of XE are you using ? Thanks, JV. On Tue, Nov 2, 2010 at 3:32 PM, ccoreggioli wrote: > > Hi all, > > it's a couple of weeks that the daily scheduling for watchlist notification > doesn't work anymore. in particular, i get the following error message on > catalina.out log file: > > 2010-11-02 15:15:11,642 [DefaultQuartzScheduler_Worker-2] ERROR > watchlist.WatchListPlugin - Exception while running job > java.lang.NullPointerException > at > com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84) > at > com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262) > at > com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) > java.lang.NullPointerException > at > com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84) > at > com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262) > at > com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) > at org.quartz.core.JobRunShell.run(JobRunShell.java:202) > at > org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) > > as you can see, the message is not very explanative, and can't find out any > solution. I already tried to unschedule -> change the fire time -> > reschedule. Is there an already known issue and, maybe, its solution? The > hourly scheduler works (good) as before, so i don't think this problem is > about malformed documents. > > Any idea? > > Thanks a lot, > claudio > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/watchlist-daily-notifier-doesn-t-work-tp5697641p5697641.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users