Uploaded image for project: 'Smack'
  1. SMACK-905

The class org.jivesoftware.smackx.offline.packet.OfflineMessageInfo has no ELEMENT, NAMESPACE or QNAME member

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: 4.4.2
    • Fix versions: 4.4.3
    • Components: Extensions
    • Labels:
      None

      Description

      {{W/AbstractXMPPConnection: Connection XMPPTCPConnection[x@xyz.com/587a8g38ss] (5) closed with error
      java.lang.IllegalArgumentException: The class org.jivesoftware.smackx.offline.packet.OfflineMessageInfo has no ELEMENT, NAMESPACE or QNAME member. Consider adding QNAME
      at org.jivesoftware.smack.util.XmppElementUtil.getQNameFor(XmppElementUtil.java:66)
      at org.jivesoftware.smack.packet.StanzaView.getExtension(StanzaView.java:91)
      at org.jivesoftware.smackx.offline.OfflineMessageManager$1.accept(OfflineMessageManager.java:175)
      at org.jivesoftware.smack.filter.AndFilter.accept(AndFilter.java:61)
      at org.jivesoftware.smack.StanzaCollector.processStanza(StanzaCollector.java:347)
      at org.jivesoftware.smack.AbstractXMPPConnection.invokeStanzaCollectorsAndNotifyRecvListeners(AbstractXMPPConnection.java:1612)
      at org.jivesoftware.smack.AbstractXMPPConnection.processStanza(AbstractXMPPConnection.java:1483)
      at org.jivesoftware.smack.AbstractXMPPConnection.parseAndProcessStanza(AbstractXMPPConnection.java:1461)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$1000(XMPPTCPConnection.java:130)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:969)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$700(XMPPTCPConnection.java:913)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:936)
      at java.lang.Thread.run(Thread.java:919)
      Caused by: java.lang.NoSuchFieldException: ELEMENT
      at java.lang.Class.getField(Class.java:1604)
      at org.jivesoftware.smack.util.XmppElementUtil.getQNameFor(XmppElementUtil.java:62)
      at org.jivesoftware.smack.packet.StanzaView.getExtension(StanzaView.java:91)
      at org.jivesoftware.smackx.offline.OfflineMessageManager$1.accept(OfflineMessageManager.java:175)
      at org.jivesoftware.smack.filter.AndFilter.accept(AndFilter.java:61)
      at org.jivesoftware.smack.StanzaCollector.processStanza(StanzaCollector.java:347)
      at org.jivesoftware.smack.AbstractXMPPConnection.invokeStanzaCollectorsAndNotifyRecvListeners(AbstractXMPPConnection.java:1612)
      at org.jivesoftware.smack.AbstractXMPPConnection.processStanza(AbstractXMPPConnection.java:1483)
      at org.jivesoftware.smack.AbstractXMPPConnection.parseAndProcessStanza(AbstractXMPPConnection.java:1461)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$1000(XMPPTCPConnection.java:130)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:969)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$700(XMPPTCPConnection.java:913)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:936)
      at java.lang.Thread.run(Thread.java:919) }}

        Attachments

          Activity

            People

            • Assignee:
              Florian Schmaus
              Reporter:
              Florian Schmaus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: