Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Android
I have tow button on one screen one is "GetOrder" and 2nd is "DeleteOrder" when i call getorder then its working good and after this i click on delete order then app showing this error
 

05-19 11:36:11.176: E/AndroidRuntime(2104): FATAL EXCEPTION: AsyncTask #1
05-19 11:36:11.176: E/AndroidRuntime(2104): java.lang.RuntimeException: An error occured while executing doInBackground()
05-19 11:36:11.176: E/AndroidRuntime(2104): at android.os.AsyncTask$3.done(AsyncTask.java:299)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
05-19 11:36:11.176: E/AndroidRuntime(2104): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.lang.Thread.run(Thread.java:856)
05-19 11:36:11.176: E/AndroidRuntime(2104): Caused by: java.lang.NullPointerException
05-19 11:36:11.176: E/AndroidRuntime(2104): at power.flash.system.FullDetail.M_callMethod(FullDetail.java:345)
05-19 11:36:11.176: E/AndroidRuntime(2104): at power.flash.system.FullDetail.access$0(FullDetail.java:302)
05-19 11:36:11.176: E/AndroidRuntime(2104): at power.flash.system.FullDetail$MyTask.doInBackground(FullDetail.java:273)
05-19 11:36:11.176: E/AndroidRuntime(2104): at power.flash.system.FullDetail$MyTask.doInBackground(FullDetail.java:1)
05-19 11:36:11.176: E/AndroidRuntime(2104): at android.os.AsyncTask$2.call(AsyncTask.java:287)
05-19 11:36:11.176: E/AndroidRuntime(2104): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
Posted 18-May-13 21:09pm

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Deat singh,
 
it showing null pointer exception means there is no data to delete
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 504
1 Maciej Los 349
2 Kornfeld Eliyahu Peter 325
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,303
1 DamithSL 4,764
2 Maciej Los 4,306
3 Kornfeld Eliyahu Peter 3,914
4 Sergey Alexandrovich Kryukov 3,538


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100