Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

bamboo cloud foundry plugin: Missing password field in deployment task

Vijay Khacharia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 5, 2018

Hi,

We are using the cloud foundry plugin for bamboo. It was working fine for sometime. 

But since last bamboo upgrade to version 6.3.1, I noticed the password field on the push task is missing. This makes deployment fail. I see below error in the logs. 

2018-03-05 16:34:17,253 ERROR [http-nio-8085-exec-18] [runtime] Error executing FreeMarker template
FreeMarker template error:
The following has evaluated to null or missing:
==> [in template "templates/tasks/configuration/selectTargetFragment.ftl" at line 44, column 8]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use [#if myOptionalVar??]when-present[#else]when-missing[/#if]. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
- Failed at: #if context.get("cf_environment_passw... [in template "templates/tasks/configuration/selectTargetFragment.ftl" at line 44, column 3]
~ Reached through: #nested [in template "freemarker-lib/ui.ftl" in macro "bambooSection" at line 124, column 9]
~ Reached through: @ui.bambooSection dependsOn="cf_envir... [in template "templates/tasks/configuration/selectTargetFragment.ftl" at line 40, column 2]
~ Reached through: #nested [in template "freemarker-lib/ui.ftl" in macro "bambooSection" at line 124, column 9]
~ Reached through: @ui.bambooSection titleKey="cloudfoun... [in template "templates/tasks/configuration/selectTargetFragment.ftl" at line 2, column 1]
- Reached through: #include "selectTargetFragment.ftl" [in template "templates/tasks/configuration/pushTaskEdit.ftl" at line 2, column 1]
----

Java stack trace (for programmers):
----
freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...]
at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134)
at freemarker.core.UnexpectedTypeException.newDesciptionBuilder(UnexpectedTypeException.java:80)

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events