Okay... well, usally you get this error when your trying to recieve something that was not initialized. like so:
...
String aString = null;
System.out.println(aString);
...
you'll get that exception. I don't know your code, so I don't know exactly where the error is, or if that is the type of problem you really have...