Details
-
Bug
-
Resolution: Fixed
-
Low
-
6.6.0, 6.10.4
-
None
-
1
-
Severity 1 - Critical
-
Description
Issue Summary
When upgrading Bamboo to a version with Embedded Crowd (6.6+), if the LDAP configuration in <bamboo-home>/xml-data/configuration/atlassian-user.xml does not contain a <port> value, the post-bootstrap upgrade task 60601 will fail with an error:
2020-02-06 14:22:40,534 ERROR [17-UpgradeTaskBackgroundThread:pool-33-thread-1] [AbstractUpgradeManager] com.atlassian.crowd.exception.runtime.OperationFailedException: For input string: "null" com.atlassian.crowd.exception.runtime.OperationFailedException: For input string: "null"
Steps to Reproduce
- Install Bamboo 6.2-6.5
- Configure an atlassian-user.xml file with an LDAP directory
- Remove (or comment out) the <port> value from the atlassian-user.xml
- Upgrade to Bamboo 6.6-6.10.4
Expected Results
Upgrade will be successful, and new Bamboo version starts
Actual Results
The upgrade tasks fail, and the following exception is thrown in the atlassian-bamboo.log file:
2020-02-06 14:22:40,534 ERROR [17-UpgradeTaskBackgroundThread:pool-33-thread-1] [AbstractUpgradeManager] com.atlassian.crowd.exception.runtime.OperationFailedException: For input string: "null" com.atlassian.crowd.exception.runtime.OperationFailedException: For input string: "null" at com.atlassian.crowd.embedded.core.CrowdDirectoryServiceImpl.testConnection(CrowdDirectoryServiceImpl.java:102) at com.atlassian.bamboo.crowd.DelegatingCrowdDirectoryService.testConnection(DelegatingCrowdDirectoryService.java:33) at com.atlassian.bamboo.upgrade.tasks.v6_6.ec.LdapRepositoryConfigurationMigrator.migrateAndTestConnection(LdapRepositoryConfigurationMigrator.java:283)
Workaround
Update atlassian-user.xml to include the <port>...</port>.
Attachments
Issue Links
- mentioned in
-
Page Loading...