You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Markus Mehrwald (JIRA)" <de...@myfaces.apache.org> on 2008/10/19 17:12:44 UTC
[jira] Created: (TOMAHAWK-1357) NullPointerException when setting a
message
NullPointerException when setting a message
-------------------------------------------
Key: TOMAHAWK-1357
URL: https://issues.apache.org/jira/browse/TOMAHAWK-1357
Project: MyFaces Tomahawk
Issue Type: Bug
Components: Validators
Affects Versions: 1.1.7
Environment: version 1.1.7 for jsf 1.2
Reporter: Markus Mehrwald
Setting a message to the validators (at least regex and email) causes a NullPointerException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TOMAHAWK-1357) NullPointerException when setting
a message
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641168#action_12641168 ]
Leonardo Uribe commented on TOMAHAWK-1357:
------------------------------------------
Use this:
<t:validateRegExpr pattern="\D+" message="{0} ist keine gültiger Straßenname" />
throw the exception but use this
<t:validateRegExpr pattern="\D+" detailMessage="{0} ist keine gültiger Straßenname" />
works correctly
The error is also on myfaces common validators, since message is deprecated (use detailMessage instead). Fortunately, using detailMessage provide the wanted feature.
> NullPointerException when setting a message
> -------------------------------------------
>
> Key: TOMAHAWK-1357
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1357
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Validators
> Affects Versions: 1.1.7
> Environment: version 1.1.7 for jsf 1.2
> Reporter: Markus Mehrwald
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Setting a message to the validators (at least regex and email) causes a NullPointerException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TOMAHAWK-1357) NullPointerException when setting
a message
Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TOMAHAWK-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved TOMAHAWK-1357.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.1.8-SNAPSHOT
Assignee: Leonardo Uribe
Thanks to Markus for create this issue, so we can fix it.
> NullPointerException when setting a message
> -------------------------------------------
>
> Key: TOMAHAWK-1357
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1357
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Validators
> Affects Versions: 1.1.7
> Environment: version 1.1.7 for jsf 1.2
> Reporter: Markus Mehrwald
> Assignee: Leonardo Uribe
> Fix For: 1.1.8-SNAPSHOT
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Setting a message to the validators (at least regex and email) causes a NullPointerException
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.