当我将生成的Android客户端Java库与Google App Engine结合使用时,我得到了一个莫名其妙的500内部错误。基本上,我收到了一个500内部服务器错误,它从未显示在Google App Engine控制台的日志中。
这是我的堆栈跟踪:
01-18 02:03:44.240: E/(27164): com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
01-18 02:03:44.240: E/(27164): {
01-18 02:03:44.240: E/(27164): "code": 500,
01-18 02:03:44.240: E/(27164): "errors": [
01-18 02:03:44.240: E/(27164): {
01-18 02:03:44.240: E/(27164): "domain": "global",
01-18 02:03:44.240: E/(27164): "message": "Internal Error",
01-18 02:03:44.240: E/(27164): "reason": "internalError"
01-18 02:03:44.240: E/(27164): }
01-18 02:03:44.240: E/(27164): ],
01-18 02:03:44.240: E/(27164): "message": "Internal Error"
01-18 02:03:44.240: E/(27164): }
01-18 02:03:44.240: E/(27164): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
01-18 02:03:44.240: E/(27164): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
01-18 02:03:44.240: E/(27164): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:312)
01-18 02:03:44.240: E/(27164): at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1049)
01-18 02:03:44.240: E/(27164): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:410)
01-18 02:03:44.240: E/(27164): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
01-18 02:03:44.240: E/(27164): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
01-18 02:03:44.240: E/(27164): at com.andreasrudolph.dreamcloud.SyncDreamsTask.doInBackground(SyncDreamsTask.java:75)
01-18 02:03:44.240: E/(27164): at com.andreasrudolph.dreamcloud.SyncDreamsTask.doInBackground(SyncDreamsTask.java:1)
01-18 02:03:44.240: E/(27164): at android.os.AsyncTask$2.call(AsyncTask.java:287)
01-18 02:03:44.240: E/(27164): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
01-18 02:03:44.240: E/(27164): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
01-18 02:03:44.240: E/(27164): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
01-18 02:03:44.240: E/(27164): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
01-18 02:03:44.240: E/(27164): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
01-18 02:03:44.240: E/(27164): at java.lang.Thread.run(Thread.java:856)
有没有办法在Google App Engine控制台中找到未记录的内部错误?
当我将列表附加到我的请求时,似乎发生了错误。如:
SyncStuffRequest syncStuff = service.sync().syncStuff();
syncStuff .set("stuff", an ArrayList of StuffObjects);
syncResponse = syncStuff .execute();