Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser error on Contacts query result #24

Closed
hhravn opened this issue Jul 28, 2016 · 0 comments
Closed

Parser error on Contacts query result #24

hhravn opened this issue Jul 28, 2016 · 0 comments

Comments

@hhravn
Copy link
Contributor

hhravn commented Jul 28, 2016

When trying to parse

<iq from='hhravn@ott.tlt.local' to='hhravn@ott.tlt.local/Smack' id='5vZER-55' type='result'><query xmlns='jabber:iq:roster'><item subscription='none' name='mee' jid='hhravn@ott.tlt.local'><group>Contacts</group></item><item subscription='from' jid='hhravnen@ott.tlt.local'/><item ask='subscribe' subscription='none' jid='hhravn@ott'><group>Contacts</group></item></query></iq>

the following exception is logged

E/AbstractXMPPConnection(10815): Exception in async packet listener
E/AbstractXMPPConnection(10815): java.lang.IllegalArgumentException: Unknown array type class com.facebook.react.bridge.ReadableNativeArray
E/AbstractXMPPConnection(10815): at com.facebook.react.bridge.Arguments.fromArray(Arguments.java:99)
E/AbstractXMPPConnection(10815): at rnxmpp.utils.Parser.parse(Parser.java:69)
E/AbstractXMPPConnection(10815): at rnxmpp.utils.Parser.parse(Parser.java:77)
E/AbstractXMPPConnection(10815): at rnxmpp.utils.Parser.parse(Parser.java:39)
E/AbstractXMPPConnection(10815): at rnxmpp.service.RNXMPPCommunicationBridge.onIQ(RNXMPPCommunicationBridge.java:64)
E/AbstractXMPPConnection(10815): at rnxmpp.service.XmppServiceSmackImpl.processPacket(XmppServiceSmackImpl.java:165)
E/AbstractXMPPConnection(10815): at org.jivesoftware.smack.AbstractXMPPConnection$3.run(AbstractXMPPConnection.java:1096)
E/AbstractXMPPConnection(10815): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AbstractXMPPConnection(10815): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AbstractXMPPConnection(10815): at java.lang.Thread.run(Thread.java:818)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant