-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Guessing this means my phone (Pocophone) doesn't support RTT. Might be good to display a better error message.
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.plinzen.android.rttmanager/de.plinzen.android.rttmanager.wifi.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.wifi.rtt.WifiRttManager.isAvailable()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2946)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.wifi.rtt.WifiRttManager.isAvailable()' on a null object reference
at de.plinzen.android.rttmanager.wifi.MainActivity.initUI(MainActivity.java:140)
at de.plinzen.android.rttmanager.wifi.MainActivity.onCreate(MainActivity.java:119)
at android.app.Activity.performCreate(Activity.java:7200)
at android.app.Activity.performCreate(Activity.java:7191)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2926)
... 11 more
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels