Heya,
First thing's first, Welcome :P.

When posting code, surround the code with tags, such as the ones in my sig.
Can you paste in the exception? what is throwing the null-pointer?
Can you...