|Re: [jgit-dev] Diff -> StackOverflowException|
On Fri, Jul 13, 2012 at 1:31 AM, Markus Duft <markus.duft@xxxxxxxxxx> wrote: > i just tried to run kevin's git-report project on our repository, which ran a few seconds, and then died with this (shouldn't happen, right?): > > Exception in thread "main" java.lang.StackOverflowError > at org.eclipse.jgit.diff.HistogramDiffIndex.scanA(HistogramDiffIndex.java:195) > at org.eclipse.jgit.diff.HistogramDiffIndex.findLongestCommonSequence(HistogramDiffIndex.java:171) > at org.eclipse.jgit.diff.HistogramDiff$State.diffReplace(HistogramDiff.java:156) > at org.eclipse.jgit.diff.HistogramDiff$State.diff(HistogramDiff.java:195) No. Looks like its stuck splitting the same region. Or it just needs to split more times than the stack can support. Is this a huge file with a difference on every other line or something crazy?
Back to the top