[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2597) Exception handling - JSF swallows exceptions in certain phases
Pete Muir (JIRA)
jira-events at lists.jboss.org
Tue Feb 19 11:10:41 EST 2008
[ http://jira.jboss.com/jira/browse/JBSEAM-2597?page=comments#action_12399899 ]
Pete Muir commented on JBSEAM-2597:
-----------------------------------
1) is JSF - exception is swallowed in UIInput:updateModel - there are no hooks in JSF to implement custom exception handling. In fact i believe the behaviour you are seeing is mandated by the spec.
> Exception handling - JSF swallows exceptions in certain phases
> --------------------------------------------------------------
>
> Key: JBSEAM-2597
> URL: http://jira.jboss.com/jira/browse/JBSEAM-2597
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Core
> Reporter: Shane Bryzak
> Fix For: 2.1.0.GA
>
>
> I can't reproduce this right now but I'm sure I spent several hours
> with a debugger only to find out that I had a typo in a value binding
> and that the exception was completely swallowed during an early JSF
> phase (UPDATE MODEL probably). There was nothing in the log, the
> action phase just never executed. This is a major issue (obviously)
> for another subtle reason: Beginners have trouble understanding the
> JSF lifecycle and processing phases - I know I did. You begin to hate
> JSf when you don't understand why a certain phase does not execute.
> I'd start reproducing it by generating an NPE in a value binding
> setter, that should do it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list