tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Jazgar (JIRA)" <j...@apache.org>
Subject [jira] Created: (TAP5-736) TextField validate parameter allows Null, but throws NPE
Date Thu, 04 Jun 2009 11:17:07 GMT
TextField validate parameter allows Null, but throws NPE
--------------------------------------------------------

                 Key: TAP5-736
                 URL: https://issues.apache.org/jira/browse/TAP5-736
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Lukasz Jazgar


Component TextField has parameter "validate" annotated by
   @Parameter(defaultPrefix = BindingConstants.VALIDATE)
There is no attribute allowNull, but it has default value "true" (http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/annotations/Parameter.html#allowNull()).

So null value is allowed according to specification.

But if you set parameter validate to null, NullPointerException is thrown from AbstractTextProperties.begin(MarkupWriter
writer), line: 173.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message