title: Android - XMPPError: jid-malformed - modify
body: <p>I am using smack-android:4.1.0 for chat , i am using openfire. when i am trying to create a account with AccountManager in android i am getting  <strong>jid-malformed</strong>  i have tried all the things but i am not able to find the solution , i am haring my code to create a user.</p>
  
  <pre><code>if(connection != null &amp;&amp; connection.isConnected()){
                      Log.e("=AccountManager= ","AccountManager");
  
                      // Registering the user
                      AccountManager accountManager = AccountManager.getInstance(connection);
                      //Log.e("=supportsAccountCreation= ","="+accountManager.supportsAccountCreation());
                      //Log.e("=getAccountInstructions= ","="+accountManager.getAccountInstructions());
                      Map&lt;String, String&gt; attributes = new HashMap&lt;&gt;();
                      attributes.put("email", "kanta@signitysolutions.in");
                                              attributes.put("username", "spota421");
  
                      if (accountManager!=null&amp;&amp;accountManager.supportsAccountCreation()) {
                          accountManager.sensitiveOperationOverInsecureConnection(true);
                          accountManager.createAccount("spota421", "xxxxx", attributes);
                      }
  
  
                  } 
  </code></pre>
  
  <p>and below is response i am getting in my console , please anyone guides me , what i am doing wrong.</p>
  
  <pre><code> D/SMACK: SENT (0): &lt;iq to='52.62.104.135:9090' id='4Clc6-3' type='get'&gt;&lt;query xmlns='jabber:iq:register'&gt;&lt;/query&gt;&lt;/iq&gt;
  10-02 07:40:21.670 7216-7330/
  D/SMACK: RECV (0): &lt;iq type="error" id="4Clc6-3" to="ip-172-31-28-121.ap-southeast-2.compute.internal/8xk12y6kvq" from="52.62.104.135:9090"&gt;&lt;query xmlns="jabber:iq:register"/&gt;&lt;error code="400" type="modify"&gt;&lt;jid-malformed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/&gt;&lt;/error&gt;&lt;/iq&gt;
  
  
  org.jivesoftware.smack.XMPPException$XMPPErrorException: XMPPError: jid-malformed - modify
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:232)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at org.jivesoftware.smack.PacketCollector.nextResultOrThrow(PacketCollector.java:213)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at org.jivesoftware.smackx.iqregister.AccountManager.getRegistrationInfo(AccountManager.java:332)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at org.jivesoftware.smackx.iqregister.AccountManager.supportsAccountCreation(AccountManager.java:144)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at com.signity.spota.xmpp.CreateConnection.Authenticate(CreateConnection.java:182)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at com.signity.spota.xmpp.CreateConnection.access$200(CreateConnection.java:34)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at com.signity.spota.xmpp.CreateConnection$connect.onPostExecute(CreateConnection.java:121)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at com.signity.spota.xmpp.CreateConnection$connect.onPostExecute(CreateConnection.java:55)
  10-02 07:40:21.675 7216-7216/com.signity.spota W/System.err:     at android.os.AsyncTask.finish(AsyncTask.java:636)
  </code></pre>