struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubén khanser <khan...@gmail.com>
Subject NullPointerException at struts2 LocalizedTextUtil
Date Tue, 27 Jul 2010 18:12:37 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message