This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.xmlpull.v1.XmlPullParserException;
/**
* Utility class that helps to parse packets. Any parsing packets method that must be shared
}
else if (elementName.equals("body")) {
String xmlLang = getLanguageAttribute(parser);
try {
body = parser.nextText();
message.addBody(xmlLang, body);
} catch (XmlPullParserException ex) {
ex.printStackTrace();
else if (elementName.equals("thread")) {
if (thread == null) {
thread = parser.nextText();