HTML Viewer error


Mooks

Members
May 23, 2020
159
40
Hi guys, I have an error in the html viewer since a few releases of the weekly beta. I m now on 20.11.18 and this error occurs when I want to log into the company WiFi. After connection to the WiFi signal a sign-in page should be opened where I can join he network (similar to public WiFi logins in restaurant or so) but the page closes immediately wit the following error message. Is this something related to the Rom?
I deleted app data but it didn't help



java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.htmlviewer/com.android.settings.wifi.openwifi.OpenWifiLogin}: android.view.InflateException: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Error inflating class miui.widget.SlidingButton
at android.app.ActivityThread.performLaunchActivity(Unknown Source:663)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:104)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: android.view.InflateException: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Error inflating class miui.widget.SlidingButton
Caused by: android.view.InflateException: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Error inflating class miui.widget.SlidingButton
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(Unknown Source:210)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:71)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
at android.view.LayoutInflater.rInflate(Unknown Source:92)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.rInflate(Unknown Source:103)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.inflate(Unknown Source:107)
at android.view.LayoutInflater.inflate(Unknown Source:27)
at android.view.LayoutInflater.inflate(Unknown Source:5)
at com.android.internal.policy.PhoneWindow.setContentView(Unknown Source:45)
at android.app.Activity.setContentView(Unknown Source:4)
at com.android.settings.wifi.openwifi.OpenWifiLogin.onCreate(Unknown Source:6)
at android.app.Activity.performCreate(Unknown Source:65)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:399)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:104)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.miui.internal.widget.SlidingButtonHelper.setAlpha(float)' on a null object reference
at miui.widget.SlidingButton.setAlpha(Unknown Source:2)
at android.view.View.(Unknown Source:1535)
at android.widget.TextView.(Unknown Source:14)
at android.widget.Button.(Unknown Source:0)
at android.widget.CompoundButton.(Unknown Source:0)
at android.widget.CheckBox.(Unknown Source:0)
at android.widget.CheckBox.(Unknown Source:1)
at miui.widget.SlidingButton.(Unknown Source:0)
at miui.widget.SlidingButton.(Unknown Source:2)
... 30 more


Gesendet von meinem Mi 10 Pro mit Tapatalk
 
Hi guys, I have an error in the html viewer since a few releases of the weekly beta. I m now on 20.11.18 and this error occurs when I want to log into the company WiFi. After connection to the WiFi signal a sign-in page should be opened where I can join he network (similar to public WiFi logins in restaurant or so) but the page closes immediately wit the following error message. Is this something related to the Rom?
I deleted app data but it didn't help



java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.htmlviewer/com.android.settings.wifi.openwifi.OpenWifiLogin}: android.view.InflateException: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Error inflating class miui.widget.SlidingButton
at android.app.ActivityThread.performLaunchActivity(Unknown Source:663)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:104)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: android.view.InflateException: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Error inflating class miui.widget.SlidingButton
Caused by: android.view.InflateException: Binary XML file line #6 in com.android.htmlviewer:layout/wifi_no_security_login: Error inflating class miui.widget.SlidingButton
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(Unknown Source:210)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:71)
at android.view.LayoutInflater.createViewFromTag(Unknown Source:6)
at android.view.LayoutInflater.rInflate(Unknown Source:92)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.rInflate(Unknown Source:103)
at android.view.LayoutInflater.rInflateChildren(Unknown Source:9)
at android.view.LayoutInflater.inflate(Unknown Source:107)
at android.view.LayoutInflater.inflate(Unknown Source:27)
at android.view.LayoutInflater.inflate(Unknown Source:5)
at com.android.internal.policy.PhoneWindow.setContentView(Unknown Source:45)
at android.app.Activity.setContentView(Unknown Source:4)
at com.android.settings.wifi.openwifi.OpenWifiLogin.onCreate(Unknown Source:6)
at android.app.Activity.performCreate(Unknown Source:65)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:399)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:67)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:52)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:104)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:313)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.miui.internal.widget.SlidingButtonHelper.setAlpha(float)' on a null object reference
at miui.widget.SlidingButton.setAlpha(Unknown Source:2)
at android.view.View.(Unknown Source:1535)
at android.widget.TextView.(Unknown Source:14)
at android.widget.Button.(Unknown Source:0)
at android.widget.CompoundButton.(Unknown Source:0)
at android.widget.CheckBox.(Unknown Source:0)
at android.widget.CheckBox.(Unknown Source:1)
at miui.widget.SlidingButton.(Unknown Source:0)
at miui.widget.SlidingButton.(Unknown Source:2)
... 30 more


Gesendet von meinem Mi 10 Pro mit Tapatalk
20.12.2 fixed this on A11 phones...20.11.25 fixed it for A10 phones if I'm not mistaken

Sent from my MI PAD 4 using Tapatalk
 
Ok, so and update would be recommended in my situation. Can any dev conform this?

Gesendet von meinem Mi 10 Pro mit Tapatalk
 
Ok, so and update would be recommended in my situation. Can any dev conform this?

Gesendet von meinem Mi 10 Pro mit Tapatalk
I'm not a dev but it's up there on the changelog of 20.11.25

CHANGELOG 20.11.25


Fix - Couldn't connect to certain Wi-Fi networks due to HTML Viewer crash

Sent from my MI PAD 4 using Tapatalk
 
  • Like
Reactions: Mooks
Stupid me. Didn't find it. Thanks!

Gesendet von meinem Mi 10 Pro mit Tapatalk
 
Latest weekly installed and it runs very smooth. I think the HTML Viewer error is gone too.