Issue Details (XML | Word | Printable)

Key: BAM-1254
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Ajay Sridhar [Atlassian]
Reporter: Max Bowsher
Votes: 2
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Bamboo

Upgrade bundled svnkit version to get bugfixes

Created: 17/May/07 11:23 AM   Updated: 30/May/07 09:50 PM
Component/s: Repository (Subversion)
Affects Version/s: 1.0.5
Fix Version/s: 1.1.2

Time Tracking:
Not Specified

File Attachments: 1. Java Archive File svnkit-1.1.2.jar (1.19 MB)


Participants: Ajay Sridhar [Atlassian], Caspar Clemens Mierau, Daniel Takai and Max Bowsher
Since last comment: 1 year, 19 weeks, 3 days ago
Number of comments: 7
Internal Work Bucket: Confirmed
Labels:


 Description  « Hide
Recently, our Subversion builds stopped working, with lots of the following exceptions:
com.atlassian.bamboo.repository.RepositoryException: <project> - <plan>
        at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:448)
        at com.atlassian.bamboo.build.strategy.PollingBuildStrategy.requiresBuild(PollingBuildStrategy.java:128)
        at com.atlassian.bamboo.build.DefaultBuildChangeDetector.checkIfBuildNeedsBuilding(DefaultBuildChangeDetector.java:166)
        at com.atlassian.bamboo.build.DefaultBuildChangeDetector.doTask(DefaultBuildChangeDetector.java:114)
        at com.atlassian.bamboo.build.DefaultBuildChangeDetector.run(DefaultBuildChangeDetector.java:77)        at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.tmatesoft.svn.core.SVNException: svn: WC report failed: NULL
        at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:62)        at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.report(SVNReporter.java:117)
        at org.tmatesoft.svn.core.internal.io.fs.FSRepository.update(FSRepository.java:856)
        at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:162)
        at com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.java:822)
        at com.atlassian.bamboo.repository.svn.SvnRepository.getChangesSinceLastBuild(SvnRepository.java:398)
        ... 6 more
Caused by: java.lang.IndexOutOfBoundsException
        at java.nio.Buffer.checkBounds(Buffer.java:454)
        at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:125)
        at org.tmatesoft.svn.core.internal.delta.SVNDeltaCombiner.decompress(SVNDeltaCombiner.java:132)
        at org.tmatesoft.svn.core.internal.delta.SVNDeltaCombiner.readWindow(SVNDeltaCombiner.java:111)
        at org.tmatesoft.svn.core.internal.io.fs.FSInputStream.getContents(FSInputStream.java:165)
        at org.tmatesoft.svn.core.internal.io.fs.FSInputStream.readContents(FSInputStream.java:113)
        at org.tmatesoft.svn.core.internal.io.fs.FSInputStream.read(FSInputStream.java:97)
        at org.tmatesoft.svn.core.io.diff.SVNDeltaGenerator.sendDelta(SVNDeltaGenerator.java:152)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.diffFiles(FSUpdateContext.java:411)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.updateEntry(FSUpdateContext.java:527)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.diffDirs(FSUpdateContext.java:330)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.updateEntry(FSUpdateContext.java:518)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.diffDirs(FSUpdateContext.java:330)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.updateEntry(FSUpdateContext.java:518)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.diffDirs(FSUpdateContext.java:330)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.updateEntry(FSUpdateContext.java:518)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.diffDirs(FSUpdateContext.java:330)
        at org.tmatesoft.svn.core.internal.io.fs.FSUpdateContext.drive(FSUpdateContext.java:290)
        at org.tmatesoft.svn.core.internal.io.fs.FSRepository.finishReport(FSRepository.java:1103)
        at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.report(SVNReporter.java:103)
        ... 10 more

Likely interpretation of the above is that our Subversion repository entered a state which triggered a bug in the svnkit reimplementation of the Subversion binary delta decoder.

Upgrading Bamboo's svnkit from the bundled 1.1.0 to latest upstream 1.1.2 fixed the problem.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ajay Sridhar [Atlassian] added a comment - 17/May/07 06:49 PM - edited
Hi Max,

Thank you for letting us know.

I have created a task BAM-1256 to upgrade Bamboo's SVNKit from 1.1.0 to the latest version, for the next point release.

I will resolve this issue once the task is completed.

Cheers,
Ajay


Daniel Takai added a comment - 23/May/07 05:25 AM
I second the report and ask for re-priorization to BLOCKER. This is a definite showstopper for paying customers on a tight timeline like us!

Caspar Clemens Mierau added a comment - 23/May/07 07:38 AM
I hereby support the suggestion to change this bug to blocker as it totally prevents us from using Bamboo and we consider setting up a different application for the time until a fix is released.

Max Bowsher added a comment - 23/May/07 08:41 AM
For those people impacted with this:

All you have to do is remove svnkit-1.1.0.jar from your Bamboo/webapp/WEB-INF/lib/ directory and add svnkit-1.1.2.jar instead.

That's what I've done, and it's working fine on our Bamboo installation - so whilst it is an important issue, it does have a trivial workaround.


Ajay Sridhar [Atlassian] added a comment - 23/May/07 10:27 PM
HI Guys,

I have made this a priority fix for the next point release.

As a temporary fix, please upgrade your SVNKit library to 1.1.2. To do this -

  • Shut down your Bamboo instance.
  • Navigate to <Bamboo_install_Directory>/webapps/WEB-INF/lib directory.
  • Delete the "svnkit-1.1.0.jar" library (file).
  • Copy the "svnkit-1.1.2.jar" file attached to this issue into the lib folder.
  • Start Bamboo.

Please let us know if you have any further issues after the upgrade.

Cheers,
Ajay


Caspar Clemens Mierau added a comment - 24/May/07 09:49 AM
Hi there,

after upgrading to svnkit 1.1.2 the error seems to be gone. Thank you both for the information.

Best,

Caspar Clemens Mierau


Ajay Sridhar [Atlassian] added a comment - 29/May/07 11:58 PM
Hi Guys,

This issue is now resolved.

I have updated the SVNKit library to 1.1.2 the fix will be included in upcoming Bamboo 1.1.2 release.

Cheers,
Ajay