You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Kevin Menard (JIRA)" <de...@tapestry.apache.org> on 2008/01/03 19:59:34 UTC

[jira] Commented: (TAPESTRY-1925) Obscure exception when a Collection (not a List) is used as a GridDataSource

    [ https://issues.apache.org/jira/browse/TAPESTRY-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555639#action_12555639 ] 

Kevin Menard commented on TAPESTRY-1925:
----------------------------------------

Thanks for adding the GridSetDemo.java.  I did have one written, but it looks like it didn't get added to the patch.  I'll chock it up to using a new IDE.  Fortunately it was simple enough, so thanks for providing one.

> Obscure exception when a Collection (not a List) is used as a GridDataSource
> ----------------------------------------------------------------------------
>
>                 Key: TAPESTRY-1925
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1925
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Core Components
>    Affects Versions: 5.0.6
>            Reporter: Kevin Menard
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 5.0.7
>
>         Attachments: TAPESTRY-1925.patch, TAPESTRY-1925_(2).patch
>
>
> Tapestry throws an exception when providing an empty collection, such as java.util.Collections.EMPTY_SET, to the Grid component as the source parameter.  The message is of the form "tried to access class java.util.Collections$EmptySet from clas $PropertyConduit_XXX".
> It appears to be a case of not knowing which type of class to use, rather than just using the interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org