Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Rahul Matte
, 1 year ago
java.lang.NullPointerException: Attempt to get length of null array	at org.jivesoftware.smack.util.stringencoder.Base64.encode(Base64.java:61)	at org.jivesoftware.smack.util.stringencoder.Base64.encodeToString(Base64.java:43)	at org.jivesoftware.smack.sasl.core.SCRAMSHA1Mechanism.evaluateChallenge(SCRAMSHA1Mechanism.java:201)	at org.jivesoftware.smack.sasl.SASLMechanism.challengeReceived(SASLMechanism.java:224)	at org.jivesoftware.smack.SASLAuthentication.challengeReceived(SASLAuthentication.java:328)	at org.jivesoftware.smack.SASLAuthentication.authenticated(SASLAuthentication.java:347)	at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1069)	at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(XMPPTCPConnection.java:931)	at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:951)