You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (JIRA)" <ji...@apache.org> on 2015/12/06 12:49:10 UTC

[jira] [Closed] (SUREFIRE-854) surefire causes "Forked Java VM exited abnormally"

     [ https://issues.apache.org/jira/browse/SUREFIRE-854?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tibor Digana closed SUREFIRE-854.
---------------------------------
    Resolution: Auto Closed
      Assignee: Tibor Digana

> surefire <argLine> causes "Forked Java VM exited abnormally"
> ------------------------------------------------------------
>
>                 Key: SUREFIRE-854
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-854
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.x support
>    Affects Versions: 2.12
>         Environment: OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Martin Jozef
>            Assignee: Tibor Digana
>
> The following argline will cause an error when the variable ${settings.localRepository} represents example C:\Users\Martin Jozef\.m2\repository\etc....
> Tried escaping with quotes but it does not work. Moving the repository to a non-space location is not an option. 
> <argLine>-javaagent:"${settings.localRepository}/org/springframework/spring-agent/2.5.6.SEC03/spring-agent-2.5.6.SEC03.jar" -Xmx700m -Xms350m -XX:PermSize=80m -XX:MaxPermSize=180m</argLine>
> Error:
> Error opening zip file or JAR manifest missing : C:\Users\Martin
> Error occurred during initialization of VM
> agent library failed to init: instrument
> Testsuite: com.bipt.tiva.persistence.risk.ho.HoRiskLoadTest
> Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> Testcase: com.bipt.tiva.persistence.risk.ho.HoRiskLoadTest:null:	Caused an ERROR
> Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
> junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
> 	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
> Test com.bipt.tiva.persistence.risk.ho.HoRiskLoadTest FAILED (crashed)
>                     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)