Does cleaning the project solve the issue then?
On Wed, Aug 22, 2012 at 10:54 AM, Emanuele Ziglioli < [email protected]> wrote: > I haven't deployed it. I'm seeing this error on the development server > > > On Wednesday, 22 August 2012 13:37:20 UTC+12, Takashi Matsuo (Google) > wrote: > >> >> Hi Emanuele, >> >> What is your app-id? >> >> >> On Wed, Aug 22, 2012 at 10:32 AM, Emanuele Ziglioli < >> [email protected]> wrote: >> >>> This is a different stack trace for the same error (not sure why I see >>> different stack traces) >>> >>> 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) >>> >>> >>> On Wednesday, 22 August 2012 13:26:59 UTC+12, Emanuele Ziglioli wrote: >>>> >>>> I'm experiencing an exception with the new SDK. It looks like what's >>>> described in this old post: >>>> https://groups.google.com/**foru**m/?fromgroups=#!msg/**google-** >>>> appengine-java/**xiDijH7S8Ow/**udo8DPEjtR0J<https://groups.google.com/forum/?fromgroups=#!msg/google-appengine-java/xiDijH7S8Ow/udo8DPEjtR0J> >>>> >>>> java.lang.**NoClassDefFoundError**: Could not initialize class >>>> com.google.apphosting.api.**Data**storePb$Query >>>> >>>> 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.**Buil** >>>>> der.withChunkSize(CHUNK_**SIZE))**) { >>>>> entities.add(entity); >>>>> } >>>> >>>> >>>> And the Stack Trace: >>>> >>>>> Problem accessing /. Reason: >>>>> tried to access class com.google.appengine.**repackage** >>>>> d.com.google.common.**base.**Equivalences from class >>>>> com.google.appengine.**repackage**d.com.google.common.**collect.** >>>>> Interners$**CustomInterner >>>>> Caused by: >>>>> java.lang.IllegalAccessError: tried to access class >>>>> com.google.appengine.**repackage**d.com.google.common.**base.**Equivalences >>>>> from class com.google.appengine.**repackage**d.com.google.common.** >>>>> collect.**Interners$**CustomInterner >>>>> at com.google.appengine.**repackage**d.com.google.common.**collect.** >>>>> Interners$**CustomInterner.<**init>(**Interners.java:77) >>>>> at com.google.appengine.**repackage**d.com.google.common.**collect.** >>>>> Interners.**newWeakInterner(**Interners.**java:118) >>>>> at >>>>> com.google.appengine.**repackage**d.com.google.io<http://repackaged.com.google.io> >>>>> .**protocol.**ProtocolSupport.<**clinit>(**ProtocolSupport.java:**55) >>>>> at com.google.apphosting.api.**Data**storePb$Query.<init>(**Datastore* >>>>> *Pb.java:1248) >>>>> at com.google.apphosting.api.**Data**storePb$Query$1.<init>(**Datasto* >>>>> *rePb.java:2988) >>>>> at com.google.apphosting.api.**Data**storePb$Query.<clinit>(**Datasto* >>>>> *rePb.java:2988) >>>>> at com.google.appengine.api.**datas**tore.QueryTranslator.**convertTo* >>>>> *Pb(QueryTranslator.**java:28) >>>>> at com.google.appengine.api.**datas**tore.PreparedQueryImpl.**convert* >>>>> *ToPb(PreparedQueryImpl.**java:**181) >>>>> at com.google.appengine.api.**datas**tore.PreparedQueryImpl.**runQuer* >>>>> *y(PreparedQueryImpl.**java:134) >>>>> at com.google.appengine.api.**datas**tore.PreparedQueryImpl.**asItera* >>>>> *tor(PreparedQueryImpl.**java:66) >>>>> at com.google.appengine.api.**datas**tore.BasePreparedQuery$1.**itera* >>>>> *tor(BasePreparedQuery.**java:26) >>>>> at org.vosao.dao.BaseDaoImpl.**sele**ctNotCache(BaseDaoImpl.**java:** >>>>> 278) >>>> >>>> >>>> >>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Google App Engine" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/google-appengine/-/**l21MkBL5dZEJ<https://groups.google.com/d/msg/google-appengine/-/l21MkBL5dZEJ> >>> . >>> >>> 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<http://groups.google.com/group/google-appengine?hl=en> >>> . >>> >> >> >> >> -- >> Takashi Matsuo | Developers Advocate | [email protected] >> >> -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- Takashi Matsuo | Developers Advocate | [email protected] -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
