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.

View | Details | Raw Unified | Return to bug 176882
Collapse All | Expand All

(-)PacketParserUtils.java (+5 lines)
Lines 32-37 Link Here
32
import java.util.HashMap;
32
import java.util.HashMap;
33
import java.util.List;
33
import java.util.List;
34
import java.util.Map;
34
import java.util.Map;
35
import org.xmlpull.v1.XmlPullParserException;
35
36
36
/**
37
/**
37
 * Utility class that helps to parse packets. Any parsing packets method that must be shared
38
 * Utility class that helps to parse packets. Any parsing packets method that must be shared
Lines 86-94 Link Here
86
                }
87
                }
87
                else if (elementName.equals("body")) {
88
                else if (elementName.equals("body")) {
88
                    String xmlLang = getLanguageAttribute(parser);
89
                    String xmlLang = getLanguageAttribute(parser);
90
                    try {
89
                    body = parser.nextText();
91
                    body = parser.nextText();
90
                    message.addBody(xmlLang, body);
92
                    message.addBody(xmlLang, body);
93
                    } catch (XmlPullParserException ex) {
94
                        ex.printStackTrace();
91
                }
95
                }
96
                }
92
                else if (elementName.equals("thread")) {
97
                else if (elementName.equals("thread")) {
93
                    if (thread == null) {
98
                    if (thread == null) {
94
                        thread = parser.nextText();
99
                        thread = parser.nextText();

Return to bug 176882