View Single Post
Old 12-10-2004, 04:06 PM   #10 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,175
Belisarius is on a distinguished road
NullPointers are runtime exceptions, that is they only show up when you run the program; the compiler won't be able to catch them.

When you see the NullPointerException, it should give you some line numbers (although it might not). Can you show us what line the NullPointer is occuring at? Also, could you post the stack trace (the output from the exception)?
__________________
GitS
Belisarius is offline   Reply With Quote