Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EditBox crash #18623

Open
angelvet opened this issue Jan 12, 2018 · 0 comments
Open

EditBox crash #18623

angelvet opened this issue Jan 12, 2018 · 0 comments

Comments

@angelvet
Copy link

angelvet commented Jan 12, 2018

  • cocos2d-x v3.16:
  • NDK version: r12b

Got an crash on one of user devices, unfortunately this is only info I have:

Android device: Samsung Galaxy Grand Prime (fortunave3g), 1024MB RAM, Android 4.4

java.lang.IndexOutOfBoundsException
android.text.SpannableStringBuilder.checkRange

StackTrace:

at android.text.SpannableStringBuilder.checkRange (SpannableStringBuilder.java:1016) at android.text.SpannableStringBuilder.getChars (SpannableStringBuilder.java:913) at android.text.SpannableStringBuilder.toString (SpannableStringBuilder.java:935) at org.cocos2dx.lib.Cocos2dxEditBoxHelper$1$1$1.run (Cocos2dxEditBoxHelper.java:135) at android.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1471) at android.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1248)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant