Description
Given the following template:
-
##
#set($list = [1])
#set($x = "$list.get(1)")
The MethodInvocationException that report this error reads:
Invocation of method 'get' in class java.util.ArrayList threw exception java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at /foo.vm[line 1, column 7]
Which contains an incorrect line number.