aritmat / daisydiff

Automatically exported from code.google.com/p/daisydiff
0 stars 0 forks source link

Array Index Out Of Bound Exception #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

We are using version of daisy diff to show comparison as an html report. We 
encounter an array index out of bound exception in a case where the string 
being compared are different.

What is the expected output? What do you see instead?
There should be no exception. Our HTML comparison report should be loaded 
completely. But our comparison report does not load. Instead we see array index 
out of bound exceptions in the logs.

What version of the product are you using? On what operating system?
0.1 version of daisy diff
windows/linux

Please provide any additional information below.
Exception trace below:

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.outerj.daisy.diff.html.dom.Node.getLastCommonParent(Node.java:88)
at 
org.outerj.daisy.diff.html.TextNodeComparator.markAsDeleted(TextNodeComparator.j
ava:254)
<application_specific_exception_trace_below>
...
...

Original issue reported on code.google.com by niranjan...@gmail.com on 9 Feb 2012 at 7:41

GoogleCodeExporter commented 8 years ago
I am sorry, but 0.1 is a really old version of daisydiff marked as Deprecated. 
Can you try with 1.2  and see if the bug persists?

If it is still there, please also attach the html that you are trying to diff.

Original comment by kkape...@gmail.com on 11 Feb 2012 at 1:23

GoogleCodeExporter commented 8 years ago
Please re-open if the bug is also present at 1.2

Original comment by kkape...@gmail.com on 24 Feb 2012 at 11:54