testVelocityError | Failure | class com.xpn.xwiki.render.XWikiRenderingEngine Failed Rendering of ------- #skype(hello) ------- to ------- hello ------- Rendered output: ------- <a href="" onclick="document.getElementById('xwikierror1').style.display='block'; return false;">Error number 4001 in 4: Error while parsing velocity page Main.WebHome Wrapped Exception: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome</a><div id="xwikierror1" style="display: none;"><pre> Error number 4001 in 4: Error while parsing velocity page Main.WebHome Wrapped Exception: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.WebHome Wrapped Exception: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:87) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93) at com.xpn.xwiki.render.XWikiRenderingEngine.renderDocument(XWikiRenderingEngine.java:85) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:84) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:63) at com.xpn.xwiki.test.VelocityRenderTest.testVelocityError(VelocityRenderTest.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)<p class="paragraph"/> Wrapped Exception:<p class="paragraph"/>org.apache.velocity.exception.ParseErrorException: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:193) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:87) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93) at com.xpn.xwiki.render.XWikiRenderingEngine.renderDocument(XWikiRenderingEngine.java:85) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:84) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:63) at com.xpn.xwiki.test.VelocityRenderTest.testVelocityError(VelocityRenderTest.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:154) at junit.framework.TestCase.runBare(TestCase.java:127) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560) </pre></div> -------
junit.framework.AssertionFailedError: class com.xpn.xwiki.render.XWikiRenderingEngine Failed Rendering of ------- #skype(hello) ------- to ------- hello ------- Rendered output: ------- <a href="" onclick="document.getElementById('xwikierror1').style.display='block'; return false;">Error number 4001 in 4: Error while parsing velocity page Main.WebHome Wrapped Exception: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome</a><div id="xwikierror1" style="display: none;"><pre> Error number 4001 in 4: Error while parsing velocity page Main.WebHome Wrapped Exception: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.WebHome Wrapped Exception: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:87) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93) at com.xpn.xwiki.render.XWikiRenderingEngine.renderDocument(XWikiRenderingEngine.java:85) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:84) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:63) at com.xpn.xwiki.test.VelocityRenderTest.testVelocityError(VelocityRenderTest.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Wrapped Exception:<p class="paragraph"/>org.apache.velocity.exception.ParseErrorException: Invalid arg #0 in VM #skype at line 1, column 1 in template Main.WebHome at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:193) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125) at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:87) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116) at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93) at com.xpn.xwiki.render.XWikiRenderingEngine.renderDocument(XWikiRenderingEngine.java:85) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:84) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:63) at com.xpn.xwiki.test.VelocityRenderTest.testVelocityError(VelocityRenderTest.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) </pre></div>
-------
at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:85) at com.xpn.xwiki.test.AbstractRenderTest.renderTest(AbstractRenderTest.java:63) at com.xpn.xwiki.test.VelocityRenderTest.testVelocityError(VelocityRenderTest.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| 0.875 |