This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes GWT and the fly likes Google App engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Google App engine" Watch "Google App engine" New topic

Google App engine

Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91

I have developed an application in google app engine, in which I have a file upload option, I am able to upload files and can view them afterwards. But when I move it to real environment (into google appengine) the file upload is not working. it is showing the following error with HTTP 500 error.

Error: Server Error

The server encountered an error and could not complete your request.
If the problem persists, please report your problem and mention this error message and the query that caused it.

Pawan Komaram
Ranch Hand

Joined: Dec 08, 2009
Posts: 91
It is resolved!!!

This was caused, because I was creating Text object with NULL string value, I have converted my file content into a string, if there is no file uploaded for any of the file upload field this string is coming as a NULL, when I am persisting object with Text object has NULL value, then app engine was trying to throw an exption.

I agree. Here's the link:
subject: Google App engine
Similar Threads
Uploading app to Google App Engine
bumper stickers, blackbeltfactory and other user personalizations (jforum day 2011) is a restricted class error in Eclipse when running GWT and MySQL
Does Google app engine doesn't support Struts?
[SOLVED] Is the war compression idempotent?