Issue 1:
Glide Version: 4.0.0-RC1

Integration libraries: okhttp3-4.0.0-RC1

Device/Android Version: Nexus 5X 7.1.2

Issue details / Repro steps / Use case background:

Loading an Uri pointing to a resource drawable "android.resource://package/drawable/ic_facebook" fails if the drawable is a Vector. Works fine otherwise, so that is definitely the problem.

Stack trace / LogCat:

07-13 13:35:47.132 23478-23478/package W/Glide: Load failed for android.resource://package/drawable/ic_facebook with size [189x189]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{AssetInputStream->Bitmap->Bitmap}, LOCAL
Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{AssetInputStream->Bitmap->Bitmap}
Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class android.os.ParcelFileDescriptor, LOCAL
Cause (1 of 1): class java.io.FileNotFoundException: Resource does not exist: android.resource://package/drawable/ic_facebook
07-13 13:35:47.132 23478-23478/package E/Glide: class com.bumptech.glide.load.engine.GlideException: Failed to load resource
07-13 13:35:47.134 23478-23478/package I/Glide: Root cause (1 of 1)
java.io.FileNotFoundException: Resource does not exist: android.resource://package/drawable/ic_facebook
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:976)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:907)
at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:21)
at com.bumptech.glide.load.data.FileDescriptorLocalUriFetcher.loadResource(FileDescriptorLocalUriFetcher.java:13)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:40)
at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61)
at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282)
at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:398)
at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:359)
at com.bumptech.glide.load.engine.SourceGenerator.onDataReady(SourceGenerator.java:111)
at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:48)
at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:61)
at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:282)
at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:252)
at com.bumptech.glide.load.engine.DecodeJob.run(DecodeJob.java:222)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:761)
at com.bumptech.glide.load.engine.executor.GlideExecutor$DefaultThreadFactory$1.run(GlideExecutor.java:347)

Issue 2:
We have a placeholder shape drawable (or sometimes shown directly as .load(R.drawable.abc)) which fails to display. The onException listener is called, but e is null.

The logs contain only:

com.example.app D/skia﹕ --- SkImageDecoder::Factory returned null

Glide: 3.5.2

Tested on Genymotion v4.4.2

The drawable:

<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#ffabcdef"/>
</shape>