com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found. recommended index is: - kind: Question ancestor: yes properties: - name: questionNumber The suggested index for this query is: <datastore-index kind="Question" ancestor="true" source="manual"> <property name="questionNumber" direction="asc"/> </datastore-index>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by damithc
, 1 year ago
no matching index found. recommended index is: - kind: Question ancestor: yes properties: - name: questionNumber The suggested index for this query is: <datastore-index kind="Question" ancestor="true" source="manual"> <property name="questionNumber" direction="asc"/> </datastore-index>
via Google Groups by fachhoch, 2 years ago
no matching index found. The suggested index for this query is: <datastore-index kind="ChunkFile" ancestor="true" source="manual"> <property name="index" direction="asc"/> </datastore-index>
via Google Groups by Moritz, 2 years ago
no matching index found.. <datastore-index kind="ItemInstance" ancestor="false" source="manual"> <property name="itemListId" direction="asc"/> <property name="text" direction="asc"/> </datastore-index>
via Google Groups by mark chen, 2 years ago
no matching index found.. <datastore-index kind="Bid" ancestor="false" source="manual"> <property name="courseCode" direction="asc"/> <property name="sectionCode" direction="asc"/> <property name="amount" direction="desc"/> </datastore-index> at com.google.appengine.runtime.Request.process-f520ab98e5ed5cc2(Request.java)
via Stack Overflow by giozh
, 1 year ago
no matching index found. The suggested index for this query is: <datastore-index kind="record" ancestor="true" source="manual"> <property name="date" direction="asc"/> </datastore-index>
via Google Groups by giozh via StackOverflow, 1 month ago
no matching index found. The suggested index for this query is: &lt;datastore-index kind="record" ancestor="true" source="manual"&gt; &lt;property name="date" direction="asc"/&gt; &lt;/datastore-index&gt;
com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found. recommended index is: - kind: Question ancestor: yes properties: - name: questionNumber The suggested index for this query is: <datastore-index kind="Question" ancestor="true" source="manual"> <property name="questionNumber" direction="asc"/> </datastore-index>
at com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:60)
at com.google.appengine.api.datastore.DatastoreApiHelper$1.convertException(DatastoreApiHelper.java:129)
at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:96)
at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:88)
at com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java:76)
at com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java:36)
at com.google.appengine.api.datastore.BaseQueryResultsSource.getIndexList(BaseQueryResultsSource.java:159)
at com.google.appengine.api.datastore.BaseQueryResultsSource.loadMoreEntities(BaseQueryResultsSource.java:192)
at com.google.appengine.api.datastore.BaseQueryResultsSource.loadMoreEntities(BaseQueryResultsSource.java:171)
at com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java:148)
at org.datanucleus.store.appengine.DatastoreElementContainerStoreSpecialization.getChildren(DatastoreElementContainerStoreSpecialization.java:105)
at org.datanucleus.store.appengine.DatastoreFKListStore.listIterator(DatastoreFKListStore.java:48)
at org.datanucleus.store.mapped.scostore.AbstractListStore.listIterator(AbstractListStore.java:84)
at org.datanucleus.store.mapped.scostore.AbstractListStore.iterator(AbstractListStore.java:74)
at org.datanucleus.sco.backed.List.loadFromStore(List.java:241)
at org.datanucleus.sco.backed.List.iterator(List.java:507)
at teammates.storage.entity.FeedbackSession.getFeedbackQuestions(FeedbackSession.java:346)
at teammates.common.datatransfer.FeedbackSessionAttributes.(FeedbackSessionAttributes.java:77)
at teammates.storage.api.FeedbackSessionsDb.getFeedbackSession(FeedbackSessionsDb.java:131)
at teammates.logic.core.FeedbackSessionsLogic.getFeedbackSession(FeedbackSessionsLogic.java:128)
at teammates.logic.api.Logic.getFeedbackSession(Logic.java:1354)
at teammates.client.scripts.DataMigrationForFeedbackQuestionsToQuestions.doOperation(DataMigrationForFeedbackQuestionsToQuestions.java:69)
at teammates.client.remoteapi.RemoteApiClient.doOperationRemotely(RemoteApiClient.java:38)
at teammates.client.scripts.DataMigrationForFeedbackQuestionsToQuestions.main(DataMigrationForFeedbackQuestionsToQuestions.java:51)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.