Bamboo Fails to Checkout SVN Repository Reporting "Invalid padding"

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

During a Build, when Bamboo tries to checkout code, the process fails and the following message pattern is reported:

Caused by: org.tmatesoft.svn.core.SVNException: svn: Invalid padding
svn: OPTIONS request failed on '/repositories/svn/EWS/Base/trunk'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:645)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:280)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:268)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:533)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1009)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:180)

Cause

The problem is caused because of an incompatibility of SVNKit (the library Bamboo uses to communicate with SVN servers) and Java SDK 1.7.

Resolution

Instead of using Java JDK version 1.7, use version 1.6.

 

Last modified on Jun 27, 2013

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.