[jboss-jira] [JBoss JIRA] (JBWEB-298) NPE on addFilter in WsServerContainer
Remy Maucherat (JIRA)
issues at jboss.org
Wed Sep 3 04:17:00 EDT 2014
[ https://issues.jboss.org/browse/JBWEB-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Remy Maucherat resolved JBWEB-298.
----------------------------------
Fix Version/s: JBossWeb-7.5.0.GA
Resolution: Done
r2499 in web.
> 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
> Fix For: JBossWeb-7.5.0.GA
>
> 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.3.1#6329)
More information about the jboss-jira
mailing list