Dear NetBeans-Community,

the migration of several Java 8 projects from NetBeans 8.2 to Apache
NetBeans 12.1/AdoptOpenJDK 11 worked very well and successfully. Only the
JUnit tests (we still use junit-4.10.jar) do unfortunately no longer seem
to work: A "Test file" or "Debug Test File" now generates an error message:

Forked Java VM exited abnormally. Please note the time in the report does
not reflect the time until the VM exit.
junit.framework.AssertionFailedError
at jdk.internal.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.util.Vector.forEach(Vector.java:1388)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)

We feel a little lost - so any hints are highly appreciated!

Many thanks in advance and best regards,
Achim

-- 
Prof. Dr. Achim Zielesny

Westphalian University of Applied Sciences
Institute for Bioinformatics and Chemoinformatics
August-Schmidt-Ring 10
D-45665 Recklinghausen, Germany
www.w-hs.de

E-Mail: achim.ziele...@w-hs.de / achim.ziele...@googlemail.com
Website:
https://www.w-hs.de/service/informationen-zur-person/person/zielesny/

Reply via email to