JDI Thread Evaluations has encountered a problem

chama picture chama · Feb 16, 2010 · Viewed 23.7k times · Source

I'm running Eclipse for Java. I created a DOM version of an XML file. Now I want to change an attribute of an element in the file. I called a method that called a method in the class that controls the DOM, and I got a dialog box saying "JDI Thread Evaluations has encountered a problem. Exception processing async thread queue" while debugging.

I'm a relative newbie at Java and have not come across such an error, and I have no idea what's causing it.

If anyone has any suggestions as to the cause of the problem and/or ways to fix it ...

Thanks so much!

Answer

Anthony picture Anthony · Sep 29, 2011

Keep an eye on your "Watch" expressions - if you don't need them, remove them all. Sometimes certain watch expressions have caused this error message for me.

This might also explain why it happens to intermittently for people (sometimes they have watch assignments that cause the error, however restarting or removing the right watch can solve the issue without them knowing it.)