You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, really cool adaptation of farproc's wifi connecter.
However both libraries have a bug which i'm struggling to fix for the last few weeks but I really haven't found any solution yet
It throws IllegalArgumentException on some devices mostly on sony Xperia while trying to connect.
Heres the error log
FATAL EXCEPTION: main
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.wifi.SCAN_RESULTS flg=0x8000010 } in com.android.utils.wificonnecter.WiFiConnecter$1@418af050
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:780)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5214)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: Invalid arguments passed in: null,null
at android.os.Parcel.readException(Parcel.java:1435)
at android.os.Parcel.readException(Parcel.java:1385)
at android.net.wifi.IWifiManager$Stub$Proxy.addOrUpdateNetwork(IWifiManager.java:524)
at android.net.wifi.WifiManager.addOrUpdateNetwork(WifiManager.java:671)
at android.net.wifi.WifiManager.updateNetwork(WifiManager.java:658)
at com.android.utils.wificonnecter.WiFi.shiftPriorityAndSave(WiFi.java:225)
at com.android.utils.wificonnecter.WiFi.connectToConfiguredNetwork(WiFi.java:131)
at com.android.utils.wificonnecter.WiFi.connectToNewNetwork(WiFi.java:114)
at com.android.utils.wificonnecter.WiFiConnecter.handleEvent(WiFiConnecter.java:98)
at com.android.utils.wificonnecter.WiFiConnecter.access$3(WiFiConnecter.java:91)
at com.android.utils.wificonnecter.WiFiConnecter$1.onReceive(WiFiConnecter.java:54)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:770)
... 9 more
The text was updated successfully, but these errors were encountered:
Hey, really cool adaptation of farproc's wifi connecter.
However both libraries have a bug which i'm struggling to fix for the last few weeks but I really haven't found any solution yet
It throws IllegalArgumentException on some devices mostly on sony Xperia while trying to connect.
Heres the error log
FATAL EXCEPTION: main
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.wifi.SCAN_RESULTS flg=0x8000010 } in com.android.utils.wificonnecter.WiFiConnecter$1@418af050
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:780)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5214)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: Invalid arguments passed in: null,null
at android.os.Parcel.readException(Parcel.java:1435)
at android.os.Parcel.readException(Parcel.java:1385)
at android.net.wifi.IWifiManager$Stub$Proxy.addOrUpdateNetwork(IWifiManager.java:524)
at android.net.wifi.WifiManager.addOrUpdateNetwork(WifiManager.java:671)
at android.net.wifi.WifiManager.updateNetwork(WifiManager.java:658)
at com.android.utils.wificonnecter.WiFi.shiftPriorityAndSave(WiFi.java:225)
at com.android.utils.wificonnecter.WiFi.connectToConfiguredNetwork(WiFi.java:131)
at com.android.utils.wificonnecter.WiFi.connectToNewNetwork(WiFi.java:114)
at com.android.utils.wificonnecter.WiFiConnecter.handleEvent(WiFiConnecter.java:98)
at com.android.utils.wificonnecter.WiFiConnecter.access$3(WiFiConnecter.java:91)
at com.android.utils.wificonnecter.WiFiConnecter$1.onReceive(WiFiConnecter.java:54)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:770)
... 9 more
The text was updated successfully, but these errors were encountered: