java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.indexOf(int)' on a null object reference

Stack Overflow | Anil | 3 months ago
  1. 0

    Xmpp String utils crashes the app frequently

    Stack Overflow | 3 months ago | Anil
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.indexOf(int)' on a null object reference
  2. 0

    GitHub comment 166#221790099

    GitHub | 6 months ago | Hemant0601
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.indexOf(int)' on a null object reference
  3. 0

    GitHub comment 166#261860542

    GitHub | 2 weeks ago | Hemant0601
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.indexOf(int)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash from XMPP

    GitHub | 8 months ago | Hemant0601
    java.lang.NullPointerException

    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.NullPointerException

      Attempt to invoke virtual method 'int java.lang.String.indexOf(int)' on a null object reference

      at org.jxmpp.util.XmppStringUtils.parseBareJid()
    2. org.jxmpp.util
      XmppStringUtils.parseBareJid
      1. org.jxmpp.util.XmppStringUtils.parseBareJid(XmppStringUtils.java:117)
      1 frame
    3. org.jivesoftware.smack
      Roster$RosterPushListener.handleIQRequest
      1. org.jivesoftware.smack.roster.Roster$RosterPushListener.handleIQRequest(Roster.java:1386)
      1 frame
    4. Smack
      AbstractXMPPConnection$2.run
      1. org.jivesoftware.smack.AbstractXMPPConnection$2.run(AbstractXMPPConnection.java:1051)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
      3. java.lang.Thread.run(Thread.java:761)
      3 frames