Wednesday, March 6, 2013

Bookmark and Share

Every once in a while it happens to me that TestNG tests fail to launch in Eclipse when starting in debug mode (run mode works fine). The progress bar freezes at 57% and Eclipse indefinitely hangs.

Some googling brought me to to this bug in the TestNG issue tracker. As it seems, the issue is caused by a conflict between the TestNG version used as (Maven) dependency in the project under test and the TestNG version used by the TestNG Eclipse plug-in. People commented at the issue that it helped for them to create a new Eclipse workspace. As I wanted to avoid that, I had a look into the .metadata folder of my workspace, searching for things which might be the potential cause.

And indeed I stumbled upon the folder WORKSPACE_DIR/.metadata/.plugins/org.testng.eclipse/. After deleting this folder and restarting Eclipse, TestNG tests would launch in debug mode again as expected.

30 comments:

Sorencito said...

Tried IntelliJ? :-)

Unknown said...

Hi Sören,

Yes, maybe I should consider switching to IntelliJ. Actually I'm using it in parallel, but I still like the Eclipse editor a bit better.

Unknown said...

Hi Sören,

Yes, maybe I should consider switching to IntelliJ. Actually I'm using it in parallel, but I still like the Eclipse editor a bit better.

PeterVermont said...

Thank you for posting. I had this exact problem and your solution worked.

PeterVermont said...

I am on Windows and this solution may only be relevant to this OS.

I had this problem again more recently. I could no longer find an org.testng folder in the plugins folders. I did a search on entire system and found many testng files in user C:\Users\\AppData\Local\Temp. I then used the 'Disk Cleanup' tool to delete all temp files. This fixed the testng in eclipse debug mode hanging.

Paul Mallon said...

Five years later this is still relevant.
Thanks!

Poojarao said...

Namkeen Pouch Manufacturers
Rice Bags Manufacturers
Pouch Manufacturers

Poojarao said...

website designing company in Gurgaon
ppc services in gurgaon
PPC Expert For Technical Support

Unknown said...

Trialix Male Enhancement Cannabidiol, or CBD, is a chemical compound that's found within the cannabis plant. CBD, quick for cannabidiol, is a compound found in hemp plants. With just a few drops a day stated to supply a myriad of benefits, together with anxiety and irritation reduction , it is no marvel that our healthy counterparts stateside have discovered ways to incorporate the straightforward oil in all the pieces from jelly sweets to bath bombs. We accomplice with among the corporations that sell these products, which implies Healthline UK and our companions could receive a portion of revenues when you make a purchase using a link(s) above. Gdyby temperatura zabijala THC i CBD to olej RSO by byl nieskuteczny jak i maslo konopne. Hemp oil will not help cancer. Nonetheless, because of regulatory limitations here in the U.S. associated to growing and processing of hemp, the method for getting CBD oil merchandise to the buyer's doorstep is sort of a bit more complicated. Not like medical cannabis, CBD is legal in all 50 states. Not surprisingly, individuals with epilepsy face vital challenges - from the cost of healthcare to work limitations and social isolation. Not all studies show a possible for helpful results on ldl cholesterol because of using hempseed oil.
https://www.smore.com/czbha-trialix-male-enhancement-canada

instaacoders said...

InstaaCoders Technologies pvt. Ltd providing web design in Los Angeles,Website Development Company Los Angeles, Mobile App Development Company in Delhi services to companies and startups from Canada and USA.
web design company los angeles ca
Website Development Company Los Angeles
Mobile App Development Company in Delhi
Mobile App Development Services in Delhi

https://harrow-escorts.com said...

Your article made me very impressed. I enjoyed it, I would expect at your website, or more articles

Digital Planner said...

pouch manufacturers
wall putty bag manufacturers

Digital Planner said...

Bosch Fridge Repair in Noida
Godrej Fridge Repair in Noida
whirlpool Fridge Repair in Noida
videocon Fridge Repair in Noida
Samsung Fridge Repair in Noida
Lg Fridge Repair in Noida
Haier Fridge Repair in Noida

Digital Planner said...

Bosch Fridge Repair in Noida
Godrej Fridge Repair in Noida
whirlpool Fridge Repair in Noida
videocon Fridge Repair in Noida
Samsung Fridge Repair in Noida
Lg Fridge Repair in Noida
Haier Fridge Repair in Noida

