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

Smack libs #29

Open
emptyway opened this issue Jun 29, 2017 · 0 comments
Open

Smack libs #29

emptyway opened this issue Jun 29, 2017 · 0 comments

Comments

@emptyway
Copy link

I see you are using your static Smack libraries, tagged as 4.2.0-beta3. I tried to pull it from maven, but it throws errors when casting aBoBExtension. Neither the release version 4.2.0 is compatible throwing the same error message.

I believe you did some modifications on it, right? Would you mind sharing it? Thank you

Exception in async packet listener
  java.lang.ClassCastException: org.jivesoftware.smackx.xhtmlim.packet.XHTMLExtension cannot be cast to org.jivesoftware.smackx.bob.element.BoBExtension
      at org.jivesoftware.smackx.bob.element.BoBExtension.from(BoBExtension.java:93)
      at com.messenger.xmpp.XMPPSession.manageMessageReceived(XMPPSession.java:806)
      at com.messenger.xmpp.XMPPSession.saveMessage(XMPPSession.java:717)
      at com.messenger.xmpp.XMPPSession.access$600(XMPPSession.java:102)
      at com.messenger.xmpp.XMPPSession$3.processStanza(XMPPSession.java:256)
      at org.jivesoftware.smack.AbstractXMPPConnection$4.run(AbstractXMPPConnection.java :1164)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      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