I am trying to run the testng test with JRE11, and getting the following error -

1,092 views
Skip to first unread message

jalaj61

unread,
May 8, 2020, 11:40:59 AM5/8/20
to testng-dev
Exception in thread "Attach Listener" java.lang.reflect.InvocationTargetException
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/java.lang.reflect.Method.invoke(Method.java:564)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:535)
Caused by: java.lang.NoClassDefFoundError: org/omg/IOP/IORHelper
at mockit.internal.startup.MockingBridgeFields.createSyntheticFieldsInJREClassToHoldMockingBridges(MockingBridgeFields.java:32)
at mockit.internal.startup.Startup.initialize(Startup.java:56)
at mockit.internal.startup.Startup.agentmain(Startup.java:96)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.omg.IOP.IORHelper
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)

Julien Herr

unread,
May 8, 2020, 11:45:33 AM5/8/20
to testng-dev
Hi,

You should first upgrade your JMockit version and open an issue (https://github.com/jmockit/jmockit1/issues) if the issue persists.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/testng-dev/e50a9d67-3594-4846-adff-d0e9a70a704a%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages