You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Eugene Schava (JIRA)" <de...@myfaces.apache.org> on 2006/08/02 11:32:18 UTC

[jira] Commented: (TOMAHAWK-467) SEVERE: Row is not available. Rowindex = 4

    [ http://issues.apache.org/jira/browse/TOMAHAWK-467?page=comments#action_12425182 ] 
            
Eugene Schava commented on TOMAHAWK-467:
----------------------------------------

I can add on this issue that I have 2 tables on the page, but log error message shows only for second table. My trace:

PortfoliosDataSource - getRowCount  3
PortfoliosDataSource - setRowIndex 0
PortfoliosDataSource - isRowAvailable for 0: true
PortfoliosDataSource - getRowData for 0: 
PortfoliosDataSource - isRowAvailable for 0: true
PortfoliosDataSource - setRowIndex 1
PortfoliosDataSource - isRowAvailable for 1: true
PortfoliosDataSource - getRowData for 1: 
PortfoliosDataSource - isRowAvailable for 1: true
PortfoliosDataSource - setRowIndex 2
PortfoliosDataSource - isRowAvailable for 2: true
PortfoliosDataSource - getRowData for 2: 
PortfoliosDataSource - isRowAvailable for 2: true
PortfoliosDataSource - setRowIndex -1

OrdersDataSource - setRowIndex 0
OrdersDataSource - isRowAvailable for 0: true
OrdersDataSource - getRowData for 0
OrdersDataSource - isRowAvailable for 0: true
OrdersDataSource - setRowIndex 1
OrdersDataSource - isRowAvailable for 1: true
OrdersDataSource - getRowData for 1: 
OrdersDataSource - isRowAvailable for 1: true
OrdersDataSource - setRowIndex 2
OrdersDataSource - isRowAvailable for 2: false
OrdersDataSource - isRowAvailable for 2: false
OrdersDataSource - setRowIndex -1
OrdersDataSource - getRowCount  2
OrdersDataSource - getRowCount  2

I see that getRowCount for OrdersDataSource wasn't executed before loading data!

> SEVERE: Row is not available. Rowindex = 4
> ------------------------------------------
>
>                 Key: TOMAHAWK-467
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-467
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Extended Datatable
>    Affects Versions: 1.1.3-SNAPSHOT, 1.1.4-SNAPSHOT
>            Reporter: Julian Ray
>         Attachments: HtmlTableRendererBase.diff
>
>
> Jun 3, 2006 6:57:57 AM org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase encodeInnerHtml
> SEVERE: Row is not available. Rowindex = 4
> The following message has started to show up in logs. Is consistent across all JSPs which use extended datatable. Always references the nth row where n is the number of rows returned from the backing bean. All n rows are displayed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira