[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4035) Calling getPage outside of a JSF request causes NPE

V K (JIRA) jira-events at lists.jboss.org
Tue Mar 24 03:24:22 EDT 2009


Calling getPage outside of a JSF request causes NPE
---------------------------------------------------

                 Key: JBSEAM-4035
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4035
             Project: Seam
          Issue Type: Bug
            Reporter: V K


Please see https://jira.jboss.org/jira/browse/JBSEAM-1128 from early 2007. The issue is verified to be fixed with the given code being changed/removed, but 2.0.3.CR1 shows that exact piece of code as in the original bug report. 

The original reporter stated:
"However calling getPage() outside of a JSF request throws NPE as Pages.getSuffix() calls
FacesContext.getCurrentInstance().getExternalContext().getInitParameter(ViewHandler.DEFAULT_SUFFIX_PARAM_NAME);"

Gavin King then said "Yep, the bug is fixed in current RI versions (from 03), so I removed this code." That code is not removed, however.

-- 
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