Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-763

smack integration tests fail when using admin account on ejabberd

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0
    • Fix Version/s: None
    • Labels:
    • Environment:
      Smack integration tests on an ejabberd server

      Description

      When executing 'gradle integrationTest', I get the following exceptions:

      INFORMATION: SmackIntegrationTestFramework [m0spp]: Starting
      Mai 17, 2017 9:04:58 PM org.igniterealtime.smack.inttest.SmackIntegrationTestFramework run
      INFORMATION: SmackIntegrationTestFramework [m0spp]: Finished scanning for tests, preparing environment
      Mai 17, 2017 9:04:58 PM org.jivesoftware.smack.util.DNSUtil resolveDomain
      INFORMATION: Could not resolve DNS SRV resource records for _xmpp-client._tcp.my-server.tld. Consider adding those.
      
      21:04:58 SENT (0): <stream:stream xmlns='jabber:client' to='my-server.tld' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='smack-inttest-one-m0spp@my-server.tld' xml:lang='en'>
      21:04:59 RECV (0): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='13017622754347886015' from='my-server.tld' version='1.0' xml:lang='de'>
      21:04:59 RECV (0): <stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='PXc8x7mNN6cEIZgjsEishHW4d3E='/><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>
      21:04:59 SENT (0): <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>
      21:04:59 RECV (0): <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
      21:05:00 SENT (0): <stream:stream xmlns='jabber:client' to='my-server.tld' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='smack-inttest-one-m0spp@my-server.tld' xml:lang='en'>
      21:05:00 RECV (0): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6131175062903382879' from='my-server.tld' version='1.0' xml:lang='de'>
      21:05:00 RECV (0): <stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='PXc8x7mNN6cEIZgjsEishHW4d3E='/><register xmlns='http://jabber.org/features/iq-register'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>SCRAM-SHA-1</mechanism><mechanism>PLAIN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features>
      21:05:00 SENT (0): <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='SCRAM-SHA-1'>biwsbj1zbWFjay1pbnRlZ3JhdGlvbixyPWFcT1Ffb1tRVTxwQWMlPjgzaCtcc35bPz9fZHErM1pu</auth>
      21:05:00 RECV (0): <challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cj1hXE9RX29bUVU8cEFjJT44M2grXHN+Wz8/X2RxKzNabmNFSWZEbDRuTldwSnQ0SGxBNEpmTWc9PSxzPW1WL0hhMmljWGpUdU1jeHNHVGdhN1E9PSxpPTQwOTY=</challenge>
      21:05:00 SENT (0): <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Yz1iaXdzLHI9YVxPUV9vW1FVPHBBYyU+ODNoK1xzfls/P19kcSszWm5jRUlmRGw0bk5XcEp0NEhsQTRKZk1nPT0scD1pMFNtZDhXUThwOGd1ZkdYdE1aWXp2SktPNG89</response>
      21:05:00 RECV (0): <success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dj12eGtHTWpaVUdaZ2s2L0pLT0JZb0ZEc2tLZkU9</success>
      21:05:00 SENT (0): <stream:stream xmlns='jabber:client' to='my-server.tld' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='smack-inttest-one-m0spp@my-server.tld' id='6131175062903382879' xml:lang='en'>
      21:05:00 RECV (0): <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8457633463059337864' from='my-server.tld' version='1.0' xml:lang='de'>
      21:05:00 RECV (0): <stream:features><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.process-one.net/en/ejabberd/' ver='PXc8x7mNN6cEIZgjsEishHW4d3E='/><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/><session xmlns='urn:ietf:params:xml:ns:xmpp-session'><optional/></session><ver xmlns='urn:xmpp:features:rosterver'/><sm xmlns='urn:xmpp:sm:2'/><sm xmlns='urn:xmpp:sm:3'/><csi xmlns='urn:xmpp:csi:0'/></stream:features>
      21:05:00 SENT (0): <iq id='9j2L8-5' type='set'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>one-m0spp</resource></bind></iq>
      21:05:00 RECV (0): <iq id='9j2L8-5' type='result'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><jid>admin-account@my-server.tld/one-m0spp</jid></bind></iq>
      21:05:00 SENT (0): <enable xmlns='urn:xmpp:sm:3' resume='true'/>
      21:05:00 RECV (0): <enabled xmlns='urn:xmpp:sm:3' id='g2gCbQAAAAlvbmUtbTBzcHBoA2IAAAXXYgAAuxphDw==' resume='true' max='300'/>
      21:05:00 User logged (0): admin-account@my-server.tld:5222/one-m0spp
      21:05:00 SENT (0): <iq id='9j2L8-7' type='get'><query xmlns='jabber:iq:roster'></query></iq><iq to='my-server.tld' id='9j2L8-8' type='get'><query xmlns='http://jabber.org/protocol/disco#info' node='http://www.process-one.net/en/ejabberd/#PXc8x7mNN6cEIZgjsEishHW4d3E='></query></iq>
      21:05:00 RECV (0): <iq from='admin-account@my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-7' type='result'><query xmlns='jabber:iq:roster'/></iq>
      21:05:00 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:00 SENT (0): <a xmlns='urn:xmpp:sm:3' h='1'/>
      21:05:00 RECV (0): <iq from='my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-8' type='result'><query xmlns='http://jabber.org/protocol/disco#info' node='http://www.process-one.net/en/ejabberd/#PXc8x7mNN6cEIZgjsEishHW4d3E='><identity category='pubsub' type='pep'/><identity category='server' type='im' name='ejabberd'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/offline'/><feature var='http://jabber.org/protocol/pubsub'/><feature var='http://jabber.org/protocol/pubsub#access-authorize'/><feature var='http://jabber.org/protocol/pubsub#access-open'/><feature var='http://jabber.org/protocol/pubsub#access-presence'/><feature var='http://jabber.org/protocol/pubsub#access-whitelist'/><feature var='http://jabber.org/protocol/pubsub#auto-create'/><feature var='http://jabber.org/protocol/pubsub#auto-subscribe'/><feature var='http://jabber.org/protocol/pubsub#collections'/><feature var='http://jabber.org/protocol/pubsub#config-node'/><feature var='http://jabber.org/protocol/pubsub#create-and-configure'/><feature var='http://jabber.org/protocol/pubsub#create-nodes'/><feature var='http://jabber.org/protocol/pubsub#delete-items'/><feature var='http://jabber.org/protocol/pubsub#delete-nodes'/><feature var='http://jabber.org/protocol/pubsub#filtered-notifications'/><feature var='http://jabber.org/protocol/pubsub#get-pending'/><feature var='http://jabber.org/protocol/pubsub#instant-nodes'/><feature var='http://jabber.org/protocol/pubsub#item-ids'/><feature var='http://jabber.org/protocol/pubsub#last-published'/><feature var='http://jabber.org/protocol/pubsub#manage-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#member-affiliation'/><feature var='http://jabber.org/protocol/pubsub#modify-affiliations'/><feature var='http://jabber.org/protocol/pubsub#outcast-affiliation'/><feature var='http://jabber.org/protocol/pubsub#persistent-items'/><feature var='http://jabber.org/protocol/pubsub#presence-notifications'/><feature var='http://jabber.org/protocol/pubsub#presence-subscribe'/><feature var='http://jabber.org/protocol/pubsub#publish'/><feature var='http://jabber.org/protocol/pubsub#publish-only-affiliation'/><feature var='http://jabber.org/protocol/pubsub#publisher-affiliation'/><feature var='http://jabber.org/protocol/pubsub#purge-nodes'/><feature var='http://jabber.org/protocol/pubsub#retract-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-affiliations'/><feature var='http://jabber.org/protocol/pubsub#retrieve-default'/><feature var='http://jabber.org/protocol/pubsub#retrieve-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#shim'/><feature var='http://jabber.org/protocol/pubsub#subscribe'/><feature var='http://jabber.org/protocol/pubsub#subscription-notifications'/><feature var='http://jabber.org/protocol/stats'/><feature var='iq'/><feature var='jabber:iq:last'/><feature var='jabber:iq:privacy'/><feature var='jabber:iq:register'/><feature var='jabber:iq:version'/><feature var='msgoffline'/><feature var='presence'/><feature var='urn:xmpp:blocking'/><feature var='urn:xmpp:carbons:1'/><feature var='urn:xmpp:carbons:2'/><feature var='urn:xmpp:mam:0'/><feature var='urn:xmpp:mam:1'/><feature var='urn:xmpp:mam:tmp'/><feature var='urn:xmpp:ping'/><feature var='urn:xmpp:time'/><feature var='vcard-temp'/></query></iq>
      21:05:00 SENT (0): <iq to='my-server.tld' id='9j2L8-11' type='get'><query xmlns='http://jabber.org/protocol/disco#items'></query></iq>
      21:05:00 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:00 SENT (0): <a xmlns='urn:xmpp:sm:3' h='2'/>
      21:05:01 RECV (0): <iq from='my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-11' type='result'><query xmlns='http://jabber.org/protocol/disco#items'><item jid='conference.my-server.tld'/><item jid='echo.my-server.tld'/><item jid='multicast.my-server.tld'/><item jid='pubsub.my-server.tld'/><item jid='upload.my-server.tld'/><item jid='my-server.tld' node='announce' name='Announcements'/><item jid='my-server.tld' name='Configuration' node='config'/><item jid='my-server.tld' name='User Management' node='user'/><item jid='my-server.tld' name='Online Users' node='online users'/><item jid='my-server.tld' name='All Users' node='all users'/><item jid='my-server.tld' name='Outgoing s2s Connections' node='outgoing s2s'/><item jid='my-server.tld' name='Running Nodes' node='running nodes'/><item jid='my-server.tld' name='Stopped Nodes' node='stopped nodes'/></query></iq>
      21:05:01 SENT (0): <iq to='conference.my-server.tld' id='9j2L8-13' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='3'/>
      21:05:01 RECV (0): <iq from='conference.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-13' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='conference' type='text' name='Chatrooms'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/muc#unique'/><feature var='jabber:iq:register'/><feature var='http://jabber.org/protocol/rsm'/><feature var='urn:xmpp:mucsub:0'/><feature var='vcard-temp'/><feature var='urn:xmpp:mam:tmp'/><feature var='urn:xmpp:mam:0'/><feature var='urn:xmpp:mam:1'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x></query></iq>
      21:05:01 SENT (0): <iq to='echo.my-server.tld' id='9j2L8-15' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq><r xmlns='urn:xmpp:sm:3'/>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='4'/>
      21:05:01 RECV (0): <a xmlns='urn:xmpp:sm:3' h='5'/>
      21:05:01 RECV (0): <iq from='echo.my-server.tld' to='admin-account@my-server.tld/one-m0spp' xml:lang='en' id='9j2L8-15' type='get'><query xmlns='http://jabber.org/protocol/disco#info'/></iq>
      21:05:01 SENT (0): <iq to='echo.my-server.tld' id='9j2L8-15' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='client' name='Smack' type='pc'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/caps'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/xhtml-im'/><feature var='jabber:x:data'/><feature var='jabber:iq:version'/><feature var='urn:xmpp:http'/><feature var='urn:xmpp:time'/><feature var='urn:xmpp:eme:0'/><feature var='jabber:iq:privacy'/><feature var='urn:xmpp:ping'/><feature var='jabber:iq:last'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/xdata-validate'/><feature var='http://jabber.org/protocol/xdata-layout'/><feature var='urn:xmpp:receipts'/><feature var='http://jabber.org/protocol/disco#info'/></query></iq>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='5'/>
      21:05:01 RECV (0): <iq from='echo.my-server.tld' to='admin-account@my-server.tld/one-m0spp' xml:lang='en' id='9j2L8-15' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='client' name='Smack' type='pc'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/caps'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/xhtml-im'/><feature var='jabber:x:data'/><feature var='jabber:iq:version'/><feature var='urn:xmpp:http'/><feature var='urn:xmpp:time'/><feature var='urn:xmpp:eme:0'/><feature var='jabber:iq:privacy'/><feature var='urn:xmpp:ping'/><feature var='jabber:iq:last'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/xdata-validate'/><feature var='http://jabber.org/protocol/xdata-layout'/><feature var='urn:xmpp:receipts'/><feature var='http://jabber.org/protocol/disco#info'/></query></iq>
      21:05:01 SENT (0): <iq to='multicast.my-server.tld' id='9j2L8-19' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='6'/>
      21:05:01 RECV (0): <iq from='multicast.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-19' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='service' type='multicast' name='Multicast'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/address'/></query></iq>
      21:05:01 SENT (0): <iq to='pubsub.my-server.tld' id='9j2L8-21' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='7'/>
      21:05:01 RECV (0): <iq from='pubsub.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-21' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='pubsub' type='service' name='Publish-Subscribe'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/pubsub'/><feature var='http://jabber.org/protocol/commands'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/pubsub#access-authorize'/><feature var='http://jabber.org/protocol/pubsub#access-open'/><feature var='http://jabber.org/protocol/pubsub#access-presence'/><feature var='http://jabber.org/protocol/pubsub#access-whitelist'/><feature var='http://jabber.org/protocol/pubsub#auto-create'/><feature var='http://jabber.org/protocol/pubsub#auto-subscribe'/><feature var='http://jabber.org/protocol/pubsub#collections'/><feature var='http://jabber.org/protocol/pubsub#config-node'/><feature var='http://jabber.org/protocol/pubsub#create-and-configure'/><feature var='http://jabber.org/protocol/pubsub#create-nodes'/><feature var='http://jabber.org/protocol/pubsub#delete-items'/><feature var='http://jabber.org/protocol/pubsub#delete-nodes'/><feature var='http://jabber.org/protocol/pubsub#filtered-notifications'/><feature var='http://jabber.org/protocol/pubsub#get-pending'/><feature var='http://jabber.org/protocol/pubsub#instant-nodes'/><feature var='http://jabber.org/protocol/pubsub#item-ids'/><feature var='http://jabber.org/protocol/pubsub#last-published'/><feature var='http://jabber.org/protocol/pubsub#manage-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#member-affiliation'/><feature var='http://jabber.org/protocol/pubsub#modify-affiliations'/><feature var='http://jabber.org/protocol/pubsub#outcast-affiliation'/><feature var='http://jabber.org/protocol/pubsub#persistent-items'/><feature var='http://jabber.org/protocol/pubsub#presence-notifications'/><feature var='http://jabber.org/protocol/pubsub#presence-subscribe'/><feature var='http://jabber.org/protocol/pubsub#publish'/><feature var='http://jabber.org/protocol/pubsub#publish-only-affiliation'/><feature var='http://jabber.org/protocol/pubsub#publisher-affiliation'/><feature var='http://jabber.org/protocol/pubsub#purge-nodes'/><feature var='http://jabber.org/protocol/pubsub#retract-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-affiliations'/><feature var='http://jabber.org/protocol/pubsub#retrieve-default'/><feature var='http://jabber.org/protocol/pubsub#retrieve-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#shim'/><feature var='http://jabber.org/protocol/pubsub#subscribe'/><feature var='http://jabber.org/protocol/pubsub#subscription-notifications'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x></query></iq>
      21:05:01 SENT (0): <iq to='upload.my-server.tld' id='9j2L8-23' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='8'/>
      21:05:01 RECV (0): <iq from='upload.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-23' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='store' type='file' name='HTTP File Upload'/><feature var='urn:xmpp:http:upload'/><feature var='eu:siacs:conversations:http:upload'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x></query></iq>
      21:05:01 SENT (0): <iq to='my-server.tld' id='9j2L8-25' type='get'><query xmlns='http://jabber.org/protocol/disco#items'></query></iq><r xmlns='urn:xmpp:sm:3'/>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='9'/>
      21:05:01 RECV (0): <a xmlns='urn:xmpp:sm:3' h='10'/>
      21:05:01 RECV (0): <iq from='my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-25' type='result'><query xmlns='http://jabber.org/protocol/disco#items'><item jid='conference.my-server.tld'/><item jid='echo.my-server.tld'/><item jid='multicast.my-server.tld'/><item jid='pubsub.my-server.tld'/><item jid='upload.my-server.tld'/><item jid='my-server.tld' node='announce' name='Announcements'/><item jid='my-server.tld' name='Configuration' node='config'/><item jid='my-server.tld' name='User Management' node='user'/><item jid='my-server.tld' name='Online Users' node='online users'/><item jid='my-server.tld' name='All Users' node='all users'/><item jid='my-server.tld' name='Outgoing s2s Connections' node='outgoing s2s'/><item jid='my-server.tld' name='Running Nodes' node='running nodes'/><item jid='my-server.tld' name='Stopped Nodes' node='stopped nodes'/></query></iq>
      21:05:01 SENT (0): <iq to='conference.my-server.tld' id='9j2L8-27' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:01 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:01 SENT (0): <a xmlns='urn:xmpp:sm:3' h='10'/>
      21:05:02 RECV (0): <iq from='conference.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-27' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='conference' type='text' name='Chatrooms'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/muc#unique'/><feature var='jabber:iq:register'/><feature var='http://jabber.org/protocol/rsm'/><feature var='urn:xmpp:mucsub:0'/><feature var='vcard-temp'/><feature var='urn:xmpp:mam:tmp'/><feature var='urn:xmpp:mam:0'/><feature var='urn:xmpp:mam:1'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x></query></iq>
      21:05:02 SENT (0): <iq to='echo.my-server.tld' id='9j2L8-29' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:02 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:02 SENT (0): <a xmlns='urn:xmpp:sm:3' h='11'/>
      21:05:02 RECV (0): <iq from='echo.my-server.tld' to='admin-account@my-server.tld/one-m0spp' xml:lang='en' id='9j2L8-29' type='get'><query xmlns='http://jabber.org/protocol/disco#info'/></iq>
      21:05:02 SENT (0): <iq to='echo.my-server.tld' id='9j2L8-29' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='client' name='Smack' type='pc'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/caps'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/xhtml-im'/><feature var='jabber:x:data'/><feature var='jabber:iq:version'/><feature var='urn:xmpp:http'/><feature var='urn:xmpp:time'/><feature var='urn:xmpp:eme:0'/><feature var='jabber:iq:privacy'/><feature var='urn:xmpp:ping'/><feature var='jabber:iq:last'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/xdata-validate'/><feature var='http://jabber.org/protocol/xdata-layout'/><feature var='urn:xmpp:receipts'/><feature var='http://jabber.org/protocol/disco#info'/></query></iq>
      21:05:02 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:02 SENT (0): <a xmlns='urn:xmpp:sm:3' h='12'/>
      21:05:02 RECV (0): <iq from='echo.my-server.tld' to='admin-account@my-server.tld/one-m0spp' xml:lang='en' id='9j2L8-29' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='client' name='Smack' type='pc'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/caps'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/bytestreams'/><feature var='http://jabber.org/protocol/xhtml-im'/><feature var='jabber:x:data'/><feature var='jabber:iq:version'/><feature var='urn:xmpp:http'/><feature var='urn:xmpp:time'/><feature var='urn:xmpp:eme:0'/><feature var='jabber:iq:privacy'/><feature var='urn:xmpp:ping'/><feature var='jabber:iq:last'/><feature var='http://jabber.org/protocol/commands'/><feature var='http://jabber.org/protocol/muc'/><feature var='http://jabber.org/protocol/xdata-validate'/><feature var='http://jabber.org/protocol/xdata-layout'/><feature var='urn:xmpp:receipts'/><feature var='http://jabber.org/protocol/disco#info'/></query></iq>
      21:05:02 SENT (0): <iq to='multicast.my-server.tld' id='9j2L8-33' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:02 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:02 SENT (0): <a xmlns='urn:xmpp:sm:3' h='13'/>
      21:05:02 RECV (0): <iq from='multicast.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-33' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='service' type='multicast' name='Multicast'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/address'/></query></iq>
      21:05:02 SENT (0): <iq to='pubsub.my-server.tld' id='9j2L8-35' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq><r xmlns='urn:xmpp:sm:3'/>
      21:05:02 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:02 SENT (0): <a xmlns='urn:xmpp:sm:3' h='14'/>
      21:05:02 RECV (0): <a xmlns='urn:xmpp:sm:3' h='15'/>
      21:05:02 RECV (0): <iq from='pubsub.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-35' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='pubsub' type='service' name='Publish-Subscribe'/><feature var='http://jabber.org/protocol/disco#info'/><feature var='http://jabber.org/protocol/disco#items'/><feature var='http://jabber.org/protocol/pubsub'/><feature var='http://jabber.org/protocol/commands'/><feature var='vcard-temp'/><feature var='http://jabber.org/protocol/pubsub#access-authorize'/><feature var='http://jabber.org/protocol/pubsub#access-open'/><feature var='http://jabber.org/protocol/pubsub#access-presence'/><feature var='http://jabber.org/protocol/pubsub#access-whitelist'/><feature var='http://jabber.org/protocol/pubsub#auto-create'/><feature var='http://jabber.org/protocol/pubsub#auto-subscribe'/><feature var='http://jabber.org/protocol/pubsub#collections'/><feature var='http://jabber.org/protocol/pubsub#config-node'/><feature var='http://jabber.org/protocol/pubsub#create-and-configure'/><feature var='http://jabber.org/protocol/pubsub#create-nodes'/><feature
      21:05:02 RECV (0): var='http://jabber.org/protocol/pubsub#delete-items'/><feature var='http://jabber.org/protocol/pubsub#delete-nodes'/><feature var='http://jabber.org/protocol/pubsub#filtered-notifications'/><feature var='http://jabber.org/protocol/pubsub#get-pending'/><feature var='http://jabber.org/protocol/pubsub#instant-nodes'/><feature var='http://jabber.org/protocol/pubsub#item-ids'/><feature var='http://jabber.org/protocol/pubsub#last-published'/><feature var='http://jabber.org/protocol/pubsub#manage-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#member-affiliation'/><feature var='http://jabber.org/protocol/pubsub#modify-affiliations'/><feature var='http://jabber.org/protocol/pubsub#outcast-affiliation'/><feature var='http://jabber.org/protocol/pubsub#persistent-items'/><feature var='http://jabber.org/protocol/pubsub#presence-notifications'/><feature var='http://jabber.org/protocol/pubsub#presence-subscribe'/><feature var='http://jabber.org/protocol/pubsub#publish'/><feature var='http://jabber.org/protocol/pubsub#publish-only-affiliation'/><feature var='http://jabber.org/protocol/pubsub#publisher-affiliation'/><feature var='http://jabber.org/protocol/pubsub#purge-nodes'/><feature var='http://jabber.org/protocol/pubsub#retract-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-affiliations'/><feature var='http://jabber.org/protocol/pubsub#retrieve-default'/><feature var='http://jabber.org/protocol/pubsub#retrieve-items'/><feature var='http://jabber.org/protocol/pubsub#retrieve-subscriptions'/><feature var='http://jabber.org/protocol/pubsub#shim'/><feature var='http://jabber.org/protocol/pubsub#subscribe'/><feature var='http://jabber.org/protocol/pubsub#subscription-notifications'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x></query></iq>
      21:05:02 SENT (0): <iq to='upload.my-server.tld' id='9j2L8-37' type='get'><query xmlns='http://jabber.org/protocol/disco#info'></query></iq>
      21:05:02 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:02 SENT (0): <a xmlns='urn:xmpp:sm:3' h='15'/>
      21:05:02 RECV (0): <iq from='upload.my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-37' type='result'><query xmlns='http://jabber.org/protocol/disco#info'><identity category='store' type='file' name='HTTP File Upload'/><feature var='urn:xmpp:http:upload'/><feature var='eu:siacs:conversations:http:upload'/><x xmlns='jabber:x:data' type='result'><field var='FORM_TYPE' type='hidden'><value>http://jabber.org/network/serverinfo</value></field></x></query></iq>
      21:05:02 XMPPConnection authenticated (XMPPTCPConnection[admin-account@my-server.tld/one-m0spp] (0))
      21:05:02 SENT (0): <presence id='9j2L8-39'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='lWpWNgqtfynY+MxupmhOr2LZqOg='/></presence>
      21:05:02 SENT (0): <iq to='my-server.tld' id='9j2L8-41' type='set'><command xmlns='http://jabber.org/protocol/commands' node='http://jabber.org/protocol/admin#add-user' action='execute'></command></iq>
      21:05:02 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:02 SENT (0): <a xmlns='urn:xmpp:sm:3' h='16'/>
      21:05:03 RECV (0): <presence from='admin-account@my-server.tld/one-m0spp' to='admin-account@my-server.tld/one-m0spp' xml:lang='en' id='9j2L8-39'><c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.igniterealtime.org/projects/smack' ver='lWpWNgqtfynY+MxupmhOr2LZqOg='/></presence>
      21:05:03 RECV (0): <r xmlns='urn:xmpp:sm:3'/>
      21:05:03 SENT (0): <a xmlns='urn:xmpp:sm:3' h='17'/>
      21:05:03 RECV (0): <iq from='my-server.tld' to='admin-account@my-server.tld/one-m0spp' id='9j2L8-41' type='result'><command xmlns='http://jabber.org/protocol/commands' sessionid='2017-05-17T19:05:03.234392Z' node='http://jabber.org/protocol/admin#add-user' status='executing'><x xmlns='jabber:x:data'><field type='hidden' var='FORM_TYPE'><value>http://jabber.org/protocol/admin</value></field><title>Add User</title><field type='jid-single' label='Jabber ID' var='accountjid'><required/></field><field type='text-private' label='Password' var='password'><required/></field><field type='text-private' label='Password Verification' var='password-verify'><required/></field></x></command></iq>
      Mai 17, 2017 9:05:03 PM org.jivesoftware.smack.AbstractXMPPConnection callConnectionClosedOnErrorListener
      WARNUNG: Connection XMPPTCPConnection[admin-account@my-server.tld/one-m0spp] (0) closed with error
      java.lang.NullPointerException
      at org.jivesoftware.smackx.xdata.packet.DataForm$Type.fromString(DataForm.java:67)
      at org.jivesoftware.smackx.xdata.provider.DataFormProvider.parse(DataFormProvider.java:48)
      21:05:03 XMPPConnection closed due to an exception (XMPPTCPConnection[admin-account@my-server.tld/one-m0spp] (0))java.lang.NullPointerException
      at org.jivesoftware.smackx.xdata.provider.DataFormProvider.parse(DataFormProvider.java:41)
      at org.jivesoftware.smack.provider.Provider.parse(Provider.java:31)
      at org.jivesoftware.smackx.xdata.packet.DataForm$Type.fromString(DataForm.java:67)
      at org.jivesoftware.smackx.commands.provider.AdHocCommandDataProvider.parse(AdHocCommandDataProvider.java:95)
      at org.jivesoftware.smackx.xdata.provider.DataFormProvider.parse(DataFormProvider.java:48)
      at org.jivesoftware.smackx.commands.provider.AdHocCommandDataProvider.parse(AdHocCommandDataProvider.java:36)
      at org.jivesoftware.smackx.xdata.provider.DataFormProvider.parse(DataFormProvider.java:41)
      at org.jivesoftware.smack.provider.Provider.parse(Provider.java:31)
      at org.jivesoftware.smack.provider.Provider.parse(Provider.java:31)
      at org.jivesoftware.smack.util.PacketParserUtils.parseIQ(PacketParserUtils.java:632)
      at org.jivesoftware.smackx.commands.provider.AdHocCommandDataProvider.parse(AdHocCommandDataProvider.java:95)
      at org.jivesoftware.smack.util.PacketParserUtils.parseStanza(PacketParserUtils.java:152)
      at org.jivesoftware.smackx.commands.provider.AdHocCommandDataProvider.parse(AdHocCommandDataProvider.java:36)
      at org.jivesoftware.smack.AbstractXMPPConnection.parseAndProcessStanza(AbstractXMPPConnection.java:1046)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$500(XMPPTCPConnection.java:149)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1026)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:980)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:996)
      at java.lang.Thread.run(Thread.java:745)
      
      at org.jivesoftware.smack.provider.Provider.parse(Provider.java:31)
      at org.jivesoftware.smack.util.PacketParserUtils.parseIQ(PacketParserUtils.java:632)
      at org.jivesoftware.smack.util.PacketParserUtils.parseStanza(PacketParserUtils.java:152)
      at org.jivesoftware.smack.AbstractXMPPConnection.parseAndProcessStanza(AbstractXMPPConnection.java:1046)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$500(XMPPTCPConnection.java:149)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1026)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:980)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:996)
      at java.lang.Thread.run(Thread.java:745)
      

      My integrationtest properties look like this:

      service=my-server.tld
      adminAccountUsername=admin-account
      adminAccountPassword=longpassword
      

      The admin account is set as admin in ejabberd 16.09.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              vanitasvitae vanitasvitae
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: