I am trying to add some entity to my datastore though a servlet , it fails every time complaining this.
Caused by: java.lang.RuntimeException: com.google.appengine.api.datastore.DatastoreNeedIndexException: 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> at com.gae.yotube.FileUploadPage $FileUploadForm.onSubmit(FileUploadPage.java:75) at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java: 1565) at org.apache.wicket.markup.html.form.Form.process(Form.java:958) at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java: 920) ... 34 more Caused by: com.google.appengine.api.datastore.DatastoreNeedIndexException: 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> at com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java: 42) at com.google.appengine.api.datastore.DatastoreApiHelper $1.convertException(DatastoreApiHelper.java:98) at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java: 82) at com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java: 74) at com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java: 72) at com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java: 33) <continued in next message> E 2011-10-20 09:00:42.592 <continued from previous message> at com.google.appengine.api.datastore.QueryResultsSourceImpl.loadMoreEntities(QueryResultsSourceImpl.java: 84) at com.google.appengine.api.datastore.QueryResultsSourceImpl.loadMoreEntities(QueryResultsSourceImpl.java: 71) at com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java: 156) at com.google.appengine.api.datastore.QueryResultIteratorImpl.hasNext(QueryResultIteratorImpl.java: 65) at com.gae.yotube.DatastoreInputStream.read(DatastoreInputStream.java: 51) at java.io.InputStream.read(InputStream.java:171) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:324) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:176) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:153) at java.io.BufferedReader.readLine(BufferedReader.java:316) at java.io.BufferedReader.readLine(BufferedReader.java:379) at org.apache.commons.io.IOUtils.readLines(IOUtils.java:647) at org.apache.commons.io.IOUtils.readLines(IOUtils.java:602) at com.gae.yotube.FileUploadPage $FileUploadForm.onSubmit(FileUploadPage.java:59) ... 37 more -- 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 google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.