You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rubén khanser <kh...@gmail.com> on 2010/07/27 20:12:37 UTC
NullPointerException at struts2 LocalizedTextUtil
Hi,
I'm having this strange error.
When I'm trying to read a property from my properties file with the
"getText" @ ActionSupport method I get this NPE and this message:
DEBUG com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor - Error
calling method through OGNL: object:
[org.gestor.actions.proyecto.ProyectoCrearAction@1b45ddc] method: [getText]
args: [[boton.cancelar]]
Also when I put this same key at the "key" attribute of one struts2 submit
button I get nothing.
However using struts2 labels with that same "key" with the same value that
was failing now it gets the value.
I hope someone can help me.
Thank you.