{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-guestbook-java/issues/14","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-guestbook-java/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-guestbook-java/issues/14/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-guestbook-java/issues/14/events","html_url":"https://github.com/GoogleCloudPlatform/appengine-guestbook-java/pull/14","id":56455104,"number":14,"title":"Added missing datastore-index","user":{"login":"akbertram","id":454339,"avatar_url":"https://avatars.githubusercontent.com/u/454339?v=3","gravatar_id":"","url":"https://api.github.com/users/akbertram","html_url":"https://github.com/akbertram","followers_url":"https://api.github.com/users/akbertram/followers","following_url":"https://api.github.com/users/akbertram/following{/other_user}","gists_url":"https://api.github.com/users/akbertram/gists{/gist_id}","starred_url":"https://api.github.com/users/akbertram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akbertram/subscriptions","organizations_url":"https://api.github.com/users/akbertram/orgs","repos_url":"https://api.github.com/users/akbertram/repos","events_url":"https://api.github.com/users/akbertram/events{/privacy}","received_events_url":"https://api.github.com/users/akbertram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T23:24:21Z","updated_at":"2015-05-27T01:58:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-guestbook-java/pulls/14","html_url":"https://github.com/GoogleCloudPlatform/appengine-guestbook-java/pull/14","diff_url":"https://github.com/GoogleCloudPlatform/appengine-guestbook-java/pull/14.diff","patch_url":"https://github.com/GoogleCloudPlatform/appengine-guestbook-java/pull/14.patch"},"body":"If deployed directly as a new application, requests to / fail with the following error:\r\n\r\n```\r\ncom.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found.\r\nThe suggested index for this query is:\r\n    <datastore-index kind=\"Greeting\" ancestor=\"true\" source=\"manual\">\r\n        <property name=\"date\" direction=\"desc\"/>\r\n    </datastore-index>\r\n\r\n\r\n\tat com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:51)\r\n\tat com.google.appengine.api.datastore.DatastoreApiHelper$AsyncCallWrapper.convertException(DatastoreApiHelper.java:74)\r\n\tat com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:96)\r\n\tat com.google.appengine.api.utils.FutureWrapper.get(FutureWrapper.java:88)\r\n\tat com.google.appengine.api.datastore.FutureHelper.getInternal(FutureHelper.java:75)\r\n\tat com.google.appengine.api.datastore.FutureHelper.quietGet(FutureHelper.java:35)\r\n\tat com.google.appengine.api.datastore.BaseQueryResultsSource.getIndexList(BaseQueryResultsSource.java:152)\r\n\tat com.google.appengine.api.datastore.BaseQueryResultsSource.loadMoreEntities(BaseQueryResultsSource.java:181)\r\n\tat com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java:161)\r\n\tat com.google.appengine.api.datastore.QueryResultIteratorImpl.nextList(QueryResultIteratorImpl.java:115)\r\n\tat com.google.appengine.api.datastore.LazyList.forceResolveToIndex(LazyList.java:93)\r\n\tat com.google.appengine.api.datastore.LazyList.resolveToIndex(LazyList.java:73)\r\n\tat com.google.appengine.api.datastore.LazyList.resolveToIndex(LazyList.java:56)\r\n\tat com.google.appengine.api.datastore.LazyList.isEmpty(LazyList.java:260)\r\n\tat org.apache.jsp.guestbook_jsp._jspService(guestbook_jsp.java:105)\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-guestbook-java/issues/comments/105720082","html_url":"https://github.com/GoogleCloudPlatform/appengine-guestbook-java/pull/14#issuecomment-105720082","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/appengine-guestbook-java/issues/14","id":105720082,"user":{"login":"tmatsuo","id":41815,"avatar_url":"https://avatars.githubusercontent.com/u/41815?v=3","gravatar_id":"","url":"https://api.github.com/users/tmatsuo","html_url":"https://github.com/tmatsuo","followers_url":"https://api.github.com/users/tmatsuo/followers","following_url":"https://api.github.com/users/tmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/tmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/tmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmatsuo/subscriptions","organizations_url":"https://api.github.com/users/tmatsuo/orgs","repos_url":"https://api.github.com/users/tmatsuo/repos","events_url":"https://api.github.com/users/tmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/tmatsuo/received_events","type":"User","site_admin":false},"created_at":"2015-05-27T01:58:03Z","updated_at":"2015-05-27T01:58:03Z","body":"If you run it locally, the necessary index will be defined IIRC. Are you aware of it @akbertram ?"}}