Click here to Skip to main content
11,636,985 members (71,629 online)
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 20: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 stibee 313
1 jyo.net 295
2 OriginalGriff 263
3 Sergey Alexandrovich Kryukov 240
4 Suvendu Shekhar Giri 225
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,493
2 Mika Wendelius 6,909
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web01 | 2.8.150728.1 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2015
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