Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3850

Freemarker type mismatch on build queue

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.2.3
    • 2.2.1
    • User Interface
    • None

    Description

      The symptom:

      2009-04-22 12:56:29,747 ERROR [TP-Processor2] [runtime]
      Expected hash. currentlyBuilding evaluated instead to freemarker.template.SimpleScalar on line 121, column 35 in fragments/showBuildQueue.ftl.
      The problematic instruction:
      ----------
      ==> if !currentlyBuilding.executableElasticImages.isEmpty() [on line 121, column 29 in fragments/showBuildQueue.ftl]
      ----------

      The cause:

      On line 114 f the showBuildQueue.ftl file we set currentlyBuilding to ' ' if it isn't found, but forget on line 121 to check if it has any content before calling the methods on it.

      As an aside, I am not sure if we really should be setting what is supposed to be another object (something that isn't a string) to an empty string rather than just leaving it null...

      Attachments

        Activity

          People

            bmccoy bmccoy
            bmccoy bmccoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: