IIRC, an NPE from tableRowsIterator is often due to referencing an attribute of a related object in OGNL (e.g. ognl:customer.address.street) when the related object (e.g. address) is null.

HTH. If not, as Karthik said, please post the relevant source code, page or component specifications and HTML.

-Ryan

On Aug 18, 2006, at 9:25 AM, anil wrote:



Hi

I'm fairly new to tapestry and am trying to create an implementation of the IBasicTableModel interface so that I can paginate results and get results
(from Hibernate via Spring) when I need them.

I've written my component but whenever I load the page I get a ognlException on the tableRowsIterator which seems to stem from a nullPointerException
from getCurrentPageRows.

Does this mean that there's no data being loaded into the table component to be displayed? I must admit I'm not entirely sure what approach to take to
try and solve the problem.

If anyone could shed any light on what's happening, or could give me an idea
of where to start debugging this I'd be most grateful!

A.
--
View this message in context: http://www.nabble.com/ tableRowsIterator-nullPointerException-tf2128224.html#a5872918
Sent from the Tapestry - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Ryan Holmes, CISSP

[EMAIL PROTECTED]
ph. (213) 626-0026



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to