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
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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