[jboss-jira] [JBoss JIRA] (JBWEB-298) NPE on addFilter in WsServerContainer
Bartosz Baranowski (JIRA)
issues at jboss.org
Tue May 13 05:40:56 EDT 2014
[ https://issues.jboss.org/browse/JBWEB-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967406#comment-12967406 ]
Bartosz Baranowski commented on JBWEB-298:
------------------------------------------
Version affected: JBossWeb-7.4.2.FINAL I can't find anything in 8.0.x
> 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