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

FormTester crashes with NullPointerException, if FormComponent is not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.0-beta2
    • 1.3.0-beta3
    • wicket
    • None

    Description

      The attached patch makes FormTester report inexistent component better. Before, it just crashed on NullPointerException on this line:

      fail("Selecting on the component:'" + formComponent.getPath()

      Attachments

        1. formtester-nullcheck.patch
          4 kB
          Timo Heikki Rantalaiho

        Activity

          People

            Unassigned Unassigned
            thrantal Timo Heikki Rantalaiho
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: