java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from="IreplacedThisToProtectTheInnocent@conversations.im/phone" to="open_chat@conference.igniterealtime.org" type="error" id="asuqg2mi2f"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="open_chat" type="text"/><feature var="http://jabber.org/protocol/muc"/><feature var="muc_public"/><feature var="muc_open"/><feature var="muc_unmoderated"/><feature var="muc_nonanonymous"/><feature var="muc_unsecured"/><feature var="muc_persistent"/><feature var="http://jabber.org/protocol/disco#info"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/muc#roominfo</value></field><field var="muc#roominfo_description" label="Description"><value>Chatroom that hosts the weekly support chat.</value></field><field var="muc#roominfo_subject" label="Subject"><value>Where hope springs eternal! +++ Openfire 4.0.3 is released +++ Smack 4.1.8 and 4.2.0-beta2 released</value></field><field var="muc#roominfo_occupants" label="Number of occupants"><value>5</value></field><field var="x-muc#roominfo_creationdate" label="Creation date"><value>2010-07-13T22:17:38.892Z</value></field></x></query><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">User session terminated</text></error></iq>

JIRA | Guus der Kinderen | 2 months ago
  1. 0

    When an entity sends an IQ stanza to a MUC, the implementation checks if the entity is in the room. If that's not the case, an error is returned. Such an error should not be generated if the original stanza is an IQ result or error. {code}java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from="IreplacedThisToProtectTheInnocent@conversations.im/phone" to="open_chat@conference.igniterealtime.org" type="error" id="asuqg2mi2f"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="open_chat" type="text"/><feature var="http://jabber.org/protocol/muc"/><feature var="muc_public"/><feature var="muc_open"/><feature var="muc_unmoderated"/><feature var="muc_nonanonymous"/><feature var="muc_unsecured"/><feature var="muc_persistent"/><feature var="http://jabber.org/protocol/disco#info"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/muc#roominfo</value></field><field var="muc#roominfo_description" label="Description"><value>Chatroom that hosts the weekly support chat.</value></field><field var="muc#roominfo_subject" label="Subject"><value>Where hope springs eternal! +++ Openfire 4.0.3 is released +++ Smack 4.1.8 and 4.2.0-beta2 released</value></field><field var="muc#roominfo_occupants" label="Number of occupants"><value>5</value></field><field var="x-muc#roominfo_creationdate" label="Creation date"><value>2010-07-13T22:17:38.892Z</value></field></x></query><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">User session terminated</text></error></iq> at org.xmpp.packet.IQ.createResultIQ(IQ.java:384) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.sendErrorPacket(LocalMUCUser.java:164) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:390) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:194) at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:352) at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:606) at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:406) at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:248) at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:323) at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:115) at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78) at org.jivesoftware.openfire.net.SocketReader.processIQ(SocketReader.java:269) at org.jivesoftware.openfire.net.ServerSocketReader.processIQ(ServerSocketReader.java:79) at org.jivesoftware.openfire.net.SocketReader.process(SocketReader.java:238) at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:168) at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:76) at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:145){code}

    JIRA | 2 months ago | Guus der Kinderen
    java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from="IreplacedThisToProtectTheInnocent@conversations.im/phone" to="open_chat@conference.igniterealtime.org" type="error" id="asuqg2mi2f"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="open_chat" type="text"/><feature var="http://jabber.org/protocol/muc"/><feature var="muc_public"/><feature var="muc_open"/><feature var="muc_unmoderated"/><feature var="muc_nonanonymous"/><feature var="muc_unsecured"/><feature var="muc_persistent"/><feature var="http://jabber.org/protocol/disco#info"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/muc#roominfo</value></field><field var="muc#roominfo_description" label="Description"><value>Chatroom that hosts the weekly support chat.</value></field><field var="muc#roominfo_subject" label="Subject"><value>Where hope springs eternal! +++ Openfire 4.0.3 is released +++ Smack 4.1.8 and 4.2.0-beta2 released</value></field><field var="muc#roominfo_occupants" label="Number of occupants"><value>5</value></field><field var="x-muc#roominfo_creationdate" label="Creation date"><value>2010-07-13T22:17:38.892Z</value></field></x></query><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">User session terminated</text></error></iq>
  2. 0

    When an entity sends an IQ stanza to a MUC, the implementation checks if the entity is in the room. If that's not the case, an error is returned. Such an error should not be generated if the original stanza is an IQ result or error. {code}java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from="IreplacedThisToProtectTheInnocent@conversations.im/phone" to="open_chat@conference.igniterealtime.org" type="error" id="asuqg2mi2f"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="open_chat" type="text"/><feature var="http://jabber.org/protocol/muc"/><feature var="muc_public"/><feature var="muc_open"/><feature var="muc_unmoderated"/><feature var="muc_nonanonymous"/><feature var="muc_unsecured"/><feature var="muc_persistent"/><feature var="http://jabber.org/protocol/disco#info"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/muc#roominfo</value></field><field var="muc#roominfo_description" label="Description"><value>Chatroom that hosts the weekly support chat.</value></field><field var="muc#roominfo_subject" label="Subject"><value>Where hope springs eternal! +++ Openfire 4.0.3 is released +++ Smack 4.1.8 and 4.2.0-beta2 released</value></field><field var="muc#roominfo_occupants" label="Number of occupants"><value>5</value></field><field var="x-muc#roominfo_creationdate" label="Creation date"><value>2010-07-13T22:17:38.892Z</value></field></x></query><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">User session terminated</text></error></iq> at org.xmpp.packet.IQ.createResultIQ(IQ.java:384) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.sendErrorPacket(LocalMUCUser.java:164) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:390) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:194) at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:352) at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:606) at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:406) at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:248) at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:323) at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:115) at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78) at org.jivesoftware.openfire.net.SocketReader.processIQ(SocketReader.java:269) at org.jivesoftware.openfire.net.ServerSocketReader.processIQ(ServerSocketReader.java:79) at org.jivesoftware.openfire.net.SocketReader.process(SocketReader.java:238) at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:168) at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:76) at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:145){code}

    Jive Software Open Source | 2 months ago | Guus der Kinderen
    java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from="IreplacedThisToProtectTheInnocent@conversations.im/phone" to="open_chat@conference.igniterealtime.org" type="error" id="asuqg2mi2f"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="open_chat" type="text"/><feature var="http://jabber.org/protocol/muc"/><feature var="muc_public"/><feature var="muc_open"/><feature var="muc_unmoderated"/><feature var="muc_nonanonymous"/><feature var="muc_unsecured"/><feature var="muc_persistent"/><feature var="http://jabber.org/protocol/disco#info"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/muc#roominfo</value></field><field var="muc#roominfo_description" label="Description"><value>Chatroom that hosts the weekly support chat.</value></field><field var="muc#roominfo_subject" label="Subject"><value>Where hope springs eternal! +++ Openfire 4.0.3 is released +++ Smack 4.1.8 and 4.2.0-beta2 released</value></field><field var="muc#roominfo_occupants" label="Number of occupants"><value>5</value></field><field var="x-muc#roominfo_creationdate" label="Creation date"><value>2010-07-13T22:17:38.892Z</value></field></x></query><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">User session terminated</text></error></iq>
  3. 0

    Can't send or receive presence with ASmack

    Stack Overflow | 4 years ago | Sunkas
    java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: &lt;iq id="566-4" type="error" from="xxx.tripnet.se/f55aea72" to="xxx.tripnet.se"&gt; &lt;error/&gt;&lt;error type="cancel" code="501"&gt; &lt;feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/&gt;&lt;/error&gt; &lt;ping xmlns="urn:xmpp:ping"/&gt;&lt;/iq&gt;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [OF-772] IQ type="result" getting java.lang.IllegalArgumentException - Jive Software Open Source

    igniterealtime.org | 11 months ago
    java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from= to= id= type= ><vCard xmlns= ><FN>James Spann</FN><URL>https:
  6. 0

    Current development version hitting these two issues related to not routing IQ result stanzas {code} 2014.04.22 16:49:46 org.jivesoftware.openfire.handler.IQHandler - Internal server error java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq type="error" to="igniterealtime.org" id="429-29" from="raju@igniterealtime.org/c477b583"><ping xmlns="urn:xmpp:ping"/><error type="cancel" code="501"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq> at org.xmpp.packet.IQ.createResultIQ(IQ.java:384) at org.jivesoftware.openfire.handler.IQPingHandler.handleIQ(IQPingHandler.java:58) at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:65) at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:375) at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:122) at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76) at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:330) at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler.java:93) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:295) at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:187) at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandler.java:181) at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:570) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.common.IoFilterAdapter.messageReceived(IoFilterAdapter.java:80) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(SimpleProtocolDecoderOutput.java:58) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:185) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:239) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:283) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51) at java.lang.Thread.run(Thread.java:744) {code} and {code} 2014.04.22 08:45:52 org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Internal server error java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from="xxx@gmail.com/xxxx" to="room@conference.weather.im/Austin Smith Cedar Bluff" id="10" type="result"><vCard xmlns="vcard-temp"><FN>James Spann</FN><URL>https://plus.google.com/+JamesSpann</URL><PHOTO><TYPE>image/jpeg</TYPE><BINVAL>....2Q==</BINVAL></PHOTO></vCard></iq> at org.xmpp.packet.IQ.createResultIQ(IQ.java:384) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.sendErrorPacket(LocalMUCUser.java:163) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:387) at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:191) at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:308) at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:587) at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:391) at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:242) at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:327) at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:122) at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:76) at org.jivesoftware.openfire.net.SocketReader.processIQ(SocketReader.java:261) at org.jivesoftware.openfire.net.ServerSocketReader.access$001(ServerSocketReader.java:60) at org.jivesoftware.openfire.net.ServerSocketReader$1.run(ServerSocketReader.java:96) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    Jive Software Open Source | 3 years ago | Daryl Herzmann
    java.lang.IllegalArgumentException: IQ must be of type 'set' or 'get'. Original IQ: <iq from="xxx@gmail.com/xxxx" to="room@conference.weather.im/Austin Smith Cedar Bluff" id="10" type="result"><vCard xmlns="vcard-temp"><FN>James Spann</FN><URL>https://plus.google.com/+JamesSpann</URL><PHOTO><TYPE>image/jpeg</TYPE><BINVAL>....2Q==</BINVAL></PHOTO></vCard></iq>

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      IQ must be of type 'set' or 'get'. Original IQ: <iq from="IreplacedThisToProtectTheInnocent@conversations.im/phone" to="open_chat@conference.igniterealtime.org" type="error" id="asuqg2mi2f"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" name="open_chat" type="text"/><feature var="http://jabber.org/protocol/muc"/><feature var="muc_public"/><feature var="muc_open"/><feature var="muc_unmoderated"/><feature var="muc_nonanonymous"/><feature var="muc_unsecured"/><feature var="muc_persistent"/><feature var="http://jabber.org/protocol/disco#info"/><x xmlns="jabber:x:data" type="result"><field var="FORM_TYPE" type="hidden"><value>http://jabber.org/protocol/muc#roominfo</value></field><field var="muc#roominfo_description" label="Description"><value>Chatroom that hosts the weekly support chat.</value></field><field var="muc#roominfo_subject" label="Subject"><value>Where hope springs eternal! +++ Openfire 4.0.3 is released +++ Smack 4.1.8 and 4.2.0-beta2 released</value></field><field var="muc#roominfo_occupants" label="Number of occupants"><value>5</value></field><field var="x-muc#roominfo_creationdate" label="Creation date"><value>2010-07-13T22:17:38.892Z</value></field></x></query><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">User session terminated</text></error></iq>

      at org.xmpp.packet.IQ.createResultIQ()
    2. org.xmpp.packet
      IQ.createResultIQ
      1. org.xmpp.packet.IQ.createResultIQ(IQ.java:384)
      1 frame
    3. org.jivesoftware.openfire
      BlockingReadingMode.run
      1. org.jivesoftware.openfire.muc.spi.LocalMUCUser.sendErrorPacket(LocalMUCUser.java:164)
      2. org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:390)
      3. org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:194)
      4. org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiUserChatServiceImpl.java:352)
      5. org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents.process(InternalComponentManager.java:606)
      6. org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImpl.java:406)
      7. org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.java:248)
      8. org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:323)
      9. org.jivesoftware.openfire.IQRouter.route(IQRouter.java:115)
      10. org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78)
      11. org.jivesoftware.openfire.net.SocketReader.processIQ(SocketReader.java:269)
      12. org.jivesoftware.openfire.net.ServerSocketReader.processIQ(ServerSocketReader.java:79)
      13. org.jivesoftware.openfire.net.SocketReader.process(SocketReader.java:238)
      14. org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:168)
      15. org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:76)
      15 frames