[appengine-java] Getting Unittest with Task queue working (NPE in QueueImpl)

2010-05-11 Thread Uwe Maurer
Hi, I am trying to get a unittest working. The code I am trying to test is using task queues and it keeps crashing with NullPointerException in QueueImpl. java.lang.NullPointerException at com.google.appengine.api.labs.taskqueue.QueueImpl.fillAddRequest(QueueImpl.java: 150) at com

[appengine-java] Re: Help: Memcache - not hitting at all

2011-10-04 Thread Uwe Maurer
On Sep 11, 9:33 pm, realdope wrote: > Here's rest of the code: > >     private static boolean has(String key) { >         return MemcacheServiceFactory.getMemcacheService().contains(key) && > get(key).length()>0; >     } > ... >         if (Memcache.hasById(id)) return Memcache.getById(id); >  

[appengine-java] Re: Problem in sending out UTF-8 POST data (only in production, works fine in development)

2010-08-22 Thread Uwe Maurer
Try OutputStreamWriter w = new OutputStreamWriter(c.getOutputStream(), "UTF-8"); On Aug 19, 12:33 pm, आलोक (Alok) wrote: > I am having trouble with sending out a POST request that contains > UTF-8 data. > > Here's what I'm doing: > > ... > 01                       String s = containing non-asci

[appengine-java] Re: Reusing GWT Localization on Server Side

2010-08-22 Thread Uwe Maurer
Maybe this project can help http://code.google.com/p/gwt-i18n-server/ It provides a GWTI18N.create which replaces the GWT.create FooMessages msg = GWTI18N.create(FooMessages.class); msg.fooBar(...); Uwe On Aug 16, 9:18 pm, Casey wrote: > I figured that I was going to have to write my own pars

[appengine-java] GWT code splitting + I18N => too many files

2010-08-26 Thread Uwe Maurer
est solution otherwise? Serve the static files from datastore or blobstore? Or an external CDN? Thanks, Uwe Maurer -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to googl

[appengine-java] Re: GWT code splitting + I18N => too many files

2010-08-26 Thread Uwe Maurer
the there. > > 2010/8/26 Uwe Maurer > > > > > > > Hi, > > > we have a quite big GWT project on Java Appengine, which uses code > > splitting and also multiple locales. We just added another locale and > > now it generates so many static files (>900

[appengine-java] Re: Security issue with Google account on Gwt-client site

2010-08-27 Thread Uwe Maurer
The User object contains just the email address of the user. Just send it to the client in a String and null if the user is not logged in. Then you can just check with (username != null) if the user is logged in. Uwe On Aug 27, 6:25 pm, androidDeveloper wrote: > Hi all, > > as written in > thr