Version
47
Deployment Method
Android (Frameo)
Description
I'm not sure it's fully related to the ImmichFrame, but I cannon launch it on Frameo 10.1 frame, event after updating (successfully) WebView. It seems like this version of Android (6.0.1) even more cut so I don't have the clipboard service running and the WebView crashes due to this.
The exception after I launch the ImmichFrame that I see in the logcat logs:
Attempt to invoke interface method 'void android.content.IClipboard.addPrimaryClipChangedListener(android.content.IOnPrimaryClipChangedListener, java.lang.String)' on a null object reference
Reproduction
Full logs:
11-29 22:36:57.085 4742 4742 D AndroidRuntime: Shutting down VM
11-29 22:36:57.116 4742 4742 E AndroidRuntime: FATAL EXCEPTION: main
11-29 22:36:57.116 4742 4742 E AndroidRuntime: Process: com.immichframe.immichframe, PID: 4742
11-29 22:36:57.116 4742 4742 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.immichframe.immichframe/com.immichframe.immichframe.MainActivity}: android.view.InflateException: Binary XML file line immichFrame/ImmichFrame#17: Binary XML file line immichFrame/ImmichFrame#17: Error inflating class android.webkit.WebView
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:778)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:668)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line immichFrame/ImmichFrame#17: Binary XML file line immichFrame/ImmichFrame#17: Error inflating class android.webkit.WebView
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at g.f0.j(r8-map-id-dba0dc6ea7a19997f5c89abcdc06e1b674cb77da82adee7cf8e4add1dfe67d9a:24)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at g.m.setContentView(r8-map-id-dba0dc6ea7a19997f5c89abcdc06e1b674cb77da82adee7cf8e4add1dfe67d9a:2)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at com.immichframe.immichframe.MainActivity.onCreate(r8-map-id-dba0dc6ea7a19997f5c89abcdc06e1b674cb77da82adee7cf8e4add1dfe67d9a:69)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6266)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: ... 9 more
11-29 22:36:57.116 4742 4742 E AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line immichFrame/ImmichFrame#17: Error inflating class android.webkit.WebView
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:645)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.onCreateView(LayoutInflater.java:694)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:762)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.rInflate(LayoutInflater.java:838)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: ... 17 more
11-29 22:36:57.116 4742 4742 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Native Method)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.view.LayoutInflater.createView(LayoutInflater.java:619)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: ... 26 more
11-29 22:36:57.116 4742 4742 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void android.content.IClipboard.addPrimaryClipChangedListener(android.content.IOnPrimaryClipChangedListener, java.lang.String)' on a null object reference
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at android.content.ClipboardManager.addPrimaryClipChangedListener(ClipboardManager.java:166)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at org.chromium.ui.base.Clipboard.<init>(chromium-SystemWebView.apk-default-466410403:5)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at org.chromium.ui.base.Clipboard.getInstance(chromium-SystemWebView.apk-default-466410403:2)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at O7.onWindowFocusChanged(chromium-SystemWebView.apk-default-466410403:7)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at org.chromium.android_webview.AwContents.z(chromium-SystemWebView.apk-default-466410403:13)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at org.chromium.android_webview.AwContents.<init>(chromium-SystemWebView.apk-default-466410403:70)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at oh0.run(chromium-SystemWebView.apk-default-466410403:8)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at nj0.b(chromium-SystemWebView.apk-default-466410403:3)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at lj0.run(chromium-SystemWebView.apk-default-466410403:1)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at org.chromium.base.task.PostTask.c(chromium-SystemWebView.apk-default-466410403:3)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at nj0.a(chromium-SystemWebView.apk-default-466410403:3)
11-29 22:36:57.116 4742 4742 E AndroidRuntime: at com.android.webview.ch
11-29 22:36:57.122 4742 4742 I Process : Sending signal. PID: 4742 SIG: 9
11-29 22:36:57.225 357 1082 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(NetworkRequest [ id=10, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ], android.os.BinderProxy@bafc205)
11-29 22:36:57.226 357 759 D ConnectivityService: releasing NetworkRequest NetworkRequest [ id=10, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
11-29 22:36:57.228 357 759 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=10, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
11-29 22:36:57.231 357 807 I ActivityManager: Process com.immichframe.immichframe (pid 4742) has died
11-29 22:36:57.232 357 807 W ActivityManager: Force removing ActivityRecord{9cdb124 u0 com.immichframe.immichframe/.MainActivity t29}: app died, no saved state
11-29 22:36:57.242 357 434 W WindowManager: Failed looking up window
11-29 22:36:57.242 357 434 W WindowManager: java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@89484af does not exist
11-29 22:36:57.242 357 434 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8940)
11-29 22:36:57.242 357 434 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8931)
11-29 22:36:57.242 357 434 W WindowManager: at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2766)
11-29 22:36:57.242 357 434 W WindowManager: at com.android.server.wm.Session.remove(Session.java:187)
11-29 22:36:57.242 357 434 W WindowManager: at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:3099)
11-29 22:36:57.242 357 434 W WindowManager: at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5606)
11-29 22:36:57.242 357 434 W WindowManager: at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3409)
11-29 22:36:57.242 357 434 W WindowManager: at android.os.Handler.dispatchMessage(Handler.java:102)
11-29 22:36:57.242 357 434 W WindowManager: at android.os.Looper.loop(Looper.java:148)
11-29 22:36:57.242 357 434 W WindowManager: at android.os.HandlerThread.run(HandlerThread.java:61)
11-29 22:36:57.242 357 434 W WindowManager: at com.android.server.ServiceThread.run(ServiceThread.java:46)
11-29 22:36:57.277 2296 2387 D Surface : Surface::final mReqUsage=602
Expectations
No response
Configuration
Logs
Pre-Submission Checklist
Version
47
Deployment Method
Android (Frameo)
Description
I'm not sure it's fully related to the ImmichFrame, but I cannon launch it on Frameo 10.1 frame, event after updating (successfully) WebView. It seems like this version of Android (6.0.1) even more cut so I don't have the clipboard service running and the WebView crashes due to this.
The exception after I launch the ImmichFrame that I see in the logcat logs:
Attempt to invoke interface method 'void android.content.IClipboard.addPrimaryClipChangedListener(android.content.IOnPrimaryClipChangedListener, java.lang.String)' on a null object reference
Reproduction
Full logs:
Expectations
No response
Configuration
Logs
Pre-Submission Checklist
This is a bug report and not a feature request
I have provided all of the required information to reproduce the bug (config, logs, etc.)
I have checked for related issues and checked the documentation