Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1802

Propertyresolver could be more informative

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-M3
    • 1.4.16, 1.5-RC2
    • wicket
    • None

    Description

      WicketMessage: no set method defined for value: true on object: ...
      at org.apache.wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(PropertyResolver.java:1107)

      In case there is a getter method defined, it would significantly help debugging to display the get method name in the exception.

      I suggest fixing the problem with:

      • " on object: " + object);
        + " on object: " + object + " while respective getMethod being " + getMethod.getName());

      Attachments

        Activity

          People

            jcompagner Johan Compagner
            mmakundi Martin Terra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified