Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.4, 5.1.0.5
Description
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.