Click here to Skip to main content
11,411,494 members (63,003 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 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 OriginalGriff 223
1 Sergey Alexandrovich Kryukov 195
2 Sascha Lefévre 155
3 ProgramFOX 90
4 Dave Kreskowiak 90
0 Sergey Alexandrovich Kryukov 8,920
1 OriginalGriff 7,128
2 Maciej Los 3,440
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web04 | 2.8.150414.5 | 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