XMLUtil.prettyFormatXml() throws on some Android devices

Description

Caused by: java.lang.IllegalArgumentException: Not supported: indent-number at org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:580) at org.jivesoftware.smack.util.XmlUtil.<clinit>(XmlUtil.java:38) at org.jivesoftware.smack.util.XmlUtil.prettyFormatXml(XmlUtil.java:42) at io.nea.workwell.chat.connection.StethoXmppInterceptor.onStanzaReceived(StethoXmppInterceptor.kt:39) at io.nea.workwell.chat.connection.WorkwellChatConnection$setupXmppConnection$5.processStanza(WorkwellChatConnection.kt:417) at org.jivesoftware.smack.AbstractXMPPConnection$5.run(AbstractXMPPConnection.java:1198) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at java.lang.Thread.run(Thread.java:784)

Environment

None

Activity

Fixed

Details

Assignee

Reporter

Expected Effort

Ignite Forum URL

Components

Fix versions

Affects versions

Priority

Created September 3, 2018 at 10:03 AM
Updated October 28, 2020 at 1:28 PM
Resolved October 14, 2018 at 10:51 AM