diff options
author | syphyr <syphyr@gmail.com> | 2021-09-06 01:25:48 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2021-09-09 22:47:35 +0200 |
commit | f66c66d2ae85b5267c87e48e4d568cd6e7e8ba52 (patch) | |
tree | f2203f487976a11ce467de8b14b7ce326788c8f9 /main/misc/header.html | |
parent | 0d9aefb1b8b6d01f3cef4ced8b299ac3f8764a8f (diff) |
Fix NPE when resuming VPN activity
Fixes: Implement support of openvpn://import-profile/ support
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: de.blinkt.openvpn, PID: 15364
E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity
{de.blinkt.openvpn/de.blinkt.openvpn.activities.MainActivity}: java.lang.NullPointerException:
Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3454)
E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3494)
E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2757)
E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6186)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method
'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
E AndroidRuntime: at de.blinkt.openvpn.activities.MainActivity.onResume(MainActivity.java:82)
E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1270)
E AndroidRuntime: at android.app.Activity.performResume(Activity.java:6788)
E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3431)
E AndroidRuntime: ... 10 more
Diffstat (limited to 'main/misc/header.html')
0 files changed, 0 insertions, 0 deletions