Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6, 1.6.1
-
JRE 1.6 Windows
Groovy 1.5.7 and 1.6.1
Description
I am initialising the GStringTemplate with the contens of a large (>64K)
file and getting the following error:
java.lang.ClassFormatError: Unknown constant tag 121 in class file
groovy/tmp/templates/GStringTemplateScript11$_getTemplate_closure1
I am using the following Groovy script step with code:
import groovy.text.*
def binding = [wid: "123123123"]
def engine = new GStringTemplateEngine()
def template = engine.createTemplate(new
File("test_message1.xml")).make(binding)
println template.toString()
The message is attached as well.