Strange libgdx TextField ui render error (IndexOutOfBoundsException)
问题 I get this error just once in a while when libgdx ui renders: 09-25 17:50:26.779 31171-32670/se.company.app.android E/AndroidRuntime﹕ FATAL EXCEPTION: GLThread 1126 Process: se.company.app.android, PID: 31171 java.lang.IndexOutOfBoundsException: index can't be >= size: 36 >= 36 at com.badlogic.gdx.utils.FloatArray.get(FloatArray.java:104) at com.badlogic.gdx.scenes.scene2d.ui.TextField.calculateOffsets(TextField.java:214) at com.badlogic.gdx.scenes.scene2d.ui.TextArea.calculateOffsets