WifiUtils icon indicating copy to clipboard operation
WifiUtils copied to clipboard

WifiUtils.withContext(context) .remove(SSID, object : RemoveSuccessListener ) Method will have a null pointer

Open o0daxu0o opened this issue 4 years ago • 0 comments

The error is as follows:(It should be to get the wifi configuration null pointer)

java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference at com.thanosfisherman.wifiutils.ConfigSecurities.getWifiConfiguration(ConfigSecurities.java:171) at com.thanosfisherman.wifiutils.ConnectorUtils.removeWifi(ConnectorUtils.java:532) at com.thanosfisherman.wifiutils.WifiUtils.remove(WifiUtils.java:315) at com.smartship.wifihotspot.MainActivity$1$1.run(MainActivity.java:300)

o0daxu0o avatar May 17 '21 13:05 o0daxu0o