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)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.