Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1925

Obscure exception when a Collection (not a List) is used as a GridDataSource

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.6
    • Fix Version/s: 5.0.7
    • Component/s: Core Components
    • Labels:
      None

      Description

      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.

        Attachments

        1. TAPESTRY-1925_(2).patch
          4 kB
          Kevin Menard
        2. TAPESTRY-1925.patch
          4 kB
          Kevin Menard

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              nirvdrum Kevin Menard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: