I am getting exception as null.
I don't understand why it is happening and how can i resolve it.
please guide.
Edit: i tried to call it with inner class it is throwing null exception . and with public class defined outside the class it is working fine.
Note : The class is a asyncTask from which i am calling it.