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

Freemarker exception thrown if Plan Description is undefined while generating reports

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.0 i5, 3.0
    • 2.7.2
    • None

    Description

      I see the following exception while generating reports for plans without any description;

      2011-01-11 13:25:53,757 INFO [1254402771@qtp-1939430784-0] [AccessLogFilter] 0:0:0:0:0:0:0:1%0 http://localhost:8085/reports/generateReport.action?reportKey=com.atlassian.bamboo.plugin.system.reports%3AaverageDuration&selectFields=reportKey&buildIds=9601025&selectFields=buildIds&groupByPeriod=AUTO&selectFields=groupByPeriod&dateFilter=None&selectFields=dateFilter&dateFrom=&dateTo=&save=Submit 126417kb
      2011-01-11 13:25:55,299 INFO [1254402771@qtp-1939430784-0] [IndexedBuildResultsSearcherImpl] Search took 0:00:00.985
      2011-01-11 13:25:56,718 ERROR [1254402771@qtp-1939430784-0] [runtime] Expression plan.description is undefined on line 53, column 102 in fragments/buildResults/showBuildResultsTable.ftl.
      
      Expression plan.description is undefined on line 53, column 102 in fragments/buildResults/showBuildResultsTable.ftl.
      The problematic instruction:
      ----------
      ==> ${plan.description} [on line 53, column 100 in fragments/buildResults/showBuildResultsTable.ftl]
       in user-directive showBuildResultsTable [on line 4, column 1 in fragments/buildResults/buildResultsTable.ftl]
      ----------
      
      Java backtrace for programmers:
      ----------
      freemarker.core.InvalidReferenceException: Expression plan.description is undefined on line 53, column 102 in fragments/buildResults/showBuildResultsTable.ftl.
      	at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
      
      

      Attachments

        Activity

          People

            mtruong@atlassian.com mtruong
            asridhar AjayA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: