Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-11012

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

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: