Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2643

Label component throws NPE when corresponding form field isn't rendered

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.2
    • Component/s: None
    • Labels:
      None

      Description

      Caused by: java.lang.NullPointerException
      	at org.apache.tapestry5.dom.Element$1.accept(Element.java:496)
      	at org.apache.tapestry5.dom.Element$1.accept(Element.java:492)
      	at org.apache.tapestry5.dom.Element.getElement(Element.java:519)
      	at org.apache.tapestry5.dom.Element.getElementByAttributeValue(Element.java:491)
      	at org.apache.tapestry5.dom.Element.getElementById(Element.java:473)
      	at org.apache.tapestry5.dom.Document.getElementById(Document.java:204)
      	at org.apache.tapestry5.corelib.components.Label.advised$updateAttributes_496224c3170(Label.java:121)
      	at org.apache.tapestry5.corelib.components.Label$Invocation_updateAttributes_496224c316f.proceedToAdvisedMethod(Unknown Source)
      

        Attachments

          Activity

            People

            • Assignee:
              thiagohp Thiago Henrique De Paula Figueiredo
              Reporter:
              thiagohp Thiago Henrique De Paula Figueiredo
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: