Here's the API call that causes the error PreparedQuery.asIterable():
PreparedQuery p = getDatastore().prepare(query);
List<Entity> entities = new ArrayList<Entity>();
for (Entity entity : p.asIterable(FetchOptions.Builder.withChunkSize(CHUNK_SIZE))) {
entities.add(entity);
}
And the Stack Trace:
Problem accessing /. Reason:
tried to access class com.google.appengine.repackaged.com.google.common.base.Equivalences from class com.google.appengine.repackaged.com.google.common.collect.Interners$CustomInterner
Caused by:
java.lang.IllegalAccessError: tried to access class com.google.appengine.repackaged.com.google.common.base.Equivalences from class com.google.appengine.repackaged.com.google.common.collect.Interners$CustomInterner
at com.google.appengine.repackaged.com.google.common.collect.Interners$CustomInterner.<init>(Interners.java:77)
at com.google.appengine.repackaged.com.google.common.collect.Interners.newWeakInterner(Interners.java:118)
at com.google.appengine.repackaged.com.google.io.protocol.ProtocolSupport.<clinit>(ProtocolSupport.java:55)
at com.google.apphosting.api.DatastorePb$Query.<init>(DatastorePb.java:1248)
at com.google.apphosting.api.DatastorePb$Query$1.<init>(DatastorePb.java:2988)
at com.google.apphosting.api.DatastorePb$Query.<clinit>(DatastorePb.java:2988)
at com.google.appengine.api.datastore.QueryTranslator.convertToPb(QueryTranslator.java:28)
at com.google.appengine.api.datastore.PreparedQueryImpl.convertToPb(PreparedQueryImpl.java:181)
at com.google.appengine.api.datastore.PreparedQueryImpl.runQuery(PreparedQueryImpl.java:134)
at com.google.appengine.api.datastore.PreparedQueryImpl.asIterator(PreparedQueryImpl.java:66)
at com.google.appengine.api.datastore.BasePreparedQuery$1.iterator(BasePreparedQuery.java:26)
at org.vosao.dao.BaseDaoImpl.selectNotCache(BaseDaoImpl.java:278)
HTTP ERROR 500
Problem accessing /. Reason:
Could not initialize class com.google.apphosting.api.DatastorePb$Query
Caused by:
java.lang.NoClassDefFoundError: Could not initialize class com.google.apphosting.api.DatastorePb$Query
at com.google.appengine.api.datastore.QueryTranslator.convertToPb(QueryTranslator.java:28)
at com.google.appengine.api.datastore.PreparedQueryImpl.convertToPb(PreparedQueryImpl.java:181)at com.google.appengine.api.datastore.PreparedQueryImpl.runQuery(PreparedQueryImpl.java:134)at com.google.appengine.api.datastore.PreparedQueryImpl.asIterator(PreparedQueryImpl.java:66)at com.google.appengine.api.datastore.BasePreparedQuery$1.iterator(BasePreparedQuery.java:26)at org.vosao.dao.BaseDaoImpl.selectNotCache(BaseDaoImpl.java:278)
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/l21MkBL5dZEJ.--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/XRTN1U7wO-wJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/hsGReKEj20MJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.