Closed GoogleCodeExporter closed 8 years ago
Forgot to include the log:
http://paste.openstack.org/show/481001/
Original comment by david.pu...@sonymobile.com
on 7 Dec 2015 at 11:07
I managed to reproduce it:
On a site with the gitiles plugin installed, create two projects: 'a' and
'foo/bar'.
Browse to the 'foo/bar' project:
http://review.example.com/plugins/gitiles/foo/bar
click the 'foo' link. This results in in the 'Server Error' page and in the
log:
String index out of range: -3
Root cause seems to be that HostIndexServlet.toSoyMapData calls:
stripPrefix(prefix, desc.name)
which in turn calls
name.substring(prefix.length() + 1)
In this case prefix is "foo" (length 3) and name is "a" (length 1).
So "a".substring("foo".length() + 1) is what causes the index error.
Original comment by david.pu...@sonymobile.com
on 8 Dec 2015 at 5:55
https://gerrit-review.googlesource.com/#/c/73070/
Original comment by david.pu...@sonymobile.com
on 8 Dec 2015 at 6:15
Original comment by dborowitz@google.com
on 10 Dec 2015 at 12:43
Original issue reported on code.google.com by
david.pu...@sonymobile.com
on 7 Dec 2015 at 11:04