Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: ff7f272a4b4e96d2efe8966f94c852fff2eea46d
      
https://github.com/jenkinsci/jenkins/commit/ff7f272a4b4e96d2efe8966f94c852fff2eea46d
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M core/src/main/java/hudson/tasks/junit/PackageResult.java
    M core/src/main/java/hudson/tasks/test/TestObject.java

  Log Message:
  -----------
  Fixing StringIndexOutOfBoundsException

I'm not really sure what this code is doing or what ID is supposed to look 
like. So this is just a minimum-intrusion change to avoid an exception.

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  at java.lang.String.substring(String.java:1875)
  at 
hudson.tasks.junit.PackageResult.findCorrespondingResult(PackageResult.java:86)
  at hudson.tasks.junit.TestResult.findCorrespondingResult(TestResult.java:295)
  at 
hudson.tasks.test.AbstractTestResultAction.findCorrespondingResult(AbstractTestResultAction.java:183)
  at hudson.tasks.test.TestResult.getResultInBuild(TestResult.java:162)
  at hudson.tasks.junit.History.getList(History.java:82)
  at hudson.tasks.junit.History$1.createDataSet(History.java:105)
  at hudson.tasks.junit.History$GraphImpl.createGraph(History.java:169)
  at hudson.util.Graph.render(Graph.java:87)
  at hudson.util.Graph.doPng(Graph.java:98)


  Commit: 38eec4160149c4328d7f28d0516f5bdcbf69d3e0
      
https://github.com/jenkinsci/jenkins/commit/38eec4160149c4328d7f28d0516f5bdcbf69d3e0
  Author: Kohsuke Kawaguchi <[email protected]>
  Date:   2013-04-16 (Tue, 16 Apr 2013)

  Changed paths:
    M core/src/main/java/hudson/tasks/junit/PackageResult.java

  Log Message:
  -----------
  Simplification without changing the semantics


Compare: 
https://github.com/jenkinsci/jenkins/compare/5ee9ab5451dc...38eec4160149

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to