diff --git a/source/org/jivesoftware/smack/util/PacketParserUtils.java b/source/org/jivesoftware/smack/util/PacketParserUtils.java index c7ac43f26..855a5cc2d 100644 --- a/source/org/jivesoftware/smack/util/PacketParserUtils.java +++ b/source/org/jivesoftware/smack/util/PacketParserUtils.java @@ -297,7 +297,7 @@ public class PacketParserUtils { public static XMPPError parseError(XmlPullParser parser) throws Exception { final String errorNamespace = "urn:ietf:params:xml:ns:xmpp-stanzas"; String errorCode = "-1"; - String type = ""; + String type = null; String message = null; String condition = null; List extensions = new ArrayList();