Uploaded image for project: '{RETIRED} Curriki'
  1. {RETIRED} Curriki
  2. CURRIKI-4522

XWiki 1.9: Velocity Error when Creating a Resource from a Template

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Bugs for review
    • None
    • Template
    • None

    Description

      1. Select any template from the Add Path, such as Standard Lesson Plan
      2. Fill out the form and submit

      Bug
      Velocity Error

      Error number 4001 in 4: Error while parsing velocity page CreateResources.AssetDone Wrapped Exception: Failed to evaluate content with id Asset DoneError number 4001 in 4: Error while parsing velocity page CreateResources.AssetDone
      Wrapped Exception: Failed to evaluate content with id Asset Done
      com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page CreateResources.AssetDone
      Wrapped Exception: Failed to evaluate content with id Asset Done
      at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
      at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
      at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
      at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
      at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
      at sun.reflect.GeneratedMethodAccessor1907.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.runtime.parser.node.ASTReference.render(ASTReference.java:332)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
      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.java:108)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1666)
      at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1587)
      at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)

      Attachments

        Activity

          People

            ashanair Asha.A.Nair
            toddsherman Todd Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: