Error creating issue: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][id,12298][stringvalue,An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug

XMLWordPrintable

    • 6.05

      When creating a subtask, an error message is displayed and the issue is not created, as shown in the figure below:

      Stacktrace in the logs:

      Error creating issue: org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue]
      [id,12298][stringvalue,An error occurred whilst rendering this message. Please contact the administrators, and inform them 
      of this bug. Details: ------- org.apache.velocity.exception.VelocityException: Error getting iterator for #foreach at 
      templates/greenhopper/jira/customfield/sprint/sprint-macros.vm[line 3, column 1] at 
      org.apache.velocity.runtime.directive.Foreach.getIterator(Foreach.java:435) at 
      org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:287) at 
      org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at 
      org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at 
      org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at 
      org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at 
      org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at 
      ...
      

      Workaround:

      1. Remove the ‘Sprint’ field from the Create Issue Screen for subtasks.
      2. Add it back again.

            Assignee:
            Unassigned
            Reporter:
            Jasper
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: