The ticket (Issue 2482) has been closed. It turned out I had a pair of
older version jar files (appengine-api-1.0-sdk-1.2.5.jar & appengine-
api-labs-1.2.5.jar
) in /WEB-INF/lib. [email protected] of googleappengine team has this
to say:

=============
It used to be the case that the plugin did not automatically update
the war/WEB-
INF/lib folder with the new SDK jars unless you performed the switch
through the Google section of the Project Properties page. Now, we
automatically update the jars regardless of how you update your
project's SDK (i.e through the build path dialog).

That's probably why you saw the auto switch when moving from 1.2.6 ->
1.2.8, but not from 1.2.5 -> 1.2.6  (because you had an older version
of the plugin back then).
=============

See http://code.google.com/p/googleappengine/issues/detail?id=2482 for
more details.

Thanks,
Zac


On Dec 10, 1:18 am, Zac <[email protected]> wrote:
> I have created a problem ticket (Issue 
> 2482:http://code.google.com/p/googleappengine/issues/detail?id=2482&can=6&;...).
>
> 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