java.lang.IllegalArgumentException: bad base-64

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

java.lang.IllegalArgumentException: bad base-64
at android.util.Base64.decode(Base64.java:161)
at android.util.Base64.decode(Base64.java:136)
at android.util.Base64.decode(Base64.java:118)
at eu.siacs.conversations.crypto.axolotl.XmppAxolotlMessage.(XmppAxolotlMessage.java:102)
at eu.siacs.conversations.crypto.axolotl.XmppAxolotlMessage.fromElement(XmppAxolotlMessage.java:134)
at eu.siacs.conversations.parser.MessageParser.parseAxolotlChat(MessageParser.java:151)
at eu.siacs.conversations.parser.MessageParser.onMessagePacketReceived(MessageParser.java:419)
at eu.siacs.conversations.xmpp.XmppConnection.processMessage(XmppConnection.java:696)
at eu.siacs.conversations.xmpp.XmppConnection.processStream(XmppConnection.java:576)
at eu.siacs.conversations.xmpp.XmppConnection.processStream(XmppConnection.java:471)
at eu.siacs.conversations.xmpp.XmppConnection.switchOverToTls(XmppConnection.java:741)
at eu.siacs.conversations.xmpp.XmppConnection.processStream(XmppConnection.java:455)
at eu.siacs.conversations.xmpp.XmppConnection.connect(XmppConnection.java:355)
at eu.siacs.conversations.xmpp.XmppConnection.run(XmppConnection.java:444)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

2 times, 9 months ago
5 times, 1 year ago
Once, 1 year ago
15 times, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.