Martin Jozef created SUREFIRE-854:
-------------------------------------
Summary: surefire <argLine> causes "Forked Java VM exited
abnormally"
Key: SUREFIRE-854
URL: https://jira.codehaus.org/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
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira