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
{{ message }}
This repository has been archived by the owner on May 18, 2021. It is now read-only.
Thanks for your plugin ;) I have a random bug using it that I don't really fully understand. 2 things:
this lib may have a bug on ChromeSystemStorage.java::buildExternalStorageUnitInfo around the line 282 . The potential "null" value returned by the plugin.getExternalStorageDirectoryByPath(storagePath, directories); function on line 94 seems not handled.
Maybe you could help me understand why I'm having this bug. It happens without removing (physically or by unmounting it properly) the sdcard. Android, sometimes, seems to unmount/re-mount the sdcard on his own... and it's at that time that the bug occurs ... Seems related to the listing of its directories failing. How could this happen ? system not ready yet to list it ?
Thanks for your help.
error :
java.lang.RuntimeException: Unable to start receiver org.chromium.ChromeSystemStorageReceiver: java.lang.NullPointerException: Attempt to read from field 'java.io.File org.chromium.ChromeSystemStorage$StorageFile.path' on a null object reference
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3114)
at android.app.ActivityThread.access$1800(ActivityThread.java:181)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1551)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6117)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
Caused by: java.lang.NullPointerException: Attempt to read from field 'java.io.File org.chromium.ChromeSystemStorage$StorageFile.path' on a null object reference
at org.chromium.ChromeSystemStorage.buildExternalStorageUnitInfo(ChromeSystemStorage.java:282)
at org.chromium.ChromeSystemStorage.access$400(ChromeSystemStorage.java:25)
at org.chromium.ChromeSystemStorage$1.mapEventToMessage(ChromeSystemStorage.java:107)
at org.chromium.BackgroundEventHandler.sendEventMessage(BackgroundEventHandler.java:101)
at org.chromium.BackgroundEventHandler.handleBroadcast(BackgroundEventHandler.java:47)
at org.chromium.ChromeSystemStorageReceiver.onReceive(ChromeSystemStorageReceiver.java:16)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:3107)
... 9 more
complete logcat :
--------- beginning of system
V/ActivityThread( 3560): updateVisibility : ActivityRecord{2cc039fe token=android.os.BinderProxy@726baef {com.domain.app/com.domain.app.MainActivity}} show : true
I/Timeline( 3560): Timeline: Activity_idle id: android.os.BinderProxy@726baef time:126524
V/ActivityThread( 3560): updateVisibility : ActivityRecord{2cc039fe token=android.os.BinderProxy@726baef {com.domain.app/com.domain.app.MainActivity}} show : true
I/art ( 3560): Background sticky concurrent mark sweep GC freed 79185(3MB) AllocSpace objects, 0(0B) LOS objects, 29% free, 7MB/11MB, paused 5.803ms total 56.910ms
V/ActivityThread( 3560): updateVisibility : ActivityRecord{2cc039fe token=android.os.BinderProxy@726baef {com.domain.app/com.domain.app.MainActivity}} show : false
I/BackgroundActivity( 3560): Resuming foreground activity. fromLauncher=true
I/Timeline( 3560): Timeline: Activity_launch_request id:com.domain.app time:132914
W/art ( 3560): Attempt to remove local handle scope entry from IRT, ignoring
E/chromium( 3560): [ERROR:layer_tree_host_impl.cc(2121)] Forcing zero-copy tile initialization as worker context is missing
I/Timeline( 3560): Timeline: Activity_idle id: android.os.BinderProxy@726baef time:133190
D/ChromeSystemStorage( 3560): Received broadcast: file:///storage/extSdCard#Intent;action=android.intent.action.MEDIA_UNMOUNTED;launchFlags=0x4000010;component=com.domain.app/org.chromium.ChromeSystemStorageReceiver;end
D/BackgroundEventHandler( 3560): Firing notification to already running web view
W/ContextImpl( 3560): Failed to ensure directory: /storage/extSdCard/Android/data/com.domain.app/files
D/ChromeSystemStorage( 3560): Received broadcast: file:///storage/extSdCard#Intent;action=android.intent.action.MEDIA_MOUNTED;launchFlags=0x4000010;component=com.domain.app/org.chromium.ChromeSystemStorageReceiver;end
D/BackgroundEventHandler( 3560): Firing notification to already running web view
W/ContextImpl( 3560): Failed to ensure directory: /storage/extSdCard/Android/data/com.domain.app/files
D/AndroidRuntime( 3560): Shutting down VM
The text was updated successfully, but these errors were encountered:
Hi there,
Thanks for your plugin ;) I have a random bug using it that I don't really fully understand. 2 things:
this lib may have a bug on ChromeSystemStorage.java::buildExternalStorageUnitInfo around the line 282 . The potential "null" value returned by the
plugin.getExternalStorageDirectoryByPath(storagePath, directories);
function on line 94 seems not handled.Maybe you could help me understand why I'm having this bug. It happens without removing (physically or by unmounting it properly) the sdcard. Android, sometimes, seems to unmount/re-mount the sdcard on his own... and it's at that time that the bug occurs ... Seems related to the listing of its directories failing. How could this happen ? system not ready yet to list it ?
Thanks for your help.
error :
complete logcat :
The text was updated successfully, but these errors were encountered: