Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
2.6
-
None
-
Source download compiled in JetBrains IDEA Community on Windows. JDK 1.6.
Configured to run as described on the Bamboo Developer Hub
Description
When attempting to create my first build plan from a fresh compile of Bamboo 2.6 and 2.6.1, I was met with a stacktrace describing a @NotNull violation when I submitted the form asking for the project and build names/keys – with a blank description. It did not continue the plan creation.
It pointed to line 40 of com.atlassian.bamboo.project.DefaultProjectManager under the "createProject(@NotNull String key, @NotNull String name)" method. This method dispatches to the 3-parameter "createProject(@NotNull String key, @NotNull String name, @NotNull String description)" – however it sends null as the value for description.
I changed the method to send in "" instead of null and that issue went away.