Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0-JSR-6
-
None
-
None
-
Windows XP, Home edition, Service Pack 2
JVM: 1.5.0_02-b09
Description
- the issue: a groovy.lang.GroovyRuntimeException using a DataSet
the SQL-WHERE-condition in the closure of the findAll-method may be unknown at compile-time and only known at run-time, therefore I'm using the evaluate-method. - I start the script with: groovy datasetbug.groovy
the script aborts one line before the last one and that's the output from groovy:
Caught: groovy.lang.GroovyRuntimeException: Could not find the ClassNode for MetaClass: groovy.lang.MetaClassImpl@1f78040[class Script1$_run_closure1]
at datasetbug.run(datasetbug.groovy:119)
at datasetbug.main(datasetbug.groovy)
Attachments
Attachments
Issue Links
- relates to
-
GROOVY-2450 DataSet.findAll does not work directly from script outside CLASSPATH or in pre-compiled bytecode (*.class file)
- Closed