Re: NPE in dispatchComponentEvent of a page class (which doesn't have such method)

2017-03-23 Thread Christian Riedel
as erroneously setting as the event context. > > Thanks a lot for your help. > > -Original Message- > From: Christian Riedel [mailto:cr.ml...@googlemail.com] > Sent: Wednesday, March 22, 2017 19:32 > To: Tapestry users > Subject: Re: NPE in dispatchComponentEvent

RE: NPE in dispatchComponentEvent of a page class (which doesn't have such method)

2017-03-23 Thread Davide Vecchi
sed by the null value that our code was erroneously setting as the event context. Thanks a lot for your help. -Original Message- From: Christian Riedel [mailto:cr.ml...@googlemail.com] Sent: Wednesday, March 22, 2017 19:32 To: Tapestry users Subject: Re: NPE in dispatchComponentEvent

Re: NPE in dispatchComponentEvent of a page class (which doesn't have such method)

2017-03-22 Thread Christian Riedel
Just a wild guess without seeing your template: your method is called with a null value. Assigning null to a primitive variable results in a nullpointer. Try *Long* sysRowId instead and you probably won’t get that exception. The root cause might be that the context of your event link does not con

NPE in dispatchComponentEvent of a page class (which doesn't have such method)

2017-03-22 Thread Davide Vecchi
Hi everybody, I'm using Tapestry 5.3.8 . I am at a complete loss trying to figure out why I always get a NullPointerException when I click on a grid row of a certain page. I'm describing the situation here and if anyone has *any* thought, feeling, suggestion, observation, things to check or any