Uploaded image for project: 'Commons BeanUtils'
  1. Commons BeanUtils
  2. BEANUTILS-18

PropertyUtils.isReadable() and PropertyUtils.getProperty() not consistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.8.0
    • Bean / Property Utils
    • None
    • Operating System: Windows 2000
      Platform: PC

    • 33840

    Description

      Hi,

      When the object passed to PropertyUtils is a non-public class, the
      PropertyUtils.isReadable() method returns true for an existing property while
      the PropertyUtils.getProperty() method for the same property throws a
      NoSuchMethodException.

      I'll attach a junit test that illustrates the problem.

      regards,
      Maarten

      Attachments

        Activity

          People

            niallp Niall Pemberton
            maartenc Maarten Coene
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: