[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-1128) Calling getPage outside of a JSF request causes NPE
Gavin King (JIRA)
jira-events at lists.jboss.org
Thu May 24 15:19:25 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1128?page=all ]
Gavin King updated JBSEAM-1128:
-------------------------------
Fix Version/s: 1.3.1.BETA1
(was: 1.3.0.ALPHA)
> Calling getPage outside of a JSF request causes NPE
> ---------------------------------------------------
>
> Key: JBSEAM-1128
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1128
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.1.6.GA
> Environment: Any
> Reporter: Mike Quilleash
> Assigned To: Gavin King
> Priority: Minor
> Fix For: 1.3.1.BETA1
>
>
> During Seam startup I have a component that scans installed components and programatically builds page entries (page actions etc). I use getPage() as this returns a new blank page if the.
> However calling getPage() outside of a JSF request throws NPE as Pages.getSuffix() calls
> FacesContext.getCurrentInstance().getExternalContext().getInitParameter(ViewHandler.DEFAULT_SUFFIX_PARAM_NAME);
> The check in my case is unnecessary (the comment mentions something about a bug in the JSF RI, I am using RI 1.2_02) as the view id already has the correct suffix.
--
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