[
http://jira.jboss.com/jira/browse/JBAS-5063?page=comments#action_12391454 ]
Ryan Lubke commented on JBAS-5063:
----------------------------------
Still strange that the ApplicationAssociate would be null at that point. since
handleAttributeEvent() would have been called prior to invoking syncSessionScopedBeans()
and it does call getAssociate() which initializes the ivar.
JBoss 4.2.2 doesn't work with JSF RI 1.2_07
-------------------------------------------
Key: JBAS-5063
URL:
http://jira.jboss.com/jira/browse/JBAS-5063
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JSF
Affects Versions: JBossAS-4.2.2.GA
Environment: WinXP SP2, JDK 1.6.0_03, JBoss 4.2.2
Reporter: Juergen Zimmermann
Assigned To: Stan Silvert
When I substitute the 2 JSF jars in
$JBOSS_HOME/server/default/deploy/jboss-web.deployer/jsf-libs by the JSF jars of RI 1.2_06
there is no problem.
However, when using 1.2_07 it crashes, e.g. when I invoke
http://localhost:8080/jmx-console :
* The JBoss logo can't be found
* In the console there is the following stacktrace:
2007-12-08 10:19:14,009 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console]] Exception
sending request destroyed lifecycle event to listener instance of class
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NullPointerException
at
com.sun.faces.application.WebappLifecycleListener.syncSessionScopedBeans(WebappLifecycleListener.java:312)
at
com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:87)
at com.sun.faces.config.ConfigureListener.requestDestroyed(ConfigureListener.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:619)
2007-12-08 10:19:14,089 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console]] Exception
sending request destroyed lifecycle event to listener instance of class
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NullPointerException
at
com.sun.faces.application.WebappLifecycleListener.syncSessionScopedBeans(WebappLifecycleListener.java:312)
at
com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:87)
at com.sun.faces.config.ConfigureListener.requestDestroyed(ConfigureListener.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:619)
2007-12-08 10:19:14,189 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console]] Exception
sending request destroyed lifecycle event to listener instance of class
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NullPointerException
at
com.sun.faces.application.WebappLifecycleListener.syncSessionScopedBeans(WebappLifecycleListener.java:312)
at
com.sun.faces.application.WebappLifecycleListener.requestDestroyed(WebappLifecycleListener.java:87)
at com.sun.faces.config.ConfigureListener.requestDestroyed(ConfigureListener.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:619)
--
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