Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.7.0
-
None
-
None
Description
steps to reproduce:
1. create a 'inject bamboo variables' task.
2. in the mandatory field 'Path to properties file' enter a non-existing path on the workspace. ('scope of variables' set to 'result' - but not sure if necessary)
3. run the build.
ERROR: observe stacktraces in the build log. (seen on 5.7 and 5.8m6)
build output should not contain stacktraces unless there is bug in the plugin. here it's not entirly obvious that the stacktrace is related to the misconfigured task field.
error 19-Feb-2015 04:24:26 Could not read variable file at '/opt/bamboo-agent/xml-data/build-dir/TG-RE-INSTALL/version' as it does not exist. error 19-Feb-2015 04:24:26 Error occurred while running Task 'read version(3)' of type com.atlassian.bamboo.plugins.bamboo-variable-inject-plugin:inject. error 19-Feb-2015 04:24:26 com.atlassian.util.concurrent.LazyReference$InitializationException: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.atlassian.bamboo.plugins.variable.inject.InjectVariablesTaskConfigurator': Unsatisfied dependency expressed through constructor argument with index 0 of type [com.atlassian.sal.api.message.I18nResolver]: : No unique bean of type [com.atlassian.sal.api.message.I18nResolver] is defined: Unsatisfied dependency of type [interface com.atlassian.sal.api.message.I18nResolver]: expected at least 1 matching bean; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.atlassian.sal.api.message.I18nResolver] is defined: Unsatisfied dependency of type [interface com.atlassian.sal.api.message.I18nResolver]: expected at least 1 matching bean
Attachments
Issue Links
- caused by
-
BDEV-7609 Loading...