https://bz.apache.org/bugzilla/show_bug.cgi?id=65458
Mark Thomas <ma...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #1 from Mark Thomas <ma...@apache.org> --- This is why the method: public <T> void addMessageHandler(Class<T> clazz, Whole<T> handler) was added to WsSession. There are some instances, and this is one, where the generic type isn't available at run time. We could catch the NPE and have Util.getGenericType() return null but that will just move the NPE one step up the call stack. There doesn't seem much point in adding the code to do that. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org