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

NullpointerException while editing builder capability

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Medium
    • None
    • None
    • Tasks
    • None

    Description

      We don't validate user input, in the label field for a new builder in the viewBuilders!default.action - so a user is able to specify special characters for builder label. For e.g @$%~maven

      This persists fine - but when user goes to edit the builder the following exception is thrown -
      {code]
      java.lang.NullPointerException
      at com.atlassian.bamboo.configuration.plugins.ConfigureBuilder.doEdit(ConfigureBuilder.java:88)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      .................................

      
      

      Also, the user is unable to delete the builder from Bamboo - the only way to delete the builder, is to hack the adminstration.xml file.

      Attachments

        Activity

          People

            asridhar AjayA
            asridhar AjayA
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: