org.apache.commons.configuration.ConversionException: 'repository.git.commandTimeout' doesn't map to an Integer object

Atlassian JIRA | Brydie McCoy [Atlassian] | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    {code} 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) {code} Looks like the default values are not coming through properly. And BuildConfiguration.getInt does not handle empty values.

    Atlassian JIRA | 5 years ago | Brydie McCoy [Atlassian]
    org.apache.commons.configuration.ConversionException: 'repository.git.commandTimeout' doesn't map to an Integer object
  2. 0

    {code} 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) {code} Looks like the default values are not coming through properly. And BuildConfiguration.getInt does not handle empty values.

    Atlassian JIRA | 5 years ago | Brydie McCoy [Atlassian]
    org.apache.commons.configuration.ConversionException: 'repository.git.commandTimeout' doesn't map to an Integer object

    Root Cause Analysis

    1. org.apache.commons.configuration.ConversionException

      'repository.git.commandTimeout' doesn't map to an Integer object

      at org.apache.commons.configuration.AbstractConfiguration.getInteger()
    2. Apache Commons Configuration
      AbstractConfiguration.getInt
      1. org.apache.commons.configuration.AbstractConfiguration.getInteger(AbstractConfiguration.java:880)
      2. org.apache.commons.configuration.AbstractConfiguration.getInt(AbstractConfiguration.java:851)
      2 frames
    3. com.atlassian.bamboo
      EditRepository.validate
      1. com.atlassian.bamboo.plugins.git.GitRepository.prepareConfigObject(GitRepository.java:535)
      2. com.atlassian.bamboo.build.creation.RepositoryConfigHelper.prepareConfig(RepositoryConfigHelper.java:139)
      3. com.atlassian.bamboo.ww2.actions.build.admin.config.repository.EditRepository.validate(EditRepository.java:97)
      3 frames
    4. com.opensymphony.xwork
      DefaultWorkflowInterceptor.doIntercept
      1. com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:154)
      1 frame
    5. com.atlassian.bamboo
      BambooWorkflowInterceptor$1.call
      1. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.validateWorkflow(BambooWorkflowInterceptor.java:52)
      2. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor.access$000(BambooWorkflowInterceptor.java:15)
      3. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:32)
      4. com.atlassian.bamboo.ww2.interceptors.BambooWorkflowInterceptor$1.call(BambooWorkflowInterceptor.java:28)
      4 frames