android
android copied to clipboard
[BUG] Crash reported in Google Play - BackgroundServiceStartNotAllowedException
The following crashes in Google Play.
- It was only reported for Android 12 and 2.20 version.
android.app.BackgroundServiceStartNotAllowedException:
at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1940)
at android.app.ContextImpl.startService (ContextImpl.java:1886)
at android.content.ContextWrapper.startService (ContextWrapper.java:791)
at com.owncloud.android.files.services.TransferRequester.uploadsUpdate (TransferRequester.java:141)
at com.owncloud.android.files.services.TransferRequester.uploadUpdate (TransferRequester.java:151)
at com.owncloud.android.operations.SynchronizeFileOperation.requestForUpload (SynchronizeFileOperation.java:235)
at com.owncloud.android.operations.SynchronizeFileOperation.run (SynchronizeFileOperation.java:199)
at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation (RemoteOperation.java:240)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute (RemoteOperation.java:183)
at com.owncloud.android.operations.common.SyncOperation.execute (SyncOperation.java:68)
at com.owncloud.android.operations.SynchronizeFolderOperation.syncContents (SynchronizeFolderOperation.java:468)
at com.owncloud.android.operations.SynchronizeFolderOperation.run (SynchronizeFolderOperation.java:216)
at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation (RemoteOperation.java:240)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute (RemoteOperation.java:205)
at com.owncloud.android.operations.common.SyncOperation.execute (SyncOperation.java:87)
at com.owncloud.android.syncadapter.FileSyncAdapter.synchronizeFolder (FileSyncAdapter.java:283)
at com.owncloud.android.syncadapter.FileSyncAdapter.onPerformSync (FileSyncAdapter.java:191)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run (AbstractThreadedSyncAdapter.java:334)
- Reported for many versions (from Android8) and 2.20
java.lang.IllegalStateException:
at android.app.ContextImpl.startServiceCommon (ContextImpl.java:1810)
at android.app.ContextImpl.startService (ContextImpl.java:1765)
at android.content.ContextWrapper.startService (ContextWrapper.java:664)
at com.owncloud.android.files.services.TransferRequester.uploadsUpdate (TransferRequester.java:141)
at com.owncloud.android.files.services.TransferRequester.uploadUpdate (TransferRequester.java:151)
at com.owncloud.android.operations.SynchronizeFileOperation.requestForUpload (SynchronizeFileOperation.java:235)
at com.owncloud.android.operations.SynchronizeFileOperation.run (SynchronizeFileOperation.java:199)
at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation (RemoteOperation.java:240)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute (RemoteOperation.java:183)
at com.owncloud.android.operations.common.SyncOperation.execute (SyncOperation.java:68)
at com.owncloud.android.operations.SynchronizeFolderOperation.syncContents (SynchronizeFolderOperation.java:468)
at com.owncloud.android.operations.SynchronizeFolderOperation.run (SynchronizeFolderOperation.java:205)
at com.owncloud.android.lib.common.operations.RemoteOperation.runOperation (RemoteOperation.java:240)
at com.owncloud.android.lib.common.operations.RemoteOperation.execute (RemoteOperation.java:205)
at com.owncloud.android.operations.common.SyncOperation.execute (SyncOperation.java:87)
at com.owncloud.android.syncadapter.FileSyncAdapter.synchronizeFolder (FileSyncAdapter.java:283)
at com.owncloud.android.syncadapter.FileSyncAdapter.syncSubfolders (FileSyncAdapter.java:363)
at com.owncloud.android.syncadapter.FileSyncAdapter.synchronizeFolder (FileSyncAdapter.java:301)
at com.owncloud.android.syncadapter.FileSyncAdapter.syncSubfolders (FileSyncAdapter.java:363)
at com.owncloud.android.syncadapter.FileSyncAdapter.synchronizeFolder (FileSyncAdapter.java:301)
at com.owncloud.android.syncadapter.FileSyncAdapter.syncSubfolders (FileSyncAdapter.java:363)
at com.owncloud.android.syncadapter.FileSyncAdapter.synchronizeFolder (FileSyncAdapter.java:301)
at com.owncloud.android.syncadapter.FileSyncAdapter.syncSubfolders (FileSyncAdapter.java:363)
at com.owncloud.android.syncadapter.FileSyncAdapter.synchronizeFolder (FileSyncAdapter.java:301)
at com.owncloud.android.syncadapter.FileSyncAdapter.onPerformSync (FileSyncAdapter.java:191)
at android.content.AbstractThreadedSyncAdapter$SyncThread.run (AbstractThreadedSyncAdapter.java:334)