-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
Component/s: Deployments
-
0
-
1
Issue Summary
When the user clicks on the button Start Deployment at Manual Deployment page, Bamboo throws an IllegalArgumentException if the Build Results or Releases are still loading.
Steps to Reproduce
- Go to a deployment project environment.
- Click on Deploy button.
- Click on the Start Deployment button.
The string '_LOADING_' is a placeholder used when options are loading in autocomplete menus, such as in the "Build result" or "Release" drop-down in Deployment Preview page.
Expected Results
Bamboo should do the Manual Deployment without any errors.
Actual Results
Bamboo throws the error below in the atlassian-bamboo.log and an Internal Server error in the UI:
[ExceptionMappingInterceptor] Could not parse key '__LOADING__' java.lang.IllegalArgumentException: Could not parse key '__LOADING__' at com.atlassian.bamboo.plan.PlanKeys.getPlanKey(PlanKeys.java:245) at com.atlassian.bamboo.plan.PlanKeys.getPlanResultKey(PlanKeys.java:275) at com.atlassian.bamboo.deployments.execution.actions.ExecuteManualDeployment.prepare(ExecuteManualDeployment.java:139) at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) (...)
Workaround
You have these options in order to avoid this error:
- Wait a few minutes, this will allow time for data to reach all the right locations, and for the caches to rotate.
- Clear Browser cache (or try in Incognito/Private browsing window) – something may have been cached from an earlier call.