Hi,

Recently I updated my app to use ViewPager and changed my activities
to use fragments using the Compatibility Package (v4, r6). This has
worked well, however I have just received a bug report form the
Android Market Developer Console (see stack trace below). I am
somewhat at a loss as to how to go about figuring out how to fix this
(actually, as a start I'd like to know where it's going wrong).
Looking through the Android source code on grepcode.com  I was unable
to find any source files that resembled the stack trace (e.g. I
couldn't find the GlyphItem class, however the fact that it simply
says "SourceFile" is probably a clue).

Other than knowing that it's going wrong in a TextView I haven't a
clue. Any help or suggestions would be most welcome.

Thanks.


java.lang.ArrayIndexOutOfBoundsException
at android.text.GlyphItem.getWidth(SourceFile:418)
at android.text.Styled.drawItemRun(SourceFile:697)
at android.text.Layout.drawText2(SourceFile:3030)
at android.text.Layout.draw(SourceFile:498)
at android.widget.TextView.onDraw(SourceFile:4672)
at android.view.View.draw(SourceFile:6930)
at android.view.ViewGroup.drawChild(SourceFile:1677)
at android.view.ViewGroup.dispatchDraw(SourceFile:1404)
at android.view.View.draw(SourceFile:6933)
at android.view.ViewGroup.drawChild(SourceFile:1677)
at android.view.ViewGroup.dispatchDraw(SourceFile:1404)
at android.view.ViewGroup.drawChild(SourceFile:1675)
at android.view.ViewGroup.dispatchDraw(SourceFile:1404)
at android.view.View.draw(SourceFile:6933)
at android.support.v4.view.ViewPager.draw(ViewPager.java:1574)
at android.view.ViewGroup.drawChild(SourceFile:1677)
at android.view.ViewGroup.dispatchDraw(SourceFile:1404)
at android.view.ViewGroup.drawChild(SourceFile:1675)
at android.view.ViewGroup.dispatchDraw(SourceFile:1404)
at android.view.View.draw(SourceFile:6933)
at android.widget.FrameLayout.draw(SourceFile:388)
at android.view.ViewGroup.drawChild(SourceFile:1677)
at android.view.ViewGroup.dispatchDraw(SourceFile:1404)
at android.view.View.draw(SourceFile:6933)
at android.widget.FrameLayout.draw(SourceFile:388)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.draw(PhoneWindow.java:1911)
at android.view.ViewRoot.draw(SourceFile:1563)
at android.view.ViewRoot.performTraversals(SourceFile:1299)
at android.view.ViewRoot.handleMessage(SourceFile:1901)
at android.os.Handler.dispatchMessage(SourceFile:130)
at android.os.Looper.loop(SourceFile:351)
at android.app.ActivityThread.main(SourceFile:3850)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:538)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(SourceFile:901)
at com.android.internal.os.ZygoteInit.main(SourceFile:659)
at dalvik.system.NativeStart.main(Native Method)

-- 
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

Reply via email to