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

app crash #2

Closed
luckcoolla opened this issue Dec 22, 2015 · 1 comment
Closed

app crash #2

luckcoolla opened this issue Dec 22, 2015 · 1 comment

Comments

@luckcoolla
Copy link

12-22 18:49:23.012 16155-16345/... E/AndroidRuntime: FATAL EXCEPTION: GLThread 3428
Process: ..., PID: 16155
java.lang.IndexOutOfBoundsException: offset=15120, count=3, length=15120
at java.nio.Buffer.checkPutBounds(Buffer.java:179)
at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:378)
at java.nio.ByteBufferAsFloatBuffer.put(ByteBufferAsFloatBuffer.java:159)
at com.yalantis.starwars.render.Buffers.makeInterleavedBuffer(Buffers.java:30)
at com.yalantis.starwars.render.GenerateVerticesData$1.run(GenerateVerticesData.java:45)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1463)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Это случилось, когда я подложил TilesFrameLayout под основной экран программы, view там достаточно тяжелая - ViewPager внутри фрагмента, listView и SurfaceView. Есть ли варианты избежать падения?
It happened when I planted Tiles FrameLayout under the main program screen, view there is heavy - ViewPager inside track, listView and SurfaceView. Are there options to avoid the drop?

@defHLT
Copy link
Contributor

defHLT commented Dec 23, 2015

Thanks for reporting this.
Could you please provide more details? Does it crash consistently on every device you own? What specific attributes (like sw_numberOfTilesX) do you use? I can't reproduce this crash so far.

@defHLT defHLT closed this as completed Feb 22, 2016
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

2 participants