Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

java.lang.NoSuchFieldException: debug

40 views
Skip to first unread message

Gurpreet Kaur

unread,
Aug 29, 2024, 5:00:00 AM8/29/24
to testng-users
Hi,

I am getting below exception when running testng test case. Using JDK 11 and testng 7.10.2, jmockit 1.54.0
What am I missing here ? any leads would be of great help. 

[RemoteTestNG] detected TestNG version 7.10.2
java.lang.NoSuchFieldException: debug
at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:74)
java.lang.NoSuchFieldException: host
at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:253)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:91)
java.lang.NoSuchFieldException: port
at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:271)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:91)

Krishnan Mahadevan

unread,
Aug 29, 2024, 5:12:59 AM8/29/24
to testng...@googlegroups.com
Please upgrade your eclipse TestNG plugin to latest version and try again. 

If the problem persists please file a bug on TestNG-eclipse github project with all the details. 

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"

From: testng...@googlegroups.com <testng...@googlegroups.com> on behalf of Gurpreet Kaur <gurpree...@gmail.com>
Sent: Thursday, August 29, 2024 14:30
To: testng-users <testng...@googlegroups.com>
Subject: [testng-users] java.lang.NoSuchFieldException: debug
 
--
You received this message because you are subscribed to the Google Groups "testng-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to testng-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/testng-users/3e496541-027c-4dc6-aac7-265d2be62711n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages