[jboss-jira] [JBoss JIRA] (JBWEB-298) NPE on addFilter in WsServerContainer
Bartosz Baranowski (JIRA)
issues at jboss.org
Wed May 14 02:50:56 EDT 2014
[ https://issues.jboss.org/browse/JBWEB-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bartosz Baranowski updated JBWEB-298:
-------------------------------------
Issue Type: Bug (was: Feature Request)
Assignee: Remy Maucherat (was: Bartosz Baranowski)
> NPE on addFilter in WsServerContainer
> -------------------------------------
>
> Key: JBWEB-298
> URL: https://issues.jboss.org/browse/JBWEB-298
> Project: JBoss Web
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Tomcat
> Reporter: Bartosz Baranowski
> Assignee: Remy Maucherat
> Priority: Minor
> Attachments: jboss-websocket-hello.war
>
>
> 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