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

Mike Quilleash (JIRA) jira-events at lists.jboss.org
Fri Mar 30 04:38:22 EDT 2007

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

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 


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