java.lang.IllegalStateException: Cannot retrieve template as Velocity was not initialized. at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:972)

velocity-user | Charles Harvey III | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    velocity-tools-1.2 merge template question

    velocity-user | 1 decade ago | Charles Harvey III
    java.lang.IllegalStateException: Cannot retrieve template as Velocity was not initialized. at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:972)
  2. 0

    velocity-tools-1.2 merge template question

    velocity-user | 1 decade ago | Charles Harvey III
    java.lang.IllegalStateException: Cannot retrieve template as Velocity was not initialized. at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:972)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Cannot retrieve template as Velocity was not initialized. at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:972)

      at org.apache.velocity.runtime.RuntimeSingleton.getTemplate()
    2. Apache Velocity
      Velocity.mergeTemplate
      1. org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:296)
      2. org.apache.velocity.app.Velocity.mergeTemplate(Velocity.java:441)
      2 frames