Spark doesn't list rooms when subject has a null value

Description

When Openfire sends am xml with null value of room's subject, such room is not listed in the room browser. Probably it should still show such room (other clients do) and show n/a or null instead of the subject.

Environment

None

Activity

Show:

Walter Ebeling February 24, 2013 at 9:29 AM

Mass closing of resolved issues

Tim Jentz February 8, 2012 at 12:27 PM

smack patch is now integrated in the smack release, so this issue is fixed.

Walter Ebeling December 18, 2011 at 5:11 PM

Waiting for Smack to integrate fix for Smack 362

Tim Jentz December 15, 2011 at 4:05 PM
Edited

I reviewed this issue and it seems that its an error related to smack.
If the subject is for that room is null, there will be no value element in the muc#roominfo.
RoomInfo.java in smack will only check if the subject is null, but not if the subject entry has
any values. In this specific case, this will leed to an NoSuchElementException exception.

I will provide a patch for that issue.

edit
Its an NoSuchElementException and no nullpointer exception

Walter Ebeling December 8, 2011 at 5:17 AM

Please review and fix.

Fixed

Priority

Assignee

Reporter

Affects versions

Fix versions

Components

Ignite Forum URL

Created November 26, 2011 at 4:57 PM
Updated October 28, 2020 at 1:44 PM
Resolved February 8, 2012 at 12:27 PM