{"action":"reopened","issue":{"url":"https://api.github.com/repos/nextcloud/android/issues/3021","repository_url":"https://api.github.com/repos/nextcloud/android","labels_url":"https://api.github.com/repos/nextcloud/android/issues/3021/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/android/issues/3021/comments","events_url":"https://api.github.com/repos/nextcloud/android/issues/3021/events","html_url":"https://github.com/nextcloud/android/issues/3021","id":359248991,"node_id":"MDU6SXNzdWUzNTkyNDg5OTE=","number":3021,"title":"App (All versions)  crashes frequently if there are files/folders in the user folder root that are shared in chat","user":{"login":"gradinaruvasile","id":16729939,"node_id":"MDQ6VXNlcjE2NzI5OTM5","avatar_url":"https://avatars0.githubusercontent.com/u/16729939?v=4","gravatar_id":"","url":"https://api.github.com/users/gradinaruvasile","html_url":"https://github.com/gradinaruvasile","followers_url":"https://api.github.com/users/gradinaruvasile/followers","following_url":"https://api.github.com/users/gradinaruvasile/following{/other_user}","gists_url":"https://api.github.com/users/gradinaruvasile/gists{/gist_id}","starred_url":"https://api.github.com/users/gradinaruvasile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gradinaruvasile/subscriptions","organizations_url":"https://api.github.com/users/gradinaruvasile/orgs","repos_url":"https://api.github.com/users/gradinaruvasile/repos","events_url":"https://api.github.com/users/gradinaruvasile/events{/privacy}","received_events_url":"https://api.github.com/users/gradinaruvasile/received_events","type":"User","site_admin":false},"labels":[{"id":392414616,"node_id":"MDU6TGFiZWwzOTI0MTQ2MTY=","url":"https://api.github.com/repos/nextcloud/android/labels/approved","name":"approved","color":"0052cc","default":false},{"id":388626761,"node_id":"MDU6TGFiZWwzODg2MjY3NjE=","url":"https://api.github.com/repos/nextcloud/android/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-09-11T22:34:48Z","updated_at":"2018-09-19T14:28:33Z","closed_at":null,"author_association":"NONE","body":"### Actual behaviour\r\n- The app crashes randomly in most screens where there are files/folders. Started happening after server was upgraded to 14\r\n\r\nThe error seems to be \r\n```\r\nandroid java.lang.IllegalArgumentException: Empty values\r\nat android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1619)\r\n```\r\n\r\n### Expected behaviour\r\n- It should not crash\r\n \r\n### Steps to reproduce\r\n1. Install app (Server NC 14)\r\n2. log in\r\n3. Watch it crash\r\n\r\n\r\n### Environment data\r\nAndroid version:\r\n8.1.0\r\nDevice model: \r\nLenovo K6\r\nStock or customized system:\r\nRuns Lineage OS\r\nNextcloud app version:\r\nAll versions (Play Store 3.2.4, 3.3.0 RC2, FDroid 3.2.3, FDroid Dev)\r\nNextcloud server version:\r\n14\r\n### Logs\r\n```\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: FATAL EXCEPTION: Thread-14\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: Process: com.nextcloud.client, PID: 21931\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: java.lang.IllegalArgumentException: Empty values\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1619)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat android.database.sqlite.SQLiteDatabase.update(SQLiteDatabase.java:1599)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.providers.FileContentProvider.updateFilesTableAccordingToShareInsertion(FileContentProvider.java:424)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.providers.FileContentProvider.insert(FileContentProvider.java:314)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.providers.FileContentProvider.insert(FileContentProvider.java:258)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat android.content.ContentProviderOperation.apply(ContentProviderOperation.java:302)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.providers.FileContentProvider.applyBatch(FileContentProvider.java:698)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat android.content.ContentProvider$Transport.applyBatch(ContentProvider.java:317)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:465)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat android.content.ContentResolver.applyBatch(ContentResolver.java:1578)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.datamodel.FileDataStorageManager.saveSharesInFolder(FileDataStorageManager.java:1562)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.operations.RefreshFolderOperation.refreshSharesForFolder(RefreshFolderOperation.java:545)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.operations.RefreshFolderOperation.run(RefreshFolderOperation.java:222)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat com.owncloud.android.lib.common.operations.RemoteOperation.run(RemoteOperation.java:316)\r\n09-12 01:30:17.461 21931 22134 E AndroidRuntime: \tat java.lang.Thread.run(Thread.java:764)\r\n09-12 01:30:17.465  2185  9201 W ActivityManager:   Force finishing activity com.nextcloud.client/com.owncloud.android.ui.activity.FolderPickerActivity\r\n```\r\n\r\n#### Web server error log\r\n```\r\n\r\n```\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n```\r\nInsert your Nextcloud log here\r\n```\r\n**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\r\n"}}
{"actor":{"display_login":"AndyScherzinger"}}