Bug 55664

Summary: [websocket] NPE in Util$DecoderMatch during application start
Product: Tomcat 8 Reporter: Niki Dokovski <nickytd>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 8.0.x-trunk   
Target Milestone: ----   
Hardware: PC   
OS: All   
Attachments: TestEncodingDecoding.patch

Description Niki Dokovski 2013-10-17 19:01:26 UTC
Created attachment 30934 [details]
TestEncodingDecoding.patch

NPE is thrown when WS endpoint has associated encoder or decoder with type using generics. Example: Decoder.Text<List<String>>

Here I attach patch of org.apache.tomcat.websocket.pojo.TestEncodingDecoding illustrating the case.
Comment 1 Mark Thomas 2013-10-18 07:45:26 UTC
Thanks for the report and the test case.

I have fixed this in 8.0.x for 8.0.0-RC6 onwards and in 7.0.x for 7.0.48 onwards.