I have a Google Web Toolkit application that I am deploying to the Google App Engine. In a deployed application, I get a JavaScript error Uncaught TypeError: Cannot read property 'f' of null . This is similar to the Java equivalent of a Java NullPointerException exception.
The problem is that the JavaScript GWT is confusing, so it is impossible to debug in the browser, and I cannot reproduce the same problem in the placement mode, where I could use the Java debugger. I think the reason I see an error in the deployed application is because the database that I use on the GAE server runs something other than the test database that I use during testing and development.
So, any ideas on how best to act? I thought about the following things:
- Deploy an untethered version of my application. Despite the fact that Google Gogling does not work, I canβt figure out how to do this using the automatic deployment script with the Google Eclipse plugin. Somebody knows?
- Download and copy my GAE data to a local server
- Somehow specify my development code for using a GAE server for data instead of a local test database. That seems like a better idea ...
Can anyone suggest how to move here?
Finally, is there a way to catch these JavaScript errors on a production server and register them somewhere? Without registration, I will not in any case know if my users have errors that do not occur on the server. The GWT.log () function is automatically removed from the production code ...
debugging google-app-engine gwt google-eclipse-plugin
user27478
source share