From: Dmitri M. (JIRA) <ji...@co...> - 2007-10-30 09:04:07
|
NPE on publish message to channel other that /meta/** or /service/** -------------------------------------------------------------------- Key: JETTY-455 URL: http://jira.codehaus.org/browse/JETTY-455 Project: Jetty Issue Type: Bug Components: Bayeux Reporter: Dmitri Motylev Priority: Critical Attachments: npe_on_publish.patch According paragraph 3.8 of bayeux spec message id could be null if message sent/delivered to channels other than /meta/** or /services/**. In that cases id.toString() leads to NPE on publish in AbstractBayeux.java The case was found during testing FlexComet with jetty cometd from svn. Attached file is proposed fix for that. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |