JDI Event Dispatch nullpointerexception
===

When I try to debug on my device I sometimes get an error and the debugger doesn't stop on any breakpoint. Also, the application doesn't even start properly, it just freezes at kinda black screen with the app icon and name at the top.

The error is a popup in eclipse with title "'JDI Event Dispatch' has encountered a problem. An internal error occured during: 'JDI Event Dispatch'." I have an ok and details button, when I press the latter I get the following details:
"An internal error occurred during: "JDI Event Dispatch".
java.lang.NullPointerException"

I work in Eclipse Java EE Helios Service Release 2.
Any help would be appreciated