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

Stack Overflow | Anil | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Xmpp String utils crashes the app frequently

    Stack Overflow | 5 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 | 9 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 | 3 months 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 | 10 months ago | Hemant0601
    java.lang.NullPointerException

    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