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

Crash NullPointerException SSID #491

Open
cordlesstuba opened this issue May 9, 2019 · 3 comments
Open

Crash NullPointerException SSID #491

cordlesstuba opened this issue May 9, 2019 · 3 comments

Comments

@cordlesstuba
Copy link

Hello !

In Android 9, Tower GCS crash when i'm trying to connect the phone on a Wifi with this error :

Image collée à 2019-5-7 13-30

Could you provide a patch for this error please ?

Thanks !

@Saikat2019
Copy link

Saikat2019 commented Sep 7, 2019

what are the compileSdkVersion and targetSdkVersion you are using, First I was using 28, then I got bad notification channel error for startForeground, then I downgraded the compile and targetSdkVersion to 24, then I am getting this error while using android Pie(28).
Any suggestion.?

@afarhan39
Copy link

You need to modify file WifiConnectionHandler.java

Swap this line
final WifiInfo wifiInfo = intent.getParcelableExtra(WifiManager.EXTRA_WIFI_INFO);
to this
final WifiInfo wifiInfo = wifiMgr.getConnectionInfo();

@HefnySco
Copy link

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

4 participants