Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
o0daxu0o opened this issue May 17, 2021 · 0 comments

Comments

@o0daxu0o
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant