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

Switching from Mercurial to Git Repository throws exception

    XMLWordPrintable

Details

    Description

      org.apache.commons.configuration.ConversionException: 'repository.git.commandTimeout' doesn't map to an Integer object
      	at org.apache.commons.configuration.AbstractConfiguration.getInteger(AbstractConfiguration.java:880)
      	at org.apache.commons.configuration.AbstractConfiguration.getInt(AbstractConfiguration.java:851)
      	at com.atlassian.bamboo.plugins.git.GitRepository.prepareConfigObject(GitRepository.java:535)
      	at com.atlassian.bamboo.build.creation.RepositoryConfigHelper.prepareConfig(RepositoryConfigHelper.java:139)
      	at com.atlassian.bamboo.ww2.actions.build.admin.config.repository.EditRepository.validate(EditRepository.java:97)
      	at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:154)
      	at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:52)
      	at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:15)
      	at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:32)
      	at com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:28)
      

      Looks like the default values are not coming through properly. And BuildConfiguration.getInt does not handle empty values.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: