Issue 40 in daisydiff: Array Index Out Of Bound Exception

5 views
Skip to first unread message

codesite...@google.com

unread,
Feb 9, 2012, 2:42:20 AM2/9/12
to dais...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 40 by niranjan...@gmail.com: Array Index Out Of Bound Exception
http://code.google.com/p/daisydiff/issues/detail?id=40

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.java:254)
<application_specific_exception_trace_below>
...
...


codesite...@google.com

unread,
Feb 11, 2012, 8:23:53 AM2/11/12
to dais...@googlegroups.com

Comment #1 on issue 40 by kkape...@gmail.com: Array Index Out Of Bound
Exception
http://code.google.com/p/daisydiff/issues/detail?id=40

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.

codesite...@google.com

unread,
Feb 24, 2012, 6:57:44 AM2/24/12
to dais...@googlegroups.com
Updates:
Status: WontFix

Comment #2 on issue 40 by kkape...@gmail.com: Array Index Out Of Bound
Exception
http://code.google.com/p/daisydiff/issues/detail?id=40

Please re-open if the bug is also present at 1.2

Reply all
Reply to author
Forward
0 new messages