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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Jason Wong, 10 months ago
Attempt to invoke virtual method 'int java.lang.String.compareToIgnoreCase(java.lang.String)' on a null object reference
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(Chipset.java:173)
at org.servalproject.system.Chipset.compareTo(Chipset.java:36)
at java.util.TreeMap.find(TreeMap.java:277)
at java.util.TreeMap.putInternal(TreeMap.java:240)
at java.util.TreeMap.put(TreeMap.java:186)
at java.util.TreeSet.add(TreeSet.java:113)
at org.servalproject.system.ChipsetDetection.inventSupport(ChipsetDetection.java:430)
at org.servalproject.system.ChipsetDetection.getDetectedChipsets(ChipsetDetection.java:611)
at org.servalproject.system.WifiAdhocControl.testAdhoc(WifiAdhocControl.java:328)
at org.servalproject.system.WifiControl.testAdhoc(WifiControl.java:1191)
at org.servalproject.PreparationWizard.next(PreparationWizard.java:145)
at org.servalproject.PreparationWizard.access$000(PreparationWizard.java:50)
at org.servalproject.PreparationWizard$1.handleMessage(PreparationWizard.java:82)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.