[jboss-jira] [JBoss JIRA] (JBWEB-298) NPE on addFilter in WsServerContainer
Bartosz Baranowski (JIRA)
issues at jboss.org
Tue May 13 05:20:56 EDT 2014
Bartosz Baranowski created JBWEB-298:
----------------------------------------
Summary: NPE on addFilter in WsServerContainer
Key: JBWEB-298
URL: https://issues.jboss.org/browse/JBWEB-298
Project: JBoss Web
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Tomcat
Reporter: Bartosz Baranowski
Assignee: Bartosz Baranowski
Priority: Minor
I'm not sure if this is just faulty test/edge case/WFLY/EAP integration failure, but there is case when org.apache.tomcat.websocket.server.WsSci is scheduled and triggered twice. This makes WsServerContainer throw NPE, since servletContext.addFilter[1] return null if filter with specified name exist.
Regardless this case being a valid one or not, WsServerContainer should handle this either with proper message or different exception than NPE.
I'm assigning this to myself for time being( until I can establish if WFLY/EAP being at fault and procure testcase )
[1] https://source.jboss.org/browse/JBossWeb/branches/7.4.x/src/main/java/org/apache/tomcat/websocket/server/WsServerContainer.java?r=2344&r=2331#to131
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list