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.
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
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.