[
https://jira.jboss.org/jira/browse/JBAS-5864?page=com.atlassian.jira.plug...
]
Arjen Smedes commented on JBAS-5864:
------------------------------------
Here's an interesting point: I accidentally figured out that - not entirely sure yet,
but it's a start - the error mentioned above only appears in combination with other
errors. As I said, it wasn't blocking for me, so I continued my development and
included spring-security. Since that wasn't going smoothly, I kept keeping all sorts
of errors, but right now, I made it all happen and the stacktrace as mentioned in this
issue is gone.
So I took out the Spring configuration alltogether (well, disabled it in web.xml) and the
issue was gone as well.
Then I tried another thing: undeploy the war file by removing it from the deploy
directory. That made the error appear again. A new deploy from Netbeans didn't show
the error.
Hope that helps analyzing the problem.
Redeploy shows (non-blocking) stacktrace when destroying context
----------------------------------------------------------------
Key: JBAS-5864
URL:
https://jira.jboss.org/jira/browse/JBAS-5864
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Deployers, JSF
Affects Versions: JBossAS-4.2.3.GA
Environment: Kubuntu, JDK 1.6
Reporter: Arjen Smedes
Assignee: Stan Silvert
Attachments: server.log.gz
Hi, running jdk1.6.0_02, Maven2 (2.0.7) and jboss maven plugin (1.3.1) to deploy JSF-1.2
webapp into JBOSS-4.2.3.GA. Redeploy generates the following stacktrace:
21:56:38,684 INFO [TomcatDeployer] undeploy, ctxPath=/upstream2,
warUrl=.../tmp/deploy/tmp33776upstream2-exp.war/
21:56:38,693 ERROR [[/upstream2]] Exception sending context destroyed event to listener
instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.NullPointerException
at
com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:234)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3895)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4527)
at org.apache.catalina.core.ContainerBase.destroy(ContainerBase.java:1163)
at org.apache.catalina.core.StandardContext.destroy(StandardContext.java:4617)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
After that, the application runs normally (as it seems, it's a HelloWorld for JSF, so
not much functionality built in as yet).
--
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