liangcm / cloud-tasks-io

Automatically exported from code.google.com/p/cloud-tasks-io
0 stars 0 forks source link

Runtime error in Android #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Setup:
Windows7, Eclipse 3.7.1, 

What steps will reproduce the problem?
1. read and done all the tutorial in 
http://code.google.com/eclipse/docs/appengine_connected_android.html  
2. copy all the files from 
http://code.google.com/p/cloud-tasks-io/source/browse/ with minor changes (my 
app-id wherever needed, my c2dm email..
3. deploy to app-engine.
4. test the GWT side: login succeed, add tasks works (I can see that tasks are 
added in the Google dashboard).
5. For testing the android side I'm debug as "Remote app engine Connected ..." 
6. In the my android device (Sunsung Galaxy II, 2.3.5) I pressed Menu --> 
Accounts --> Connect (to my email account - same as above).
7. I'm getting notification : "Registered my_mail@gmail.com for.."
8. I pressed Menu --> refresh and get the following exception (logcat):

02-13 00:55:09.015: E/AndroidRuntime(25572): FATAL EXCEPTION: AsyncTask #1
02-13 00:55:09.015: E/AndroidRuntime(25572): java.lang.RuntimeException: An 
error occured while executing doInBackground()
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
android.os.AsyncTask$3.done(AsyncTask.java:200)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.util.concurrent.FutureTask.setException(FutureTask.java:125)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.util.concurrent.FutureTask.run(FutureTask.java:138)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.lang.Thread.run(Thread.java:1019)
02-13 00:55:09.015: E/AndroidRuntime(25572): Caused by: 
com.google.web.bindery.event.shared.UmbrellaException: One or more exceptions 
caught, see full set in UmbrellaException#getCauses
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$Standar
dPayloadDialect.processPayload(AbstractRequestContext.java:387)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$5.onTra
nsportSuccess(AbstractRequestContext.java:1108)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.cloudtasks.AndroidRequestTransport.send(AndroidRequestTransport.java:68)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.doFire(
AbstractRequestContext.java:1102)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext.fire(Ab
stractRequestContext.java:569)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequest.fire(AbstractR
equest.java:54)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequest.fire(AbstractR
equest.java:59)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.cloudtasks.AsyncFetchTask.doInBackground(AsyncFetchTask.java:31)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.cloudtasks.AsyncFetchTask.doInBackground(AsyncFetchTask.java:1)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
android.os.AsyncTask$2.call(AsyncTask.java:185)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
02-13 00:55:09.015: E/AndroidRuntime(25572):    ... 4 more
02-13 00:55:09.015: E/AndroidRuntime(25572): Caused by: 
java.lang.RuntimeException: Server Error: null
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.Receiver.onFailure(Receiver.java:44
)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequest.onFail(Abstrac
tRequest.java:118)
02-13 00:55:09.015: E/AndroidRuntime(25572):    at 
com.google.web.bindery.requestfactory.shared.impl.AbstractRequestContext$Standar
dPayloadDialect.processPayload(AbstractRequestContext.java:359)
02-13 00:55:09.015: E/AndroidRuntime(25572):    ... 14 more

9. when I try to run again, same process, except pressing Menu --> refresh I 
tried to add new task. This time I didn't see any exception in logcat but I see 
in Eclipse (see attached pic): source not found - ThreadPoolExecutor.java

PLEASE HELP ME!

Original issue reported on code.google.com by itay.bit...@gmail.com on 12 Feb 2012 at 11:04

Attachments:

GoogleCodeExporter commented 9 years ago
no one can help me? please.. every peace of info would help..

Original comment by itay.bit...@gmail.com on 20 Feb 2012 at 7:31