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.

This is ASF Bugzilla: the Apache Software Foundation bug system. In case
of problems with the functioning of ASF Bugzilla, please contact
bugzilla-admin@apache.org.
Please Note: this e-mail address is only for reporting problems
with ASF Bugzilla. Mail about any other subject will be silently
ignored.