myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Udo Schnurpfeil (JIRA)" <>
Subject [jira] [Resolved] (TOBAGO-1000) SimpleSheetState throws NPE if selectable="none" is set
Date Mon, 23 May 2011 08:41:47 GMT


Udo Schnurpfeil resolved TOBAGO-1000.

       Resolution: Fixed
    Fix Version/s: 1.5.0-alpha-3
         Assignee: Udo Schnurpfeil

> SimpleSheetState throws NPE if selectable="none" is set
> -------------------------------------------------------
>                 Key: TOBAGO-1000
>                 URL:
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Sandbox
>    Affects Versions: 1.0.35
>         Environment: We use a Snapshot of 1.0.36 to and the error is still there.
>            Reporter: Sven Bunge
>            Assignee: Udo Schnurpfeil
>             Fix For: 1.0.37, 1.5.0-alpha-3
> We use a tcs:simpleSheet with the attribute 'selectable="none"' and during the rendering
a NullPointerException is thrown. (May be relevent: We have an own sheetstate attached.)
> My conclusion from my studies:
> SimpleSheetRenderer:237 :: boolean rowSelected = selectedRows.contains(row); :: throws
the NPE -- (btw: The value rowSelected is NOT needed!)
> The UIData put in line 517 'null' to the sheetstate and override an existing empty list.
Is this ok? Then the problem is the unchecked usage of this list in the SimpleSheetRenderer
> Or do we have to add an empty list to the sheetstate if the expected value in the ComponentAttributeMap
is empty. - Or is the problem that there is no list in the map?
> (Line specification is for source of version 1.0.35)

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message