[ 
https://jira.codehaus.org/browse/SUREFIRE-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355978#comment-355978
 ] 

Tibor Digana commented on SUREFIRE-1115:
----------------------------------------

Hi Andreas,
It looks like our build fails after changing the internal surifire plugin from 
2.12.4 to 2.18. 
The forking mechanism fails.
BR, Tibor

> StringIndexOutOfBoundsException: String index out of range: 26
> --------------------------------------------------------------
>
>                 Key: SUREFIRE-1115
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-1115
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: process forking
>    Affects Versions: 2.18
>         Environment: JDK 7, Maven 3.2.1
>            Reporter: Tibor Digana
>            Priority: Critical
>         Attachments: log.txt
>
>
> Changed the property shadedVersion=2.18 in the POM of Maven-Surefire-Project. 
> Launched the project build with mvn install.
> Caused by: java.lang.RuntimeException: 
> java.lang.StringIndexOutOfBoundsException: String index out of range: 26
>         at 
> org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer.close(ThreadedStreamConsumer.java:124)
>         at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:491)
>         at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:378)
>         at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:165)
>         at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1019)
>         at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:853)
>         at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:751)
>         at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to