Uploaded image for project: 'SR for Bamboo - Development'
  1. SR for Bamboo - Development
  2. SRBAM-110

Can not add new tasks/conditions through the UI for later Bamboo versions

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.19
    • Labels:
      None
    • Sprint:
      Sprint 37 - Ends Jan 29, Sprint 38 - Next
    • Critical Points:
      0

      Description

      You get the following exception in the logs when you attempt to add the task or condition:

      2018-05-25 14:38:47,413 ERROR [http-bio-8080-exec-9] [runtime] Error executing FreeMarker template
      FreeMarker template error:
      The following has evaluated to null or missing:
      ==> context [in template "templates/editSkipTaskTask.ftl" at line 2, column 34]
      
      ----
      Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
      ----
      
      ----
      FTL stack trace ("~" means nesting-related):
      - Failed at: ${context.get("scriptPackage")} [in template "templates/editSkipTaskTask.ftl" at line 2, column 32]
      ----
      
      Java stack trace (for programmers):
      ----
      freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
      at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
      at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:80)
      at freemarker.core.UnexpectedTypeException.<init>(UnexpectedTypeException.java:43)
      

        Attachments

          Activity

            People

            Assignee:
            amarkham Adam Markham
            Reporter:
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: