[[pirka]] *GAE DatastoreNeedIndexException [#h51a6c3b] *GAE DatastoreNeedIndexException [#h51a6c3b] 以下のようなExceptionが発生したら datastore-indexes.xmlファイルにメッセージで出ている設定を行いましょう。 at java.lang.reflect.Method.invoke(Method.java:43) at jp.oarts.pirka.core.app.EntryPoint.callEventAction(EntryPoint.java:1033) ... 49 more Caused by: com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found.. <datastore-index kind="Budget" ancestor="false" source="manual"> Caused by: com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found.. <datastore-index kind="Budget" ancestor="false" source="manual"> <property name="loginID" direction="asc"/> <property name="fromDate" direction="asc"/> </datastore-index> at com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:40) at com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:67) at com.google.appengine.api.datastore.PreparedQueryImpl.runQuery(PreparedQueryImpl.java:127) at com.google.appengine.api.datastore.PreparedQueryImpl.asQueryResultIterator(PreparedQueryImpl.java:95) <?xml version="1.0" encoding="UTF-8"?> <datastore-indexes autoGenerate="true"> <datastore-index kind="Budget" ancestor="false" source="manual"> <property name="loginID" direction="asc"/> <property name="fromDate" direction="asc"/> </datastore-index> </datastore-indexes>