On Tue, 17 Jan 2012 08:47:11 -0200, Paulo Ricardo Ribeiro <[email protected]> wrote:

Hello,

Bão? :)

I'm using tapestry 5.3.1.

Using a select with the zone parameter, if the session timeout has been
reached and the user changed the selected value, I was getting a
NullPointerException, so, I've downloaded the source, and looked at the
Select.java (tapestry-core) and noticed that the "this.encoder" on the
following method, was null:
  protected Object toValue(String submittedValue)
    {
        return InternalUtils.isBlank(submittedValue) ? null :
this.encoder.toValue(submittedValue);
    }

You seem to be providing a null value to the encode parameter, which would be an error. As always, please post the code, otherwise we can't know what's really going on.

By the way, please post in the users mailing list first before posting in dev, as you didn't know yet if it was an user or Tapestry error. ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to