[ http://jira.codehaus.org/browse/MSUREFIRE-7?page=all ]
Maria Odea Ching moved MNG-1481 to MSUREFIRE-7:
-----------------------------------------------
Version: (was: 2.0)
Fix Version: (was: 2.0.1)
Component: (was: maven-surefire-plugin)
Workflow: jira (was: Maven)
Key: MSUREFIRE-7 (was: MNG-1481)
Project: Maven 2.x Surefire Plugin (was: Maven 2)
> XMLReporter.testError gives String index out of range exception
> ---------------------------------------------------------------
>
> Key: MSUREFIRE-7
> URL: http://jira.codehaus.org/browse/MSUREFIRE-7
> Project: Maven 2.x Surefire Plugin
> Type: Bug
> Reporter: mike perham
> Assignee: John Casey
>
>
> Reporter method testFailed completed abruptly with an exception.
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1444)
> at
> org.codehaus.surefire.report.XMLReporter.testError(XMLReporter.java:131)
> at
> org.codehaus.surefire.report.ReporterManager.testFailed(ReporterManager.java:362)
> at
> org.codehaus.surefire.report.ReporterManager.testError(ReporterManager.java:334)
> at
> org.codehaus.surefire.battery.TestListenerInvocationHandler.handleAddError(TestListenerIn
> vocationHandler.java:151)
> at
> org.codehaus.surefire.battery.TestListenerInvocationHandler.invoke(TestListenerInvocation
> Handler.java:124)
> at $Proxy22.addError(Unknown Source)
> at junit.framework.TestResult.addError(TestResult.java:36)
> at junit.framework.TestResult.runProtected(TestResult.java:133)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at junit.framework.TestSuite.runTest(TestSuite.java:208)
> at junit.framework.TestSuite.run(TestSuite.java:203)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at
> org.codehaus.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:246)
> at
> org.codehaus.surefire.battery.JUnitBattery.execute(JUnitBattery.java:220)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]