Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-854

surefire <argLine> causes "Forked Java VM exited abnormally"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.12
    • None
    • Junit 4.x support
    • None
    • OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

    Description

      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)

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            mjreged Martin Jozef
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: