Hi Emanuele, So, you are using vosao[1], right? Have you asked developers of vosao about this issue? I'm not saying it's an issue in vosao's side, but just in case. I'd appreciate it if you could file an issue within our issue tracker with a minimal reproducible code if you found the issue is in our SDK.
Thanks 1. http://code.google.com/p/vosao/ On Wed, Aug 22, 2012 at 11:02 AM, Emanuele Ziglioli < [email protected]> wrote: > Hi Takashi, > > I've deployed a non default version with SDK 1.7.1 and it's working on the > production server. So this problem just affects the local environment > Cleaning the project doesn't seem to help > > > On Wednesday, 22 August 2012 14:00:19 UTC+12, Takashi Matsuo (Google) > wrote: > >> >> 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.**Data**storePb$Query >>>>> >>>>> Caused by: >>>>> >>>>> java.lang.**NoClassDefFoundError**: Could not initialize class >>>>> com.google.apphosting.api.**Data**storePb$Query >>>>> >>>>> 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) >>>>> >>>>> >>>>> 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-** >>>>>> app**engine-java/**xiDijH7S8Ow/**udo8DP**EjtR0J<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.**Equiv**alences from class >>>>>>> com.google.appengine.**repackage****d.com.google.common.**collect.** >>>>>>> In**terners$**CustomInterner >>>>>>> Caused by: >>>>>>> java.lang.IllegalAccessError: tried to access class >>>>>>> com.google.appengine.**repackage****d.com.google.common.**base.** >>>>>>> Equiv**alences from class com.google.appengine.**repackage**** >>>>>>> d.com.google.common.**collect.**In**terners$**CustomInterner >>>>>>> at com.google.appengine.**repackage****d.com.google.common.** >>>>>>> collect.**In**terners$**CustomInterner.<**init>(**** >>>>>>> Interners.java:77) >>>>>>> at com.google.appengine.**repackage****d.com.google.common.** >>>>>>> collect.**In**terners.**newWeakInterner(**Intern**ers.**java:118) >>>>>>> at >>>>>>> com.google.appengine.**repackage****d.com.google.io<http://repackaged.com.google.io> >>>>>>> .**protocol.**Proto**colSupport.<**clinit>(**ProtocolSu**pport.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:**18**1) >>>>>>> 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:**27**8) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>> 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/* >>>>> *ms**g/google-appengine/-/**l21MkBL5d**ZEJ<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<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<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/-/hsGReKEj20MJ. > > 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.
