[jbossseam-issues] [JBoss JIRA] Resolved: (JBSEAM-3077) org.jboss.seam.handledException results in error "The class 'org.jboss.seam.Namespace' does not have the property 'handledException'" when this variable is not present

Dan Allen (JIRA) jira-events at lists.jboss.org
Tue Mar 31 15:56:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBSEAM-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Allen resolved JBSEAM-3077.
-------------------------------

    Fix Version/s: 2.2.0.CR1
       Resolution: Done
         Assignee: Dan Allen


> org.jboss.seam.handledException results in error "The class 'org.jboss.seam.Namespace' does not have the property 'handledException'" when this variable is not present
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3077
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3077
>             Project: Seam
>          Issue Type: Bug
>            Reporter: Alex Savitsky
>            Assignee: Dan Allen
>             Fix For: 2.2.0.CR1
>
>
> This variable (org.jboss.seam.handledException) is normally defined by Seam when an unhandled exception is thrown, and is subsequently displayed on an error page. However, when user refreshes the error page, they would get an error "The class 'org.jboss.seam.Namespace' does not have the property 'handledException'", due to the way Seam evaluates expressions - "org.jboss.seam" evaluates to an instance of Namespace, and "org.jboss.seam.handledException" is interpreted as "property 'handledException' of an object 'org.jboss.seam'".
> What's worse, there's no way to prevent this error from appearing, as the usual way of checking for variable existence - "empty org.jboss.seam.handledException" wouldn't work here, as it never evaluates to null - it's either there, or throws an error if it's not.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list