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

Google Groups | Jason Wong | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Batphone app file sharing issues

    Google Groups | 1 year ago | Jason Wong
    java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.compareToIgnoreCase(java.lang.String)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

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

      at org.servalproject.system.Chipset.compareTo()
    2. org.servalproject.system
      Chipset.compareTo
      1. org.servalproject.system.Chipset.compareTo(Chipset.java:173)
      2. org.servalproject.system.Chipset.compareTo(Chipset.java:36)
      2 frames
    3. Java RT
      TreeSet.add
      1. java.util.TreeMap.find(TreeMap.java:277)
      2. java.util.TreeMap.putInternal(TreeMap.java:240)
      3. java.util.TreeMap.put(TreeMap.java:186)
      4. java.util.TreeSet.add(TreeSet.java:113)
      4 frames
    4. org.servalproject.system
      WifiControl.testAdhoc
      1. org.servalproject.system.ChipsetDetection.inventSupport(ChipsetDetection.java:430)
      2. org.servalproject.system.ChipsetDetection.getDetectedChipsets(ChipsetDetection.java:611)
      3. org.servalproject.system.WifiAdhocControl.testAdhoc(WifiAdhocControl.java:328)
      4. org.servalproject.system.WifiControl.testAdhoc(WifiControl.java:1191)
      4 frames
    5. org.servalproject
      PreparationWizard$1.handleMessage
      1. org.servalproject.PreparationWizard.next(PreparationWizard.java:145)
      2. org.servalproject.PreparationWizard.access$000(PreparationWizard.java:50)
      3. org.servalproject.PreparationWizard$1.handleMessage(PreparationWizard.java:82)
      3 frames
    6. Android Platform
      HandlerThread.run
      1. android.os.Handler.dispatchMessage(Handler.java:102)
      2. android.os.Looper.loop(Looper.java:135)
      3. android.os.HandlerThread.run(HandlerThread.java:61)
      3 frames