[
https://jira.jboss.org/jira/browse/JBWEB-148?page=com.atlassian.jira.plug...
]
Remy Maucherat resolved JBWEB-148.
----------------------------------
Fix Version/s: JBossWeb-3.0.0.GA
Resolution: Done
I have looked at the code, and other places in Request check for a null contexts. So I
have added checks as well in these places. However, this may end up hiding another issue.
NPE at
org.apache.catalina.connector.Request.removeAttribute(Request.java:1373)
-------------------------------------------------------------------------------
Key: JBWEB-148
URL:
https://jira.jboss.org/jira/browse/JBWEB-148
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tomcat
Affects Versions: JBossWeb-2.1.3.GA
Environment: JBoss 5.1.0.GA JBoss Web 2.1.3
Reporter: Iyad Elian
Assignee: Remy Maucherat
Fix For: JBossWeb-3.0.0.GA
we are getting this NPE intermittently from different places in the JSF/Seam webapp. can
you please let me if you are aware of the issue or know how to workaround. I can try to
upgrade to JBossWeb-2.1.4.GA but the latest JBoss 5.1.0.GA bundles the 2.1.3 version?
java.lang.NullPointerException
at org.apache.catalina.connector.Request.removeAttribute(Request.java:1373)
at
org.apache.catalina.connector.RequestFacade.removeAttribute(RequestFacade.java:514)
at
javax.servlet.ServletRequestWrapper.removeAttribute(ServletRequestWrapper.java:295)
at com.sun.faces.context.RequestMap.remove(ExternalContextImpl.java:1096)
at org.jboss.seam.contexts.BasicContext.remove(BasicContext.java:74)
at org.jboss.seam.Component.newInstance(Component.java:2103)
at org.jboss.seam.Component.getInstance(Component.java:1988)
at org.jboss.seam.Component.getInstance(Component.java:1967)
at org.jboss.seam.Component.getInstance(Component.java:1961)
at org.jboss.seam.Component.getInstance(Component.java:1934)
at org.jboss.seam.Component.getInstance(Component.java:1929)
at org.jboss.seam.core.Events.instance(Events.java:157)
at org.jboss.seam.core.Events.exists(Events.java:152)
at org.jboss.seam.contexts.BasicContext.set(BasicContext.java:81)
at
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:39)
at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at
org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
at
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
--
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