-
Bug
-
Resolution: Fixed
-
Major
-
None
When getProjectActions is called before current build has a result, it throws a NullPointerException. The following code fails when the current build has no result yet, getResult() returns null:
Collection<AbstractBuild<?, ?>> predicated = CollectionUtils.select(builds, new Predicate() {
public boolean evaluate(Object o)
});
Steps to reproduce:
1. Configure EnvInject plugin to prepare the environment (use the EnvInjectListener)
2. Add HockeyApp plugin
EnvInject listener will call getProjectActions before the current build has a result.