Apache Groovy errors

http://groovy-lang.org

A powerful, dynamic language for the JVM

Documented:

Top patterns

  1. ScriptBytecodeAdapter.unwrap() has thrown a MissingPropertyException

    Is thrown when you are using a variable outside of its scope or you haven't defined that variable or the variable's capital/simple changes. If that's not the case, declare a variable of that name like this ex:

    def manager = "my manager" 
    

    Check the source of this solution for more info

  2. ScriptBytecodeAdapter.unwrap() has thrown a MissingMethodException

    You can also get this error if the objects you're passing to the method are out of order. In other words say your method takes, in order, a string, an integer, and a date. If you pass a date, then a string, then an integer you will get this error.

  3. NullObject.invokeMethod() has thrown a NullPointerException
    No solution

DescriptionException TypeEntry MethodWeb pages
MissingPropertyExceptionPojoMetaMethodSite.call5
Package nameClass namePatterns foundSolution coverageDescription coverage
org.codehaus.groovy.runtime.callsiteAbstractCallSite271
org.codehaus.groovy.runtime.callsiteCallSiteArray52
org.codehaus.groovy.runtime.callsiteConstructorSite$ConstructorSiteNoUnwrapNoCoerce24
org.codehaus.groovy.runtime.callsitePogoMetaClassSite17
org.codehaus.groovy.runtime.callsitePojoMetaMethodSite15
org.codehaus.groovy.runtime.callsiteConstructorSite$ConstructorSiteNoUnwrap12
org.codehaus.groovy.runtime.callsitePogoMetaMethodSite6
org.codehaus.groovy.runtime.callsiteGetEffectivePogoPropertySite3
org.codehaus.groovy.runtime.callsiteStaticMetaClassSite3
org.codehaus.groovy.runtime.callsiteStaticMetaMethodSite3
org.codehaus.groovy.runtime.callsitePogoInterceptableSite2
org.codehaus.groovy.runtime.callsitePojoMetaClassGetPropertySite2
org.codehaus.groovy.runtime.callsiteCallSiteGenerator2
org.codehaus.groovy.runtime.callsitePogoGetPropertySite2
org.codehaus.groovy.runtime.callsiteMetaClassConstructorSite1
org.codehaus.groovy.runtime.callsitePogoMetaClassGetPropertySite1
org.codehaus.groovy.runtime.callsiteConstructorSite$NoParamSite1
org.codehaus.groovy.runtime.callsiteNullCallSite1
org.codehaus.groovy.runtime.callsitePojoMetaClassSite1
org.codehaus.groovy.runtime.callsiteStaticMetaMethodSite$StaticMetaMethodSiteNoUnwrapNoCoerce1
org.codehaus.groovy.runtime.callsitePogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce1
Package nameClass nameMethod namePatterns foundSolution coverage
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecall14
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecreatePojoMetaMethodSite1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallSeleniumException2
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallNoSuchElementException2
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallSocketException2
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallMissingPropertyException1
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallMissingMethodException1
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallStaleObjectStateException1
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallSQLException1
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallVerifyError1
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallIndexOutOfBoundsException1
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallGroovyRuntimeException1
org.codehaus.groovy.runtime.callsitePojoMetaMethodSitecallHibernateSystemException1