Null Pointer Exception While Running Doinbackground Method
i am trying to upload a file to dropbox, i have a also create a progress bar to check its status but while executing it throws exception . i created a object of UploadFile class an
Solution 1:
Make sure you properly initialize
UploadRequest mApi;
as not doing so will cause a NullPointerException
when the onClick
method is called.
Post a Comment for "Null Pointer Exception While Running Doinbackground Method"