Click here to Skip to main content
12,067,278 members (53,316 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Mobile 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
Top Experts
Last 24hrsThis month


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