I have created a problem ticket (Issue 2482:
http://code.google.com/p/googleappengine/issues/detail?id=2482&can=6&q=1.2.8&sort=id&colspec=ID%20Type%20Status%20Priority%20Stars%20Owner%20Summary%20Log%20Component).

Basically my app fails to work locally with test accounts/emails but
works fine in GAE with real Google accounts/emails. Just wanted to
know if anyone has the same experience.

Some info about my app:

0. I'm testing my app using Google Plugin for Eclipse
1. I use Google Accounts for user authentication
2. The error occurs after pressing the "Log In" button, with any
"test" emails (e.g.,
[email protected], [email protected], etc.). Here is the code where it
bombs:

public Client findByUserId(String userId) {
            Query query = getPersistenceManager().newQuery(Client.class);
            query.setFilter("userId == userIdParam");
            query.declareParameters("String userIdParam");
            List<Client> clients = (List<Client>) query.execute(userId);
            ......
}

3. The very first login attempt after the app is started, it throws
"java.lang.NoSuchFieldError: NOT_EQUAL".
4. Thereafter, it always throws the
"java.lang.NoClassDefFoundError: Could not initialize class
org.datanucleus.store.appengine.query.DatastoreQuery" exception.
5. Again, it works fine in GAE with real Google accounts/emails.

Please refer to Issue 2482 link above for details of the exceptions.

Thanks in advance!!

Zac

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to