Fuse Angular said...

thanks

shivani said...

A befuddling web diary I visit this blog, it's incredibly grand. Strangely, in this present blog's substance made motivation behind fact and sensible. The substance of information is instructive
Oracle Fusion Financials Online Training
Oracle Fusion HCM Online Training
Oracle Fusion SCM Online Training

htop said...

thanks for sharing this informations
best hadoop training in chennai
best hadoop training in omr
hadoop training in sholinganallur
best java training in chennai
best python training in chennai
selenium training in chennai
selenium training in omr
selenium training in sholinganallur

Merlin Kristianti said...

Maka untuk menjadi pemenang yang cerdas, para penjudi harus pandai dalam menentukan keberuntungan. Hal ini bisa dilihat dari 5 kali permainan. Jika dalam 5 kali para penjudi kalah 3 kali
asikqq
http://dewaqqq.club/
http://sumoqq.today/
interqq
pionpoker
bandar ceme terpercaya
freebet tanpa deposit
paito warna
syair sgp

DevOps said...

Great share useful for beginners.
TIBCO Businessworks6x Online Training

Bepanh Pyaar said...

Raghbir's life shatters into pieces when Bani, his lover, loses her life in an
accident. However, Raghbir notices a ray of hope when Bani is reborn as Palak.

Bepanh Pyaar

Bigg Boss 13 Today Episodes said...

Bigg boss season 13 contestants, Timing, Theme, Episode, Live bigg boss 13,
starting date, Salman khan host bigg boss season 13

Bigg Boss 13 Today Episodes

Minat Jesisca said...

BONUS YANG TERSEDIA :
* BONUS NEW MEMBER 20%
* BONUS NEXT DEPOSIT 5% ( TERBARU )
* Bonus Turn Over Mingguan 0.5% (ALL GAME TANPA SYARAT)
* BONUS REFERAL BERJALAN TERBESAR ( BONUS DOUBLE )

AYO DAFTARKAN DIRI ANDA SEKARANG JUGA & IKUTI BERBAGAI MACAM EVENT-EVENT MENARIK LAINNYA!!

Untuk Informasi lebih lanjut silahkan hubungi :

WA : +855887950794
Line : minatpoker
Facebook : Cathy Gerald Tan

minatpoker
dewapoker
pokeronline

Agen IDN Poker Online
Bonus Poker Terbesar
Poker Online Indonesia
Situs Poker Online Terpercaya
Agen IDN Play Terbaik

Unknown said...

data sgp
data sydney
datahk
syair sydney
syairsgp
datasgp
paito warna
http://warungsgp.com/
live hk 6d
live sydney

JannethManalu said...

Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know

Agen Idn Poker Terpercaya

Customer relationship management said...

I must appreciate you for providing such a valuable content for us. This is one amazing piece of article. Helped a lot in increasing my knowledge.devops training in bangalore

easylearn said...


Thanks for sharing.Really Wonderful article with great piece of information and well written
AWS training institute in Bangalore

mahi said...

Please refer below if you are looking for best project center in coimbatore

Java Training in Coimbatore | Digital Marketing Training in Coimbatore | SEO Training in Coimbatore | Tally Training in Coimbatore | Python Training In Coimbatore | Final Year Java Projects In Coimbatore | FINAL YEAR DOT NET PROJECTS IN COIMBATORE | Final Year Big Data Projects In Coimbatore | Final Year Python Projects In Coimbatore

Thank you for excellent article.

Unknown said...



Yehh Jadu Hai Jinn Ka! is fantacy drama serial by indian tv channel
on Star Plus and directed by ram gopal verma and it is huge trp serial.

Yeh Jadu Hai Jinn Ka

Unknown said...

Male escorts in Delhi

iuwekjhbr said...

Please refer below if you are looking for best Online job support and proxy interview from India

DevOps Online Job Support From India | PHP Online Job Support From India | Selenium Online Job Support From India | Hadoop Online Job Support From India | Java Online Job Support From India | Angular Online Job Support From India | Python Online Job Support From India | Android Online Job Support From India

Thank you for excellent article.