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
  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)
  3. 0
    The application is unable to connect to the database. It could be resolved by configuring access privileges on the database side.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    Execute mvn dependency:tree from your project's root directory.
  6. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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