You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/01/21 23:29:19 UTC

[jira] Moved: (SUREFIRE-196) surefire plugin crashes

     [ http://jira.codehaus.org/browse/SUREFIRE-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MSUREFIRE-10 to SUREFIRE-196:
------------------------------------------------

    Complexity:   (was: Intermediate)
           Key: SUREFIRE-196  (was: MSUREFIRE-10)
       Project: Maven Surefire  (was: Maven 2.x Surefire Plugin)

> surefire plugin crashes
> -----------------------
>
>                 Key: SUREFIRE-196
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-196
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: win XP-SP2, jvm 1.4.2_08
>            Reporter: Erick Dovale
>         Assigned To: Johnny R. Ruiz III
>         Attachments: MNG-1387-surefire.patch, test-surefire.zip
>
>
> The surefire plugin crashes with the following exception:
> Reporter method testStarting 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.testStarting(XMLReporter.jav
> a:101)
>         at org.codehaus.surefire.report.ReporterManager.testStarting(ReporterMan
> ager.java:304)
>         at org.codehaus.surefire.battery.TestListenerInvocationHandler.handleSta
> rtTest(TestListenerInvocationHandler.java:143)
>         at org.codehaus.surefire.battery.TestListenerInvocationHandler.invoke(Te
> stListenerInvocationHandler.java:120)
>         at $Proxy0.startTest(Unknown Source)
>         at junit.framework.TestResult.startTest(TestResult.java:151)
>         at junit.framework.TestResult.run(TestResult.java:103)
>         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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.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)
>         at org.codehaus.surefire.Surefire.executeBattery(Surefire.java:204)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:153)
>         at org.codehaus.surefire.Surefire.run(Surefire.java:77)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.codehaus.surefire.SurefireBooter.run(SurefireBooter.java:104)
>         at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:309)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:412)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:519)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:469)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:448)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:301)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:268)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:137)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

-- 
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