Status Update
Comments
mi...@gmail.com <mi...@gmail.com> #2
To investigate further, can you share more details on your use case where you are using the Glide? Kindly also note that Glide is "An image loading and caching library for Android focused on smooth scrolling", this may have implementations against the Terms of Service of Google Maps Platform[1] under "3.2.4(b) No Caching. Customer will not cache Google Maps Content except as expressly permitted under the Maps Service Specific Terms.".
Kindly review the ToS of Google Maps Platform, once confirmed that your use case is compliant, we will be glad to proceed with the investigation.
[1]
ad...@google.com <ad...@google.com> #3
an...@gmail.com <an...@gmail.com> #4
java.lang.ClassCastException: com.bumptech.glide.GeneratedAppGlideModuleImpl cannot be cast to com.google.android.libraries.maps.c.zza
at com.google.android.libraries.maps.c.zzb.zzb(Glide.java:96)
at com.google.android.libraries.maps.c.zzb.zza(Glide.java:11)
at com.google.android.libraries.maps.c.zzb.zzb(Glide.java:218)
at com.google.android.libraries.maps.cf.zzi.zza(ResourceManagerImpl.java:7)
at com.google.android.libraries.maps.hi.zzas.zza(Suppliers.java:7)
at com.google.android.libraries.maps.cf.zzf.run(Unknown Source:7)
at com.google.android.libraries.maps.fc.zzc.run(CancelableRunnable.java:7)
at com.google.android.libraries.maps.fc.zzad.run(Task.java:9)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at com.google.android.libraries.maps.fc.zzv.run(GmmThread.java:10)
at java.lang.Thread.run(Thread.java:919)
Glide in the maps SDK still tries to find the generated module by its non-shaded name, with and then tries to cast it to the shaded class, which blows up:
(com.google.android.libraries.maps.c.zza) Class.forName("com.bumptech.glide.GeneratedAppGlideModuleImpl")
an...@gmail.com <an...@gmail.com> #5
ce...@gmail.com <ce...@gmail.com> #6
ce...@gmail.com <ce...@gmail.com> #7
[Deleted User] <[Deleted User]> #8
[Deleted User] <[Deleted User]> #9
di...@gmail.com <di...@gmail.com> #10
Does anyone else facing this issue have a workaround they've implemented in the meantime? Aside from pulling out Glide from your project...
ce...@gmail.com <ce...@gmail.com> #11
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
implementation 'com.squareup.okhttp3:okhttp:3.12.0'
implementation ('com.github.bumptech.glide:okhttp3-integration:4.9.0') {
exclude group: 'glide-parent'
}
implementation ('com.github.bumptech.glide:annotations:4.9.0')
implementation name:'maps-sdk-3.0.0-beta', ext:'aar'
Stack trace:
java.lang.IllegalStateException: tname=DefaultPool6 - GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation.
at com.google.android.libraries.maps.c.zzb.zzb(Glide.java:103)
at com.google.android.libraries.maps.c.zzb.zza(Glide.java:11)
at com.google.android.libraries.maps.c.zzb.zzb(Glide.java:218)
at com.google.android.libraries.maps.cf.zzi.zza(ResourceManagerImpl.java:7)
at com.google.android.libraries.maps.hi.zzas.zza(Suppliers.java:7)
at com.google.android.libraries.maps.cf.zzf.run(Unknown Source)
at com.google.android.libraries.maps.fc.zzc.run(CancelableRunnable.java:7)
at com.google.android.libraries.maps.fc.zzad.run(Task.java:9)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at com.google.android.libraries.maps.fc.zzv.run(GmmThread.java:10)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.IllegalAccessException: java.lang.Class<com.bumptech.glide.GeneratedAppGlideModuleImpl> is not accessible from java.lang.Class<com.google.android.libraries.maps.c.zzb>
at java.lang.reflect.Constructor.newInstance(Native Method)
at com.google.android.libraries.maps.c.zzb.zzb(Glide.java:96)
my...@gmail.com <my...@gmail.com> #12
my...@gmail.com <my...@gmail.com> #13
my...@gmail.com <my...@gmail.com> #14
jf...@google.com <jf...@google.com> #16
mi...@gmail.com <mi...@gmail.com> #17
jf...@google.com <jf...@google.com> #18
This is still happening with glide 4.11.0
ka...@gmail.com <ka...@gmail.com> #19
We tried understanding the issue, it seems that a glide module is generated through reflection:
Some thing like this
try {
var0 = (com.google.android.libraries.maps.c.zza)Class.forName("com.bumptech.glide.GeneratedAppGlideModuleImpl").getDeclaredConstructor().newInstance();
} catch (ClassNotFoundException var2) {
if (Log.isLoggable("Glide", 5)) {
Log.w("Glide", "Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored");
}
} catch (IllegalAccessException | NoSuchMethodException | InvocationTargetException | InstantiationException var3) {
throw new IllegalStateException("GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation.", var3);
}
Glide has a constructor of this method with context, but google tries to create an instance of this class without any parameters, that is why an exception is occurred.
Someone can think of a workaround or time till this is fixed?
ch...@gmail.com <ch...@gmail.com> #20
ch...@gmail.com <ch...@gmail.com> #21
ab...@gmail.com <ab...@gmail.com> #22
di...@gmail.com <di...@gmail.com> #23
The actual problem here is that Glide generates GeneratedAppGlideModuleImpl
as package-private and when maps tries to use its own obfuscated, repackaged version of Glide to read it it blows up because its accessing it from a different package. If you look at the original issue the root cause is an IllegalAccessException
.
The real question is: why not just depend on Glide?
ad...@gmail.com <ad...@gmail.com> #24
ji...@gmail.com <ji...@gmail.com> #25
The Maps SDK 3.1.0-beta is not able to access to the constructor of GeneratedAppGlideModuleImpl
, if you call the reflection method isAccessible()
you will get false
So you need to fix it into Maps SDK.
I have done some tests and you should be able to write some code like:
@Nullable
private static com.google.android.libraries.maps.c.zza zzc(Context var0) {
com.google.android.libraries.maps.c.zza var1 = null;
try {
Constructor<?> constructor = Class.forName("com.bumptech.glide.GeneratedAppGlideModuleImpl").getDeclaredConstructor(Context.class);
constructor.setAccessible(true);
var1 = constructor.newInstance(var0.getApplicationContext());
} catch (ClassNotFoundException var3) {
if (Log.isLoggable("Glide", 5)) {
Log.w("Glide", "Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored");
}
} catch (IllegalAccessException | NoSuchMethodException | InvocationTargetException | InstantiationException var4) {
throw new IllegalStateException("GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation.", var4);
}
return var1;
}
ko...@gmail.com <ko...@gmail.com> #26
Is it something you've been working or you'll be working on soon?
my...@gmail.com <my...@gmail.com> #27
ja...@gmail.com <ja...@gmail.com> #28
2020-10-26 20:02:59.828 8739-16763/? E/AndroidRuntime: FATAL EXCEPTION: DefaultPool2
Process:
java.lang.RuntimeException: Expected instanceof GlideModule, but found: com.foo.BarGlideModule@81c319a
at com.google.android.libraries.maps.w.zzd.zza(ManifestParser.java:39)
at com.google.android.libraries.maps.w.zzd.zza(ManifestParser.java:18)
at com.google.android.libraries.maps.c.zzb.zza(Glide.java:14)
at com.google.android.libraries.maps.c.zzb.zzb(Glide.java:240)
at com.google.android.libraries.maps.cq.zzh.zza(ResourceManagerImpl.java:7)
at com.google.android.libraries.maps.ij.zzaw.zza(Suppliers.java:7)
at com.google.android.libraries.maps.cq.zzi.run(Unknown Source:8)
at com.google.android.libraries.maps.fv.zzc.run(CancelableRunnable.java:7)
at com.google.android.libraries.maps.fv.zzae.run(Task.java:9)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at com.google.android.libraries.maps.fv.zzv.run(GmmThread.java:10)
at java.lang.Thread.run(Thread.java:919)
vo...@gmail.com <vo...@gmail.com> #29
Process: com.hevo, PID: 11001
java.lang.IllegalStateException: GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation.
at com.google.android.libraries.maps.c.zzb.zzc(Glide.java:108)
at com.google.android.libraries.maps.c.zzb.zza(Glide.java:3)
at com.google.android.libraries.maps.c.zzb.zzb(Glide.java:240)
at com.google.android.libraries.maps.cq.zzh.zza(ResourceManagerImpl.java:7)
at com.google.android.libraries.maps.ij.zzaw.zza(Suppliers.java:7)
at com.google.android.libraries.maps.cq.zzi.run(Unknown Source:8)
at com.google.android.libraries.maps.fv.zzc.run(CancelableRunnable.java:7)
at com.google.android.libraries.maps.fv.zzae.run(Task.java:9)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at com.google.android.libraries.maps.fv.zzv.run(GmmThread.java:10)
at java.lang.Thread.run(Thread.java:764)
used glide 4.11.0 and google maps 3.1.0-beta
I'm not sure if this is also relevant but i also use google places 2.4.0.
mi...@gmail.com <mi...@gmail.com> #30
Only now I decide to checkout google maps v3 since I want to use it in Compose.... but this is great.... (together the use of the support lib)
da...@davidbarrett.net <da...@davidbarrett.net> #31
mo...@gmail.com <mo...@gmail.com> #32
I just integrated and was trying out maps v3 since I was facing OOM issues in v2 and ended up with this issue. Almost every developer I know uses Glide. If this issue is not fixed, will have to abandon the upgrade to v3. Team, please prioritise this and fix it. Thanks.
jr...@gmail.com <jr...@gmail.com> #33
al...@gmail.com <al...@gmail.com> #34
al...@gmail.com <al...@gmail.com> #35
fr...@gmail.com <fr...@gmail.com> #36
te...@gmail.com <te...@gmail.com> #37
Thanks for patiently waiting.
Maps SDK for Android Beta version is now deprecated and will be fully decommissioned in late 2022. For more information, you can check our documentation here:
Google has released a new client library for Maps SDK for Android, version 18.0.0 that we suggest that you try. You can also migrate your Beta SDK version to the latest version by using our migration tool here:
If you have any issues using the latest version of the SDK, please let us know by either:
te...@gmail.com <te...@gmail.com> #38
gr...@innodroid.com <gr...@innodroid.com> #39
Since we re-load the map in onCreateView anyway, I simply changed this:
map.onCreate(savedInstanceState);
to this:
map.onCreate(null);
And that works for my purposes.
wo...@gmail.com <wo...@gmail.com> #40
su...@gmail.com <su...@gmail.com> #41
- android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v7.widget.Toolbar$SavedState
- android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v7.widget.RecyclerView$SavedState
Solved by using workaround in #9. Thanks for the workaround.
de...@gmail.com <de...@gmail.com> #42
User workaround in #9
tg...@woolworths.com.au <tg...@woolworths.com.au> #43
Issue : android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v7.widget.RecyclerView$SavedState
This issue is still happening in Google Play Services 9.4.0
dj...@gmail.com <dj...@gmail.com> #44
ma...@gmail.com <ma...@gmail.com> #45
04-25 12:15:07.703 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.712 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.758 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.822 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.824 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.870 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.874 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.918 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:07.924 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.282 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.286 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.299 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.300 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.324 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.339 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.340 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.341 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.346 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.347 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.348 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.370 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.375 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.376 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.431 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.450 29344-29344/com.munye.user E/Parcel: Class not found when unmarshalling: android.support.v4.app.FragmentManagerState
java.lang.ClassNotFoundException: android.support.v4.app.FragmentManagerState
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400)
at android.os.Parcel.readParcelableCreator(Parcel.java:2489)
at android.os.Parcel.readParcelable(Parcel.java:2443)
at android.os.Parcel.readValue(Parcel.java:2346)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2698)
at android.os.BaseBundle.unparcel(BaseBundle.java:269)
at android.os.Bundle.getBundle(Bundle.java:817)
at com.google.android.gms.maps.internal.cz.a(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):4)
at com.google.maps.api.android.lib6.impl.bc.a(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):287)
at com.google.maps.api.android.lib6.impl.cz.a(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):15)
at com.google.android.gms.maps.internal.w.onTransact(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):12)
at android.os.Binder.transact(Binder.java:499)
at com.google.android.gms.maps.internal.IMapViewDelegate$zza$zza.onCreate(Unknown Source)
at com.google.android.gms.maps.MapView$zza.onCreate(Unknown Source)
at com.google.android.gms.dynamic.zza$3.zzb(Unknown Source)
at com.google.android.gms.dynamic.zza$1.zza(Unknown Source)
at com.google.android.gms.maps.MapView$zzb.zzIL(Unknown Source)
at com.google.android.gms.maps.MapView$zzb.zza(Unknown Source)
at com.google.android.gms.dynamic.zza.zza(Unknown Source)
at com.google.android.gms.dynamic.zza.onCreate(Unknown Source)
at com.google.android.gms.maps.MapView.onCreate(Unknown Source)
at com.munye.MapActivity.onCreate(MapActivity.java:270)
at android.app.Activity.performCreate(Activity.java:6915)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v4.app.FragmentManagerState" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000044/DynamiteModulesB_GmsCore_prodmnc_xxhdpi_release.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000044/n/arm64-v8a, /system/lib64, /vendor/lib64, /system/vendor/lib64, /product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at cys.loadClass(:com.google.android.gms@12529023@12.5.29 (040408-192802242):3)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:400)
at android.os.Parcel.readParcelableCreator(Parcel.java:2489)
at android.os.Parcel.readParcelable(Parcel.java:2443)
at android.os.Parcel.readValue(Parcel.java:2346)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2698)
at android.os.BaseBundle.unparcel(BaseBundle.java:269)
at android.os.Bundle.getBundle(Bundle.java:817)
at com.google.android.gms.maps.internal.cz.a(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):4)
at com.google.maps.api.android.lib6.impl.bc.a(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):287)
at com.google.maps.api.android.lib6.impl.cz.a(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):15)
at com.google.android.gms.maps.internal.w.onTransact(:com.google.android.gms.dynamite_dynamitemodulesb@12529023@12.5.29 (040408-192802242):12)
at android.os.Binder.transact(Binder.java:499)
at com.google.android.gms.maps.internal.IMapViewDelegate$zza$zza.onCreate(Unknown Source)
at com.google.android.gms.maps.MapView$zza.onCreate(Unknown Source)
at com.google.android.gms.dynamic.zza$3.zzb(Unknown Source)
at com.google.android.gms.dynamic.zza$1.zza(Unknown Source)
at com.google.android.gms.maps.MapView$zzb.zzIL(Unknown Source)
at com.google.android.gms.maps.MapView$zzb.zza(Unknown Source)
at com.google.android.gms.dynamic.zza.zza(Unknown Source)
at com.google.android.gms.dynamic.zza.onCreate(Unknown Source)
at com.google.android.gms.maps.MapView.onCreate(Unknown Source)
at com.munye.MapActivity.onCreate(MapActivity.java:270)
at android.app.Activity.performCreate(Activity.java:6915)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2746)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2864)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1567)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
04-25 12:15:08.485 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.489 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.572 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.577 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.628 29344-29344/com.munye.user E/MyLocationService: LocationListener passive
04-25 12:15:08.628 29344-29344/com.munye.user E/MyLocationService: onCreate
04-25 12:15:08.628 29344-29344/com.munye.user E/MyLocationService: initializeLocationManager - LOCATION_INTERVAL: 1000 LOCATION_DISTANCE: 10.0
04-25 12:15:08.692 29344-29344/com.munye.user E/RecyclerView: No adapter attached; skipping layout
04-25 12:15:08.737 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.747 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.761 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.769 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.778 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:08.789 29344-29344/com.munye.user E/MyLocationService: onStartCommand
04-25 12:15:08.797 29344-29344/com.munye.user E/MyLocationService: onStartCommand
04-25 12:15:08.995 29344-29344/com.munye.user E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
04-25 12:15:08.995 29344-29344/com.munye.user E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
04-25 12:15:10.499 29344-29344/com.munye.user E/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null
04-25 12:15:14.657 29344-29344/com.munye.user E/MyLocationService: onLocationChanged: Location[network -26******,28****** acc=22 et=+6d18h39m0s57ms]
04-25 12:16:09.314 29344-29344/com.munye.user E/MyLocationService: onLocationChanged: Location[network -26******,28****** acc=900 et=+6d18h39m54s703ms]
04-25 12:16:09.867 29344-29344/com.munye.user E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
04-25 12:16:09.867 29344-29344/com.munye.user E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
04-25 12:16:15.198 29344-29344/com.munye.user E/MyLocationService: onLocationChanged: Location[network -26******,28****** acc=20 et=+6d18h40m0s562ms]
Description
The app crash in onCreate() when forwarding the savedInstanceState to the MapView. The MapView is created in android.support.v4.app.FragmentActivity.
0 java.lang.ExceptionInInitializerError
1 at java.lang.Class.classForName(Native Method)
2 at java.lang.Class.forName(Class.java:217)
3 at android.os.Parcel.readParcelable(Parcel.java:2096)
4 at android.os.Parcel.readValue(Parcel.java:1998)
5 at android.os.Parcel.readMapInternal(Parcel.java:2259)
6 at android.os.Bundle.unparcel(Bundle.java:223)
7 at android.os.Bundle.getBundle(Bundle.java:1151)
8 at edl.a(SourceFile:74)
9 at maps.af.al.a(Unknown Source)
10 at maps.af.bj.a(Unknown Source)
11 at ebw.onTransact(SourceFile:66)
12 at android.os.Binder.transact(Binder.java:310)
13 at com.google.android.gms.maps.internal.IMapViewDelegate$a$a.onCreate(Unknown Source)
14 at com.google.android.gms.maps.MapView$a.onCreate(Unknown Source)
15 at
16 at
17 at com.google.android.gms.maps.MapView$b.aQ(Unknown Source)
18 at com.google.android.gms.maps.MapView$b.a(Unknown Source)
19 at com.google.android.gms.internal.bb.a(Unknown Source)
20 at com.google.android.gms.internal.bb.onCreate(Unknown Source)
21 at com.google.android.gms.maps.MapView.onCreate(Unknown Source)
22 at Carousel.onCreate(Carousel.java:125)
23 at android.app.Activity.performCreate(Activity.java:5104)
24 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
25 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2158)
26 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2244)
27 at android.app.ActivityThread.access$600(ActivityThread.java:149)
28 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246)
29 at android.os.Handler.dispatchMessage(Handler.java:99)
30 at android.os.Looper.loop(Looper.java:213)
31 at android.app.ActivityThread.main(ActivityThread.java:5092)
32 at java.lang.reflect.Method.invokeNative(Native Method)
33 at java.lang.reflect.Method.invoke(Method.java:511)
34 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
35 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
36 at dalvik.system.NativeStart.main(Native Method)
37 Caused by: java.lang.NoClassDefFoundError: ae
38 at android.support.v4.app.FragmentManagerState.<clinit>(SourceFile:373)
39 ... 36 more
40 java.lang.NoClassDefFoundError: ae
41 at android.support.v4.app.FragmentManagerState.<clinit>(SourceFile:373)
42 at java.lang.Class.classForName(Native Method)
43 at java.lang.Class.forName(Class.java:217)
44 at android.os.Parcel.readParcelable(Parcel.java:2096)
45 at android.os.Parcel.readValue(Parcel.java:1998)
46 at android.os.Parcel.readMapInternal(Parcel.java:2259)
47 at android.os.Bundle.unparcel(Bundle.java:223)
48 at android.os.Bundle.getBundle(Bundle.java:1151)
49 at edl.a(SourceFile:74)
50 at maps.af.al.a(Unknown Source)
51 at maps.af.bj.a(Unknown Source)
52 at ebw.onTransact(SourceFile:66)
53 at android.os.Binder.transact(Binder.java:310)
54 at com.google.android.gms.maps.internal.IMapViewDelegate$a$a.onCreate(Unknown Source)
55 at com.google.android.gms.maps.MapView$a.onCreate(Unknown Source)
56 at
57 at
58 at com.google.android.gms.maps.MapView$b.aQ(Unknown Source)
59 at com.google.android.gms.maps.MapView$b.a(Unknown Source)
60 at com.google.android.gms.internal.bb.a(Unknown Source)
61 at com.google.android.gms.internal.bb.onCreate(Unknown Source)
62 at com.google.android.gms.maps.MapView.onCreate(Unknown Source)
63 at Carousel.onCreate(Carousel.java:125)
64 at android.app.Activity.performCreate(Activity.java:5104)
65 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
66 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2158)
67 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2244)
68 at android.app.ActivityThread.access$600(ActivityThread.java:149)
69 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246)
70 at android.os.Handler.dispatchMessage(Handler.java:99)
71 at android.os.Looper.loop(Looper.java:213)
72 at android.app.ActivityThread.main(ActivityThread.java:5092)
73 at java.lang.reflect.Method.invokeNative(Native Method)
74 at java.lang.reflect.Method.invoke(Method.java:511)
75 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
76 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:564)
77 at dalvik.system.NativeStart.main(Native Method)
0 java.lang.RuntimeException: Unable to start activity ComponentInfo{Carousel}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v4.app.FragmentManagerState
1 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2308)
2 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362)
3 at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3895)
4 at android.app.ActivityThread.access$800(ActivityThread.java:168)
5 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1335)
6 at android.os.Handler.dispatchMessage(Handler.java:99)
7 at android.os.Looper.loop(Looper.java:137)
8 at android.app.ActivityThread.main(ActivityThread.java:5493)
9 at java.lang.reflect.Method.invokeNative(Native Method)
10 at java.lang.reflect.Method.invoke(Method.java:525)
11 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209)
12 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
13 at dalvik.system.NativeStart.main(Native Method)
14 Caused by: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v4.app.FragmentManagerState
15 at android.os.Parcel.readParcelableCreator(Parcel.java:2105)
16 at android.os.Parcel.readParcelable(Parcel.java:2055)
17 at android.os.Parcel.readValue(Parcel.java:1971)
18 at android.os.Parcel.readMapInternal(Parcel.java:2255)
19 at android.os.Bundle.unparcel(Bundle.java:223)
20 at android.os.Bundle.getBundle(Bundle.java:1148)
21 at edl.a(SourceFile:74)
22 at maps.af.al.a(Unknown Source)
23 at maps.af.bj.a(Unknown Source)
24 at ebw.onTransact(SourceFile:66)
25 at android.os.Binder.transact(Binder.java:347)
26 at com.google.android.gms.maps.internal.IMapViewDelegate$a$a.onCreate(Unknown Source)
27 at com.google.android.gms.maps.MapView$a.onCreate(Unknown Source)
28 at
29 at
30 at com.google.android.gms.maps.MapView$b.aQ(Unknown Source)
31 at com.google.android.gms.maps.MapView$b.a(Unknown Source)
32 at com.google.android.gms.internal.bb.a(Unknown Source)
33 at com.google.android.gms.internal.bb.onCreate(Unknown Source)
34 at com.google.android.gms.maps.MapView.onCreate(Unknown Source)
35 at Carousel.onCreate(Carousel.java:125)
36 at android.app.Activity.performCreate(Activity.java:5372)
37 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
38 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
39 ... 12 more
40 android.os.BadParcelableException: ClassNotFoundException when unmarshalling: android.support.v4.app.FragmentManagerState
41 at android.os.Parcel.readParcelableCreator(Parcel.java:2105)
42 at android.os.Parcel.readParcelable(Parcel.java:2055)
43 at android.os.Parcel.readValue(Parcel.java:1971)
44 at android.os.Parcel.readMapInternal(Parcel.java:2255)
45 at android.os.Bundle.unparcel(Bundle.java:223)
46 at android.os.Bundle.getBundle(Bundle.java:1148)
47 at edl.a(SourceFile:74)
48 at maps.af.al.a(Unknown Source)
49 at maps.af.bj.a(Unknown Source)
50 at ebw.onTransact(SourceFile:66)
51 at android.os.Binder.transact(Binder.java:347)
52 at com.google.android.gms.maps.internal.IMapViewDelegate$a$a.onCreate(Unknown Source)
53 at com.google.android.gms.maps.MapView$a.onCreate(Unknown Source)
54 at
55 at
56 at com.google.android.gms.maps.MapView$b.aQ(Unknown Source)
57 at com.google.android.gms.maps.MapView$b.a(Unknown Source)
58 at com.google.android.gms.internal.bb.a(Unknown Source)
59 at com.google.android.gms.internal.bb.onCreate(Unknown Source)
60 at com.google.android.gms.maps.MapView.onCreate(Unknown Source)
61 at Carousel.onCreate(Carousel.java:125)
62 at android.app.Activity.performCreate(Activity.java:5372)
63 at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
64 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
65 at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2362)
66 at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3895)
67 at android.app.ActivityThread.access$800(ActivityThread.java:168)
68 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1335)
69 at android.os.Handler.dispatchMessage(Handler.java:99)
70 at android.os.Looper.loop(Looper.java:137)
71 at android.app.ActivityThread.main(ActivityThread.java:5493)
72 at java.lang.reflect.Method.invokeNative(Native Method)
73 at java.lang.reflect.Method.invoke(Method.java:525)
74 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1209)
75 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1025)
76 at dalvik.system.NativeStart.main(Native Method)
I found a similar problem here