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

Adding errors for unrendered components can NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 3.0
    • None
    • Framework
    • None
    • Operating System: All
      Platform: All
    • 29871

    Description

      If you record an error for a field that has not rendered, an NPE results:

      org.apache.tapestry.valid.ValidationDelegate.getComponentTracking
      (ValidationDelegate.java:121)
      org.apache.tapestry.valid.ValidationDelegate.findCurrentTracking
      (ValidationDelegate.java:276)
      org.apache.tapestry.valid.ValidationDelegate.record
      (ValidationDelegate.java:229)
      org.apache.tapestry.valid.ValidationDelegate.record
      (ValidationDelegate.java:207)
      portal.pages.BasePortalPage.recordError(BasePortalPage.java:246)

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: