-
Bug
-
Resolution: Fixed
-
High
-
6.9.0, 6.9.1
-
Severity 1 - Critical
-
Issue Summary
After upgrading Bamboo to version 6.9.1, accessing the All Deployment Projects page will have a popup window with NullPointerException stack trace
Steps to Reproduce
- Install Bamboo version 6.4.1
- Create Application Link with Bitbucket Server
- Use Bamboo Specs RSS to create deployment project environment in Bamboo
- Upgrade Bamboo to version 6.9.1
No error during upgrade - Access the All Deployment Projects page
Expected Results
There won't be any error
Actual Results
No deployment and environment listed in the page.
There is a popup window with NullPointerException stack trace and the below exception is thrown in the atlassian-bamboo.log file:
2019-06-02 16:39:06,325 WARN [http-nio-80-exec-20] [BambooRuntimeExceptionMapper] Unexpected error from REST call java.lang.NullPointerException at com.atlassian.bamboo.utils.DurationUtils.getRelativeDate(DurationUtils.java:115) at com.atlassian.bamboo.utils.DurationUtils.getRelativeDate(DurationUtils.java:103) at com.atlassian.bamboo.rest.model.repository.RestVcsLocationBambooSpecsState.<init>(RestVcsLocationBambooSpecsState.java:42) at com.atlassian.bamboo.rest.model.repository.RestVcsBambooSpecsSource.<init>(RestVcsBambooSpecsSource.java:25) at com.atlassian.bamboo.rest.model.deployments.projects.RestDeploymentProject.<init>(RestDeploymentProject.java:70) at com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.lambda$getDeploymentProjects$0(DeploymentDashboardResource.java:116) at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684) at com.atlassian.bamboo.plugins.rest.deployments.projects.DeploymentDashboardResource.getDeploymentProjects(DeploymentDashboardResource.java:111) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Notes
- Bamboo Specs data is stored without SPECS_EXECUTION_DATE previously. After upgrade, the new column is created with NULL data
- Due to this NULL data, Specs Status in the repository does not show this previous Specs build too
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is cloned as
-
BDEV-15403 Loading...