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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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