On Mon, 19 Dec 2011 10:53:25 -0200, Hugi Thordarson <h...@karlmenn.is> wrote:

Hi Thiago!

Hi!

I hesitate to post it, since it's just an ugly hack meant to save us until tapestry5-cayenne works with 5.3 :). But here goes:

https://gist.github.com/1497082

I don't think the error is there though—the NullPointerException there is just an artifact of the fact that the object passed to toClient() is null.

A null object being passed to toClient() is 100% valid, so you code should handle this situation.

--
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to