| Summary: | GitFileDecorator throws StringIndexOutOfBoundsException | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Andrew Audibert <aaudibert> |
| Component: | Git | Assignee: | John Arthorne <john.arthorne> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 9.0 | ||
| Target Milestone: | 10.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Andrew Audibert
I am seeing this in server logs as well. Here is a sample stack: java.lang.StringIndexOutOfBoundsException: String index out of range: 78 at java.lang.String.substring(String.java:1219) ~[na:1.7.0] at org.eclipse.orion.server.git.GitFileDecorator.addGitLinks(GitFileDecorator.java:223) ~[na:na] at org.eclipse.orion.server.git.GitFileDecorator.addAtributesFor(GitFileDecorator.java:118) ~[na:na] at org.eclipse.orion.server.servlets.OrionServlet.decorateResponse(OrionServlet.java:120) [org.eclipse.orion.server.servlets_1.0.0.v20150807-1716.jar:na] |