View Single Post
Old 03-16-2010, 02:46 AM   #2 (permalink)
jacob.tabak
Knows Where the Search Button Is
 
Join Date: Mar 2010
Model: N/A
PIN: N/A
Carrier: Fledge
Posts: 43
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

A null pointer exception simply means you're trying to reference an object that hasn't been instantiated yet. It's very easy to find if you're in debug mode (rather than run mode) in Eclipse because the debugger will stop immediately when it encounters the exception.

Odds are you declared an object as a data member of one of your classes but never instantiated it.

Please wrap your code excerpts in the "code" tag so the indentation is preserved.
Offline   Reply With Quote