This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216586

Summary: Forked Java VM exited abnormally
Product: java Reporter: johan.sehlstedt
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log
Project that reproduce the error

Description johan.sehlstedt 2012-08-09 11:30:58 UTC
Product Version = NetBeans IDE 7.2 (Build 201207171143)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_03
Runtime = Java HotSpot(TM) Client VM 22.1-b02
----------

Running test (ALT+F6) on an EJB Module not working.

Output:
ant -f C:\\Source\\NetBeansProjects\\_test\\EJBModule1 -Dignore.failing.tests=true -Dnb.wait.for.caches=true test
init:
deps-jar:
compile:
Created dir: C:\Source\NetBeansProjects\_test\EJBModule1\build\test\classes
Compiling 1 source file to C:\Source\NetBeansProjects\_test\EJBModule1\build\test\classes
compile-test:
Created dir: C:\Source\NetBeansProjects\_test\EJBModule1\build\test\results
WARNING: multiple versions of ant detected in path for junit 
         jar:file:/C:/Program%20Files/NetBeans%207.2/java/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
     and jar:file:/C:/Oracle/glassfish-3.1.2.2/glassfish3/glassfish/modules/ant.jar!/org/apache/tools/ant/Project.class
Error: Could not find or load main class ${run.jvmargs.ide}
Testsuite: ejb.HelloTest
Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec

Testcase: ejb.HelloTest: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 ejb.HelloTest FAILED (crashed)
test-report:
test:
BUILD SUCCESSFUL (total time: 5 seconds)
Comment 1 johan.sehlstedt 2012-08-09 11:31:03 UTC
Created attachment 122919 [details]
IDE log
Comment 2 johan.sehlstedt 2012-08-09 11:36:22 UTC
Created attachment 122921 [details]
Project that reproduce the error
Comment 3 Jiri Rechtacek 2012-09-01 13:05:13 UTC

*** This bug has been marked as a duplicate of bug 166379 ***