Hello!

Thank you for your answers :)

This is the JDO query that gets executed:

SELECT FROM biz.ebas.entities.server.DbCustomer WHERE version == arg0
PARAMETERS String arg0 ORDER BY encodedKey ascending RANGE 0,26

And this is the exception i get:

javax.servlet.ServletContext log: Exception while dispatching incoming RPC
call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract biz.ebas.entities.shared.EntitiyList
biz.ebas.client.EntitiesService.retrieveData(biz.ebas.common.QueryRequest)
throws biz.ebas.entities.shared.NotLoggedInException' threw an unexpected
exception: com.google.appengine.api.datastore.DatastoreNeedIndexException:
no matching index found.
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:546)
................................



On Mon, Sep 7, 2009 at 2:17 PM, Nick Johnson (Google) <
[email protected]> wrote:
>
> Hi Cornel,
> What are the queries you are trying to execute against the index, and what
is the full text of the exception you get?
> -Nick Johnson
>
> On Sun, Sep 6, 2009 at 10:41 PM, Cornel <[email protected]>
wrote:
>>
>> Hello!
>>
>> My application id is "cosinux68".
>> I've uploaded the following index definitions:
>>
>> - kind: DbCustomer
>>  properties:
>>  - name: version
>>  - name: __key__
>>
>> - kind: DbCustomer
>>  properties:
>>  - name: version
>>  - name: __key__
>>    direction: desc
>>
>> They appear as "Serving" but my queries return
>> DatastoreNeedIndexException. I'm sure they're the correct indices for
>> the query because they were also autogenerated in hosted mode. If i
>> try to vacuum them, i can't find them in the list! If i try to upload
>> them again nothing changes. So what can i do?
>>
>>
>>
>
>
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
>
>
> >



--
Corneliu Paul Lupulet

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to