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

Norman Richards (JIRA) jira-events at lists.jboss.org
Fri Mar 27 20:58:34 EDT 2009

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

Norman Richards closed JBSEAM-4035.

    Resolution: Done

Ok - done.

> 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
>            Assignee: Norman Richards
>             Fix For: 2.1.2.CR1
> 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