I am facing the same issue, is the fix available in cupcake 1.5? Or can I get the source code for just fixing this?
Thanks & Regards, Ash On Mar 4 2008, 10:48 pm, hackbod <hack...@gmail.com> wrote: > It will be fixed, but I'm not sure when it will appear in the SDK. > > On Mar 4, 4:11 am, gadgets <akso...@gmail.com> wrote: > > > > > Any reply to my questions? What is the number of this very critical > > bug within bug tracker? > > > On 29 фев, 21:41, hackbod <hack...@gmail.com> wrote: > > > > Unfortunately, it is fixed but it looks like there was a little code > > > introduced to the system that prints the Intent from the system > > > process... and as a result tries to access the extras, which means > > > unparceling, and things break. :( > > > > This -will- be fixed in a future SDK, but I don't know when. > > > > On Feb 29, 7:59 am, gadgets <akso...@gmail.com> wrote: > > > > > Is it fixed at current release, m5? I'm still receiving such error. If > > > > it is NOT fixed, HOW i should pass my custom data between activities?? > > > > > On 12 фев, 23:12, hackbod <hack...@gmail.com> wrote: > > > > > > Hi Stefano, > > > > > > This doesn't work in the current SDK, but should be fixed in the next > > > > > one. > > > > > > On Feb 12, 6:14 am, "Semeria Stefano" > > > > > > <stefano.seme...@guest.telecomitalia.it> wrote: > > > > > > Hi all, > > > > > > > We are trying to pass custom objects between activities. We > > > > > > implemented > > > > > > the parcelable interface as described in the documentation to be > > > > > > able to > > > > > > store our object ( called MyParcelable )into a Bundle. > > > > > > > When we run our application we got a system crash with the following > > > > > > RuntimeException: > > > > > > > D/dalvikvm( 786): Exception java/lang/ClassNotFoundException from > > > > > > PathClassLoader.java:178 not caught locally > > > > > > > D/dalvikvm( 786): NOTE: loadClass 'android/MyParcelable' 0x40017d80 > > > > > > threw an exception > > > > > > > E/Parcel ( 786): Class not found when unmarshalling: > > > > > > android.MyParcelable, e: java.lang.ClassNotFoundException: > > > > > > android/MyParcelable > > > > > > > E/AndroidRuntime( 786): *** EXCEPTION IN SYSTEM PROCESS. System > > > > > > will > > > > > > crash. > > > > > > > E/AndroidRuntime( 786): java.lang.RuntimeException: > > > > > > java.lang.ClassNotFoundException: android/MyParcelable > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readParcelable(Parcel.java:1238) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readValue(Parcel.java:1153) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readMapInternal(Parcel.java:1315) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readBundle(Parcel.java:956) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Bundle$1.createFromParcel(Bundle.java:791) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Bundle$1.createFromParcel(Bundle.java:794) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readParcelable(Parcel.java:1260) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readValue(Parcel.java:1153) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readMapInternal(Parcel.java:1315) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readBundle(Parcel.java:956) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.content.Intent.readFromParcel(Intent.java:2277) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.content.Intent.<init>(Intent.java:2256) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.content.Intent.<init>(Intent.java:444) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.content.Intent$1.createFromParcel(Intent.java:2248) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.content.Intent$1.createFromParcel(Intent.java:2250) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.app.ActivityManagerNative.doTransact(ActivityManagerNative.java: > > > > > > 118) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java: > > > > > > 104) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.BinderNative.execTransact(BinderNative.java:194) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.dalvik.NativeStart.run(Native > > > > > > Method) > > > > > > > E/AndroidRuntime( 786): Caused by: > > > > > > java.lang.ClassNotFoundException: > > > > > > android/MyParcelable > > > > > > > E/AndroidRuntime( 786): at > > > > > > java.lang.Class.classForName(Native > > > > > > Method) > > > > > > > E/AndroidRuntime( 786): at > > > > > > java.lang.Class.forName(Class.java:135) > > > > > > > E/AndroidRuntime( 786): at > > > > > > java.lang.Class.forName(Class.java:103) > > > > > > > E/AndroidRuntime( 786): at > > > > > > android.os.Parcel.readParcelable(Parcel.java:1226) > > > > > > > E/AndroidRuntime( 786): ... 18 more > > > > > > > E/AndroidRuntime( 786): Caused by: java.lang.NoClassDefFoundError: > > > > > > android/MyParcelable > > > > > > > E/AndroidRuntime( 786): ... 22 more > > > > > > > E/AndroidRuntime( 786): Caused by: > > > > > > java.lang.ClassNotFoundException: > > > > > > android.MyParcelable in loader java.lang.pathclassloa...@40017d80 > > > > > > > E/AndroidRuntime( 786): at > > > > > > java.lang.PathClassLoader.findClass(PathClassLoader.java:178) > > > > > > > E/AndroidRuntime( 786): at > > > > > > java.lang.ClassLoader.loadClass(ClassLoader.java:438) > > > > > > > E/AndroidRuntime( 786): at > > > > > > java.lang.ClassLoader.loadClass(ClassLoader.java:406) > > > > > > > E/AndroidRuntime( 786): ... 22 more > > > > > > > Reading the documentation, it seems it is necessary to create an > > > > > > AIDL > > > > > > file for Parcelable classes, but the AIDL tool does not work and > > > > > > provides the following error message: > > > > > > > MyParcelable.aidl:3 aidl can only generate code for interfaces, not > > > > > > parcelables, > > > > > > > MyParcelable.aidl:3 .aidl files that only declare parcelables don't > > > > > > need > > > > > > to go in the Makefile. > > > > > > > Could anybody provide some help/references? > > > > > > > Regards, > > > > > > > Stefano.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en