-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Steps to reproduce
- Create work profile in Android
- Install Nextcloud (from F-Droid or Aptoide)
- Input server URL and credentials
Expected behaviour
- Nextcloud app opens normally, displaying the File tab
Actual behaviour
- App crashes with error report
Environment data
Android version:
Device model:
Stock or customized system:
Nextcloud app version:
Nextcloud server version:
Logs
************ CAUSE OF ERROR ************
java.lang.RuntimeException: Error receiving broadcast Intent { act=com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_CONTENTS_SYNCED flg=0x10 pkg=com.nextcloud.client (has extras) } in com.owncloud.android.ui.activity.FileDisplayActivity$SyncBroadcastReceiver@b06a43c
at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1394)
at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: java.lang.SecurityException: Permission Denial: unbroadcastIntent() from pid=4253, uid=1010169 requires android.permission.BROADCAST_STICKY
at android.os.Parcel.createException(Parcel.java:1950)
at android.os.Parcel.readException(Parcel.java:1918)
at android.os.Parcel.readException(Parcel.java:1868)
at android.app.IActivityManager$Stub$Proxy.unbroadcastIntent(IActivityManager.java:3919)
at android.app.ContextImpl.removeStickyBroadcast(ContextImpl.java:1346)
at android.content.ContextWrapper.removeStickyBroadcast(ContextWrapper.java:588)
at com.owncloud.android.ui.activity.FileDisplayActivity$SyncBroadcastReceiver.onReceive(FileDisplayActivity.java:1411)
at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1384)
... 8 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActivityManagerService.unbroadcastIntent(ActivityManagerService.java:22222)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:183)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3346)
at android.os.Binder.execTransact(Binder.java:731)
************ APP INFORMATION ************
ID: com.nextcloud.client
Version: 30100090
Build flavor: gplay
************ DEVICE INFORMATION ************
Brand: xiaomi
Device: tissot_sprout
Model: Mi A1
Id: PKQ1.180917.001
Product: tissot
************ FIRMWARE ************
SDK: 28
Release: 9
Incremental: V10.0.17.0.PDHMIXM
Web server error log
{"reqId":"XXX","level":3,"time":"2020-01-25T13:18:55+00:00","remoteAddr":"XXX","user":"XXX","app":"PHP","method":"DELETE","url":"/ocs/v2.php/apps/notifications/api/v2/push","message":"Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"Mozilla/5.0 (Android) Nextcloud-android/3.10.0","version":"17.0.2.1","id":"XXX"}
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate