The null pointer error is because you might haven't initialized the object before and later on in the code you are trying to access on of the variables included in the constructor.
Try to initialize the object/variable before you call the constructor. Hope this helps. -- Regards, Vikram
signature.asc
Description: This is a digitally signed message part.