Uploaded image for project: 'VIVO'
  1. VIVO
  2. VIVO-547

Freemarker error while removing data from a specific graph

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v1.6
    • Component/s: Custom forms
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1

      Description

      A message to the developer's list from Christian.Hauschke@hs-hannover.de, Tuesday, November 19, 2013 3:58 AM:

      Dear all,

      I'm pretty new to VIVO, so please excuse my (maybe) beginner's question.

      I was trying to delete some ingested data in rel-1.6-rc2 following the instructions on <https://wiki.duraspace.org/display/VIVO/How-To___Remove+data+from+a+specific+graph>. If I try to substract the model or to remove the temporary graph, I'm waiting ad infinitum for a server response. We restarted Tomcat. Then we received this while trying to display a resource:

      "There was an error in the system.

      Error message: TemplateException creating processing environment

      Stack trace (full trace available in the vivo log): edu.cornell.mannlib.vitro.webapp.controller.freemarker.TemplateProcessingHelper$TemplateProcessingException: TemplateException creating processing environment at edu.cornell.mannlib.vitro.webapp.controller.freemarker.TemplateProcessingHelper.processTemplate(TemplateProcessingHelper.java:60) at edu.cornell.mannlib.vitro.webapp.controller.freemarker.TemplateProcessingHelper.processTemplate(TemplateProcessingHelper.java:37) at edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet.processTemplate(FreemarkerHttpServlet.java:498) at

      [...]

      Caused by: Error on line 137, column 9 in lib-properties.ftl property.addUrl is undefined. It cannot be assigned to url The problematic instruction: ---------- ==> local assignment: url=property.addUrl [on line 137, column 9 in lib-properties.ftl] in user-directive addLink [on line 111, column 21 in lib-properties.ftl] in user-directive addLinkWithLabel [on line 250, column 28 in lib-properties.ftl] in user-directive p.image [on line 29, column 13 in individual--foaf-person.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Error on line 137, column 9 in lib-properties.ftl property.addUrl is undefined. It cannot be assigned to url at freemarker.core.Assignment.accept(Assignment.java:111) at freemarker.core.Environment.visit(Environment.java:221) at freemarker.core.MixedContent.accept(MixedContent.java:92) at"

      ... and so on.

      Question 1: Did the process change to remove data?
      Queston 2: What can I do to get rid of the error message?

      Thanks a lot,
      Christian Hauschke

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hjk54 Huda Khan
                Reporter:
                j2blake Jim Blake
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: