Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4950

ConfigSlurper broken on AppEngine

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 2.0.6, 2.1.0-beta-1, 1.8.9
    • Component/s: None
    • Labels:
      None
    • Environment:
      AppEngine Java 1.5.2 Production

      Description

      On the production AppEngine environment, ConfigSlurper now breaks in 1.8.1 (This was working in 1.8.0) This makes Groovy 1.8.1 unusable on GAE as it stands!

      Exception:

      Caused by: java.lang.SecurityException: Unable to get members for class groovy.util.ConfigObject
      	at com.google.appengine.runtime.Request.process-f6979038393db0ef(Request.java)
      	at org.codehaus.groovy.reflection.CachedClass$3$1.run(CachedClass.java:84)
      	at java.security.AccessController.doPrivileged(AccessController.java:34)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:81)
      	at org.codehaus.groovy.reflection.CachedClass$3.initValue(CachedClass.java:79)
      	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:46)
      	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:33)
      	at org.codehaus.groovy.reflection.CachedClass.getMethods(CachedClass.java:250)
      	at groovy.lang.MetaClassImpl.populateMethods(MetaClassImpl.java:340)
      	at groovy.lang.MetaClassImpl.fillMethodIndex(MetaClassImpl.java:290)
      	at groovy.lang.MetaClassImpl.initialize(MetaClassImpl.java:2915)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:166)
      	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:182)
      	at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:242)
      	at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:751)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallConstructorSite(CallSiteArray.java:71)
      	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:54)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182)
      	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
      	at groovy.util.ConfigSlurper.parse(ConfigSlurper.groovy:160)
      ...
      

      Note: This error does not occur on the GAE dev server.

        Attachments

          Activity

            People

            • Assignee:
              guillaume Guillaume Sauthier
              Reporter:
              axel.fontaine Axel Fontaine
            • Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: