15

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

4 Answers 4

33

Try increasing the debugger timeout in eclipse menu Window > Preferences > Java > Debug. That worked for me in a similar situation.

Otherwise you could try to get a clue on the problem cause by looking at the error log entries (Window > Show View > Others > Error Log).

2
  • 1
    Your first option makes it happen less frequently, which is great already. Now it only happens after having eclipse open for a long time (after 6-7 hours of working).
    – Fungijl
    Aug 14, 2012 at 11:54
  • 2
    The solution for me was to remove all existing breakpoint before starting the debugger. Thank you to Holger/Conde for the tip related to error log. That has given me a guess on the origin of the issue in my case.
    – Younes
    Dec 4, 2013 at 9:50
2

Try Removing all the breakpoint. It happens if you have too many breakpoints.

0

I got this error on Eclipse Kepler too while trying to remote debug.

enter image description here

I did not have to do anything special to get past this error. All I did was launch debug mode again.

0

It happened to me because I had a conditional breakpoint with a boolean test too long in terms of number of characters.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.