Lost stack trace visibility when validation tasks fail due to an exception in Bamboo 6.2

XMLWordPrintable

    • Severity 2 - Major
    • 0

      Summary

      Since Bamboo 6.2, when validation tasks fail due to an exception the stack trace is no longer printed.

      Steps to Reproduce

      • Remove the dialect property from bamboo.cfg.xml and restart Bamboo.

      Expected Results

      Full stack trace is printed in Bamboo logs

      Actual Results

      Higher level exception message is logged, but no stack trace or underlying cause is logged:

      2017-11-01 17:16:47,829 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: D:\atlassian\bamboo-6.2.2\Bamboo\atlassian-bamboo\
      2017-11-01 17:16:48,297 INFO [localhost-startStop-1] [DefaultBootstrapManager] Running validation tasks
      2017-11-01 17:16:48,547 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Validation tests failed: [Cannot create list of validation tests Cannot instantiate upgrade task [com.atlassian.bamboo.upgrade.tasks.validation.BranchKeyStartsWithMastersChainKey]]
      2017-11-01 17:16:48,610 FATAL [localhost-startStop-1] [DefaultBootstrapManager] Validation tests failed: Your Bamboo instance could not start because health check failed. Contact Atlassian Support at https://support.atlassian.com
      2017-11-01 17:16:48,610 INFO [localhost-startStop-1] [lifecycle] Bamboo home directory: D:\atlassian\bamboo_HOME
      

            Assignee:
            Marcin Walerianczyk
            Reporter:
            Jeremy Owen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: