Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

IllegalArgumentException while bindTextures #94

Open
aniruddh-deserve opened this issue Nov 23, 2021 · 0 comments
Open

IllegalArgumentException while bindTextures #94

aniruddh-deserve opened this issue Nov 23, 2021 · 0 comments

Comments

@aniruddh-deserve
Copy link

aniruddh-deserve commented Nov 23, 2021

I am facing intermediate issue in bindTexture
I am using BubblePicker in Recyclerview and this view is reloaded in pull to refresh.

Below is stack trace of exception

java.lang.IllegalArgumentException: length - offset < n < needed
at android.opengl.GLES20.glGenTextures(GLES20.java)
at com.igalata.bubblepicker.rendering.Item.bindTexture(SourceFile:252)
at com.igalata.bubblepicker.rendering.PickerRenderer.onDrawFrame(SourceFile:95)
at com.igalata.bubblepicker.rendering.Item.bindTextures
at com.igalata.bubblepicker.rendering.PickerRenderer.initializeItem(SourceFile:119)
at com.igalata.bubblepicker.rendering.PickerRenderer.initializeArrays(SourceFile:111)
at com.igalata.bubblepicker.rendering.PickerRenderer.initialize(SourceFile:105)
at com.igalata.bubblepicker.rendering.PickerRenderer.onSurfaceChanged(SourceFile:88)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1575)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)

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

No branches or pull requests

1 participant