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

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

      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
      

          Form Name

            [BAM-18823] Lost stack trace visibility when validation tasks fail due to an exception in Bamboo 6.2

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 2475159 ] New: JAC Bug Workflow v3 [ 3386106 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Major [ 14431 ] New: Severity 2 - Major [ 15831 ]
            Marcin Walerianczyk made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Marcin Walerianczyk made changes -
            Fix Version/s New: 6.4.1 [ 78590 ]
            Marcin Walerianczyk made changes -
            Fix Version/s Original: 6.4.1 [ 78590 ]
            Marcin Walerianczyk made changes -
            Fix Version/s New: 6.4.1 [ 78590 ]
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Marcin Walerianczyk made changes -
            Assignee New: Marcin Walerianczyk [ mwalerianczyk ]
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            Krystian Brazulewicz made changes -
            Rank New: Ranked higher
            SET Analytics Bot made changes -
            UIS New: 1

              mwalerianczyk Marcin Walerianczyk
              jowen@atlassian.com Jeremy Owen
              Affected customers:
              0 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: