mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
1b2521269e
by calling String.equals() on the constant string and not on the return value of parser.getName(). Also perform the access to 'parser' on a different LOC than equals(). This should help debugging things like okt 25, 2017 2:02:54 PM org.jivesoftware.smack.AbstractXMPPConnection callConnectionClosedOnErrorListener WARNING: Connection XMPPTCPConnection[***@***/***] (0) closed with error java.lang.NullPointerException at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1194) at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:982) at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:998) at java.lang.Thread.run(Thread.java:745) which where recently reported on the forums. |
||
---|---|---|
.. | ||
src | ||
build.gradle |