- Forum posts: 1
Jul 27, 2015, 2:27:59 PM via Website
Jul 27, 2015 2:27:59 PM via Website
I have an issue in my android application, application crashes from the main activity and the error message is
Caused by: java.lang.RuntimeException: bogus span encoding 17831
at android.text.TextUtils$1.createFromParcel(TextUtils.java:802)...
this happens not on the all devices, as i can reproduce the error occurs frequently on nexus 5 android version 5.1.1, and also on samsung android version 5.1.1 the error exists.
I have researched a lot but no solution. It seems it was an android 4.0.* version issue but was fixed in latest android versions.
Can anyone help to find the problem?
Thanks
The expanded error message is:
Caused by: java.lang.RuntimeException: bogus span encoding 17831
at android.text.TextUtils$1.createFromParcel(TextUtils.java:802)
at android.text.TextUtils$1.createFromParcel(TextUtils.java:679)
at android.os.Parcel.readCharSequence(Parcel.java:1606)
at android.os.Parcel.readCharSequenceArray(Parcel.java:1823)
at android.os.Parcel.readValue(Parcel.java:2185)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2485)
at android.os.BaseBundle.unparcel(BaseBundle.java:221)
at android.os.Bundle.getParcelable(Bundle.java:755)
at android.app.Activity.onCreate(Activity.java:932)
at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:255)
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.