Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.8.0
-
None
-
None
-
AppEngine Java 1.5
Description
Calling MyEnum.values() works great on the AppEngine local development server, but once this code runs in production you get:
java.lang.IllegalAccessException: Reflection is not allowed on protected native java.lang.Object java.lang.Object.clone() throws java.lang.CloneNotSupportedException at com.google.appengine.runtime.Request.process-d87840548eba2c93(Request.java) at java.lang.reflect.Method.invoke(Method.java:43) at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90) at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1055) at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:885) at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:44) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at MyEnum.values(Environment.groovy) at MyEnum$values.call(Unknown Source)