On Tue, Jan 31, 2012 at 8:57 AM, Thomas Mortagne <[email protected]> wrote: > On Tue, Jan 31, 2012 at 12:01 AM, <[email protected]> wrote: >> Error number 4001 in 4: Error while parsing velocity page >> xwiki:XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content >> with id [xwiki:XWiki.WatchListMessage] >> >> Error number 4001 in 4: Error while parsing velocity page >> xwiki:XWiki.WatchListMessage >> Wrapped Exception: Failed to evaluate content with id >> [xwiki:XWiki.WatchListMessage] >> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing >> velocity page xwiki:XWiki.WatchListMessage >> Wrapped Exception: Failed to evaluate content with id >> [xwiki:XWiki.WatchListMessage] >> at >> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122) >> at >> com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:813) >> at >> com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:133) >> at >> com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:270) >> at >> com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:71) >> at org.quartz.core.JobRunShell.run(JobRunShell.java:202) >> at >> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) >> Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate >> content with id [xwiki:XWiki.WatchListMessage] >> at >> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:247) >> at >> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) >> at >> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117) >> ... 6 more >> Caused by: org.apache.velocity.exception.MethodInvocationException: >> Invocation of method 'getHTMLDiff' in class >> com.xpn.xwiki.plugin.watchlist.WatchListEvent threw exception >> java.lang.NullPointerException at xwiki:XWiki.WatchListMessage[line 148, >> column 33] >> at >> org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243) >> at >> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) >> at >> org.apache.velocity.context.ProxyVMContext.get(ProxyVMContext.java:219) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue(ASTReference.java:991) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:240) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) >> 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:216) >> at >> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) >> at >> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) >> at >> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) >> 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:420) >> at >> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) >> at >> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) >> at >> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228) >> ... 8 more >> Caused by: java.lang.NullPointerException >> at com.xpn.xwiki.objects.BaseProperty.equals(BaseProperty.java:108) >> at com.xpn.xwiki.objects.NumberProperty.equals(NumberProperty.java:57) >> at com.xpn.xwiki.objects.BaseCollection.equals(BaseCollection.java:624) >> at com.xpn.xwiki.objects.classes.BaseClass.getDiff(BaseClass.java:1211) >> at >> com.xpn.xwiki.doc.XWikiDocument.getClassDiff(XWikiDocument.java:5600) >> at >> com.xpn.xwiki.plugin.watchlist.WatchListEvent.getHTMLDiff(WatchListEvent.java:534) >> at sun.reflect.GeneratedMethodAccessor706.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:395) >> at >> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) >> at >> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) >> ... 27 more >> >> >> Wrapped Exception: >> >> org.apache.velocity.exception.MethodInvocationException: Invocation of >> method 'getHTMLDiff' in class com.xpn.xwiki.plugin.watchlist.WatchListEvent >> threw exception java.lang.NullPointerException at >> xwiki:XWiki.WatchListMessage[line 148, column 33] >> at >> org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:243) >> at >> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:187) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280) >> at >> org.apache.velocity.context.ProxyVMContext.get(ProxyVMContext.java:219) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.getVariableValue(ASTReference.java:991) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:240) >> at >> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567) >> 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:216) >> at >> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311) >> at >> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230) >> at >> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) >> 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:420) >> at >> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207) >> at >> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342) >> at >> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228) >> at >> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184) >> at >> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:117) >> at >> com.xpn.xwiki.plugin.mailsender.MailSenderPlugin.sendMailFromTemplate(MailSenderPlugin.java:813) >> at >> com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:133) >> at >> com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:270) >> at >> com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:71) >> at org.quartz.core.JobRunShell.run(JobRunShell.java:202) >> at >> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) >> Caused by: java.lang.NullPointerException >> at com.xpn.xwiki.objects.BaseProperty.equals(BaseProperty.java:108) >> at com.xpn.xwiki.objects.NumberProperty.equals(NumberProperty.java:57) >> at com.xpn.xwiki.objects.BaseCollection.equals(BaseCollection.java:624) >> at com.xpn.xwiki.objects.classes.BaseClass.getDiff(BaseClass.java:1211) >> at >> com.xpn.xwiki.doc.XWikiDocument.getClassDiff(XWikiDocument.java:5600) >> at >> com.xpn.xwiki.plugin.watchlist.WatchListEvent.getHTMLDiff(WatchListEvent.java:534) >> at sun.reflect.GeneratedMethodAccessor706.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:395) >> at >> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384) >> at >> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173) >> ... 27 more >> >> >> _______________________________________________ >> notifications mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/notifications >> > > A pity we don't have the document and the compared version or at least > the field name in the log. > > According to the error, some property class has a new number field > compared to 3.1.1. Does this sounds expected to anyone ?
Actually it could also mean that some class field type has been changed since that is not checked before comparing the field properties... > > -- > Thomas Mortagne -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

