I have a Map in EL as ${map} and I am trying to get the value of it using a key which is by itself also an EL variable ${key} with the
Map
${map}
${key}
I have faced this issue before. This typically happens when the key is not a String. The fix is to cast the key to a String before using the key to get a value from the map
Something like this:
${someKeyThatIsNotString}
Hope that helps