Issue Summary
The FreeMarker allowlist freemarker-allowlist.properties does not include com.atlassian.extras.core.DefaultProductLicense.getOrganisation().
Steps to Reproduce
N/A
Expected Results
Method should be allowed
Actual Results
The below exception is thrown in the atlassian-bamboo.log file:
Caused by: java.lang.IllegalAccessException: Forbidden method invocation: com.atlassian.extras.core.DefaultProductLicense.getOrganisation() at com.atlassian.bamboo.freemarker.allowlist.BambooFreemarkerAllowlistBeansWrapper.invokeMethod(BambooFreemarkerAllowlistBeansWrapper.java:68) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:298) at freemarker.ext.beans.BeanModel.get(BeanModel.java:191)
Workaround
1. Take a backup of <BAMBOO_INSATLL_DIR>/atlassian-bamboo/WEB-INF/classes/freemarker-allowlist.properties
2. Add the below method to the end of the file like below:
,\ com.atlassian.extras.core.DefaultProductLicense.getOrganisation()
3. Restart the Bamboo
- mentioned in
-
Page Loading...