Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
acowart
Posts: 163
Registered: ‎07-16-2008
My Device: Not Specified

Eclipse debugger keeps getting NullPointerException in MessageQueue.enqueue

When using the eclipse debugger and trying to debug an application with JDWP, it suspends execution every time MessageQueue.enqueue(Message) line: 160 is called  (which is often).  It's giving a NullPointerException.  This is occuring with JDE 4.2.1.

 

I've tried running clean.bat in the simulator directory, and uninstalling/reinstalling the JDE, but the same problem is occurring.  Debugging does work properly using the included IDE, so the problem is likely with Eclipse.

 

Has anyone run into this before?

 

Thanks

Andrew Cowart | Metova
www.metova.com
Developer
acowart
Posts: 163
Registered: ‎07-16-2008
My Device: Not Specified

Re: Eclipse debugger keeps getting NullPointerException in MessageQueue.enqueue

Tested with JDE 4.3.0 and have the same problem, looking into Eclipse's options now to see if there's anything that could cause this
Andrew Cowart | Metova
www.metova.com
BlackBerry Development Advisor
MSohm
Posts: 14,757
Registered: ‎07-09-2008
My Device: BlackBerry Passport

Re: Eclipse debugger keeps getting NullPointerException in MessageQueue.enqueue

Please report this issue to betadevsupport@rim.com.  Thanks!
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
acowart
Posts: 163
Registered: ‎07-16-2008
My Device: Not Specified

Re: Eclipse debugger keeps getting NullPointerException in MessageQueue.enqueue

Sorry, this was due to my lack of familiarity with Eclipse.  Under the Breakpoints view, it was set to catch all null pointer exceptions - removing the breakpoints fixed this issue.

 

Thanks

Andrew Cowart | Metova
www.metova.com