Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google app Engine's sample android app, throwing exceptions

My GAE sample android app was working all right till yesterday!

I did not do any changes to the client app except in Consts.java added my project ID.

Now every time i try to insert (i mean send message) following exceptions are throw

06-06 09:42:59.905: I/CloudBackend(1905): error: 
06-06 09:42:59.905: I/CloudBackend(1905):    com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
06-06 09:42:59.905: I/CloudBackend(1905): Not Found
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:111)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:38)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:314)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1060)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:412)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:345)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:463)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.cloud.backend.android.CloudBackend.insert(CloudBackend.java:111)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.cloud.backend.android.CloudBackendAsync.access$0(CloudBackendAsync.java:1)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:87)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:1)
06-06 09:42:59.905: I/CloudBackend(1905):   at com.google.cloud.backend.android.CloudBackendAsync$BackendCaller.run(CloudBackendAsync.java:428)
like image 705
Muhammad Riyaz Avatar asked Dec 29 '25 11:12

Muhammad Riyaz


1 Answers

I found answer for this.

It seems like there is a bug in app engine that every time when your app generates a new version of itself by you redeploying it or so, it forgets to make the latest deployment as default under app engine console. Follow the steps to make it default:

  1. go to appengine console
  2. Open your project
  3. On the left hand side, open up Main -> Versions
  4. Make the most latest version as default by clicking the radio button beside it.

That's it I hope

like image 82
Muhammad Riyaz Avatar answered Dec 31 '25 03:12

Muhammad Riyaz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!