Issue Details (XML | Word | Printable)

Key: JETTY-1170
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Simone Bordet
Reporter: Simone Bordet
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetty

NPE on client when server-side extension returns null

Created: 20/Jan/10 08:01 AM   Updated: 20/Jan/10 08:06 AM   Resolved: 20/Jan/10 08:06 AM
Component/s: Bayeux
Affects Version/s: 6.1.22
Fix Version/s: 6.1.23

Time Tracking:
Not Specified


 Description  « Hide

When a server-side extension deletes a message returning null, the client receives a Bayeux message without channel (404::Message Deleted), which leads to a NPE when processing the extensions (see BayeuxClient.extendIn()).



Simone Bordet added a comment - 20/Jan/10 08:06 AM

Fixed by adding a guard against the NPE. Such messages will not be processed by the extensions.