This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 219694 - ArrayIndexOutOfBoundsException: -1
Summary: ArrayIndexOutOfBoundsException: -1
Status: RESOLVED DUPLICATE of bug 216024
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Git (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-08 10:26 UTC by everflux
Modified: 2012-10-08 10:34 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193223


Attachments
stacktrace (6.48 KB, text/plain)
2012-10-08 10:26 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description everflux 2012-10-08 10:26:51 UTC
This bug was originally marked as duplicate of bug 216024, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 Beta (Build 201210011125)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

User Comments:
everflux: Javascript file from git, selected "show annotations"




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
   at org.netbeans.libs.git.jgit.commands.BlameCommand$WAComparator.trimTrailingEoL(BlameCommand.java:143)
   at org.netbeans.libs.git.jgit.commands.BlameCommand$WAComparator.hashRegion(BlameCommand.java:125)
   at org.eclipse.jgit.diff.RawTextComparator.hash(RawTextComparator.java:262)
   at org.eclipse.jgit.diff.RawTextComparator.hash(RawTextComparator.java:54)
   at org.eclipse.jgit.diff.SubsequenceComparator.hash(SubsequenceComparator.java:77)
   at org.eclipse.jgit.diff.SubsequenceComparator.hash(SubsequenceComparator.java:56)
Comment 1 everflux 2012-10-08 10:26:55 UTC
Created attachment 125569 [details]
stacktrace
Comment 2 Ondrej Vrabec 2012-10-08 10:34:51 UTC

*** This bug has been marked as a duplicate of bug 216024 ***