Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 944
Fungijl Avatar asked Jul 18 '12 16:07

Fungijl


2 Answers

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).

like image 99
Holger Avatar answered Oct 14 '22 17:10

Holger


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

like image 21
Fenil Avatar answered Oct 14 '22 17:10

Fenil