{ "id": "174977", "key": "TIMOB-27876", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2020-05-03T16:52:25.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "20949", "name": "Release 9.0.1", "archived": false, "released": true, "releaseDate": "2020-04-16" }, { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "issuelinks": [], "assignee": null, "updated": "2020-05-03T16:52:25.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "As we're migrating to SDK 9, we noticed an issue that can be hard to debug: A runtime exception is not logged into the console but does pop up when building through Android Studio (exception following here, but unrelated to the ticket:\r\n{code}\r\nE/AndroidRuntime: FATAL EXCEPTION: main\r\n Process: io.lambus.app, PID: 24260\r\n java.lang.RuntimeException: Unable to get provider android.support.v4.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class \"android.support.v4.content.FileProvider\" on path: DexPathList[[zip file \"/system/framework/org.apache.http.legacy.boot.jar\", zip file \"/data/app/io.lambus.app--x61OL0PDghcuBC0jhn1kw==/base.apk\"],nativeLibraryDirectories=[/data/app/io.lambus.app--x61OL0PDghcuBC0jhn1kw==/lib/x86, /data/app/io.lambus.app--x61OL0PDghcuBC0jhn1kw==/base.apk!/lib/x86, /system/lib]]\r\n at android.app.ActivityThread.installProvider(ActivityThread.java:6396)\r\n at android.app.ActivityThread.installContentProviders(ActivityThread.java:5938)\r\n at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5853)\r\n at android.app.ActivityThread.access$1100(ActivityThread.java:199)\r\n at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650)\r\n at android.os.Handler.dispatchMessage(Handler.java:106)\r\n at android.os.Looper.loop(Looper.java:193)\r\n at android.app.ActivityThread.main(ActivityThread.java:6669)\r\n at java.lang.reflect.Method.invoke(Native Method)\r\n at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)\r\n at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)\r\n Caused by: java.lang.ClassNotFoundException: Didn't find class \"android.support.v4.content.FileProvider\" on path: DexPathList[[zip file \"/system/framework/org.apache.http.legacy.boot.jar\", zip file \"/data/app/io.lambus.app--x61OL0PDghcuBC0jhn1kw==/base.apk\"],nativeLibraryDirectories=[/data/app/io.lambus.app--x61OL0PDghcuBC0jhn1kw==/lib/x86, /data/app/io.lambus.app--x61OL0PDghcuBC0jhn1kw==/base.apk!/lib/x86, /system/lib]]\r\n at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:379)\r\n at java.lang.ClassLoader.loadClass(ClassLoader.java:312)\r\n at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:121)\r\n at androidx.core.app.CoreComponentFactory.instantiateProvider(CoreComponentFactory.java:67)\r\n at android.app.ActivityThread.installProvider(ActivityThread.java:6380)\r\n at android.app.ActivityThread.installContentProviders(ActivityThread.java:5938) \r\n at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5853) \r\n at android.app.ActivityThread.access$1100(ActivityThread.java:199) \r\n at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1650) \r\n at android.os.Handler.dispatchMessage(Handler.java:106) \r\n at android.os.Looper.loop(Looper.java:193) \r\n at android.app.ActivityThread.main(ActivityThread.java:6669) \r\n at java.lang.reflect.Method.invoke(Native Method) \r\n at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493) \r\n at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858) \r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Gradle java exceptions not logged into console ", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }