[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-2778) Uncaught exception when using non-faces request & faces response with seam framework

Slava Davidovich (JIRA) jira-events at lists.jboss.org
Tue Mar 25 07:02:40 EDT 2008

    [ http://jira.jboss.com/jira/browse/JBSEAM-2778?page=comments#action_12404397 ] 
Slava Davidovich commented on JBSEAM-2778:

12:33:59,500 ERROR [SeamPhaseListener] uncaught exception
java.lang.IllegalStateException: No active application scope
 at org.jboss.seam.core.Init.instance(Init.java:75)
 at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:305)
 at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:142)
 at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
 at TestServlet.doGet(TestServlet.java:39)

It`s very interesting cause Lifecycle.isApplicationInitialized() returns true, but Contexts.isApplicationContextActive() returns false.
Annotations  @Scope (ScopeType.APPLICATION) & @Startup changes nothing :(

> Uncaught exception when using non-faces request & faces response with seam framework
> ------------------------------------------------------------------------------------
>                 Key: JBSEAM-2778
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2778
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 2.0.1.GA
>            Reporter: Slava Davidovich
>         Attachments: exportservlet.war, log.log
> If I try to implement non-faces request with faces response (as written in jsf  specification) I have uncaught exception in SeamPhaseListener with access only to servlet & faces contexts.

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