Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-2435

When deleting a requirement within th error screen, creates null pointer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.0
    • 2.0 beta 9
    • None

    Description

      If you add requirement A, try to add requirement A (this returns an error), then try to delete requirement A.

      It seems to go through the validation method when it shouldn't.

      java.lang.NullPointerException
      at com.atlassian.bamboo.ww2.actions.build.admin.config.ConfigureBuildRequirement.validateRequirement(ConfigureBuildRequirement.java:143)
      at com.atlassian.bamboo.ww2.actions.build.admin.config.ConfigureBuildRequirement.doAddRequirement(ConfigureBuildRequirement.java:74)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
      at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
      at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175)
      at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.doIntercept(BambooWorkflowInterceptor.java:33)

      Attachments

        Activity

          People

            bmccoy bmccoy
            bmccoy bmccoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: