glaforge/gaelyk — Issue #119: Async Memcache Service does not work (java.security.AccessControlException)
Author: codeconsole
Created: 2012-02-24 08:20:00+00:00
State: open

The following call:

memcache.async.get('whatever').get()

results in

java.security.AccessControlException: access denied (java.lang.RuntimePermission

getAll does not work either.

Script processing failed.access denied (java.lang.RuntimePermission accessDeclaredMembers)com.google.appengine.runtime.Request.process-a00310adb97afa4d(Request.java)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at com.google.appengine.runtime.Request.process-a00310adb97afa4d(Request.java)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:355)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at java.security.AccessController.checkPermission(AccessController.java:567)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1679)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at java.lang.Class.checkMemberAccess(Class.java:2174)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at java.lang.Class.getDeclaredMethods(Class.java:1807)

W 2012-02-24 00:10:36.765
[s~/107.357038141797234197].:	at java.lang.Class.getEnclosingMethod(Class.java:919)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.scope.ClassScope.computeEnclosingScope(ClassScope.java:50)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.scope.AbstractScope.getEnclosingScope(AbstractScope.java:74)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.scope.AbstractScope.lookup(AbstractScope.java:90)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.factory.CoreReflectionFactory.findTypeVariable(CoreReflectionFactory.java:109)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.visitor.Reifier.visitTypeVariableSignature(Reifier.java:165)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.tree.TypeVariableSignature.accept(TypeVariableSignature.java:43)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:68)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:138)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at sun.reflect.generics.repository.ClassRepository.getSuperclass(ClassRepository.java:84)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at java.lang.Class.getGenericSuperclass(Class.java:694)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at com.sun.beans.TypeResolver.prepare(TypeResolver.java:274)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at com.sun.beans.TypeResolver.(TypeResolver.java:243)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at com.sun.beans.TypeResolver.resolve(TypeResolver.java:172)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at com.sun.beans.TypeResolver.resolveInClass(TypeResolver.java:93)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at java.beans.FeatureDescriptor.getParameterTypes(FeatureDescriptor.java:385)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:639)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at java.beans.PropertyDescriptor.setReadMethod(PropertyDescriptor.java:254)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at java.beans.PropertyDescriptor.(PropertyDescriptor.java:161)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at java.beans.Introspector.addPropertyDescriptor(Introspector.java:657)

W 2012-02-24 00:10:36.766
[s~/107.357038141797234197].:	at java.beans.Introspector.addPropertyDescriptors(Introspector.java:668)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:520)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at java.beans.Introspector.getBeanInfo(Introspector.java:425)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at java.beans.Introspector.getBeanInfo(Introspector.java:189)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at groovy.lang.MetaClassImpl$15.run(MetaClassImpl.java:2924)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at java.security.AccessController.doPrivileged(AccessController.java:63)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at groovy.lang.MetaClassImpl.addProperties(MetaClassImpl.java:2922)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2905)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:166)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:195)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:231)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:747)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite(CallSiteArray.java:109)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:150)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)

W 2012-02-24 00:10:36.767
[s~/107.357038141797234197].:	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)