java.lang.IllegalArgumentException: Must have a local (user) JID set. Either you didn't configure one or you where not connected at least once

Stack Overflow | Anil | 4 months ago
  1. 0

    Smack "Must have a local (user) JID set" error

    Stack Overflow | 4 months ago | Anil
    java.lang.IllegalArgumentException: Must have a local (user) JID set. Either you didn't configure one or you where not connected at least once
  2. 0
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  3. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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

      Must have a local (user) JID set. Either you didn't configure one or you where not connected at least once

      at org.jivesoftware.smack.filter.IQReplyFilter.<init>()
    2. Smack
      AbstractXMPPConnection.createPacketCollectorAndSend
      1. org.jivesoftware.smack.filter.IQReplyFilter.<init>(IQReplyFilter.java:94)
      2. org.jivesoftware.smack.AbstractXMPPConnection.createPacketCollectorAndSend(AbstractXMPPConnection.java:690)
      2 frames
    3. org.jivesoftware.smackx
      LastActivityManager.getLastActivity
      1. org.jivesoftware.smackx.iqlast.LastActivityManager.getLastActivity(LastActivityManager.java:239)
      1 frame
    4. com.studyboard.utils
      ChatUtil.getLastActivity
      1. com.studyboard.utils.ChatUtil.getLastActivity(ChatUtil.java:674)
      1 frame
    5. com.studyboard
      ChatMessageActivity.onCreate
      1. com.studyboard.ChatMessageActivity.initChat(ChatMessageActivity.java:339)
      2. com.studyboard.ChatMessageActivity.onCreate(ChatMessageActivity.java:220)
      2 frames
    6. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6005)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2446)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2555)
      5. android.app.ActivityThread.access$800(ActivityThread.java:176)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1437)
      7. android.os.Handler.dispatchMessage(Handler.java:111)
      8. android.os.Looper.loop(Looper.java:194)
      9. android.app.ActivityThread.main(ActivityThread.java:5576)
      9 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:956)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:751)
      2 frames