You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Jochen Kemnade (JIRA)" <ji...@apache.org> on 2015/03/30 16:59:52 UTC
[jira] [Closed] (TAP5-2437) NullPointerException when trying to
access (read or write) Grid's currentPage
[ https://issues.apache.org/jira/browse/TAP5-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Kemnade closed TAP5-2437.
--------------------------------
Resolution: Fixed
Fix Version/s: 5.4
I just committed the first patch along with a test. [~fscheffer], please open a new issue for the second patch. Since [~hlship] introduced {{GridPaginationModel}}, I would like to hear his opinion first, but I want to get this issue closed.
> NullPointerException when trying to access (read or write) Grid's currentPage
> -----------------------------------------------------------------------------
>
> Key: TAP5-2437
> URL: https://issues.apache.org/jira/browse/TAP5-2437
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Jochen Kemnade
> Assignee: Jochen Kemnade
> Labels: 54_release_prerequisite, patch
> Fix For: 5.4
>
> Attachments: 0001-TAP5-2437-NullPointerException-when-trying-to-access.patch, 0002-GridPaginationModel-improvements.patch
>
>
> Trying to get or set a Grid's current page before it has rendered for the first time causes a NullPointerException because {{paginationModel}} is not initialized.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)