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

java.lang.AssertionError: Error creating pooled object org.jbox2d.dynamics.contacts.PolygonContact #98

Open
thaiquoctoanvn opened this issue Dec 30, 2022 · 0 comments

Comments

@thaiquoctoanvn
Copy link

I have integrated your source code repo directly in my project and I got this error when running app in release variant. In debug variant, everything work fine. The error occurs at this line in the Engine file

image

And this is log of the error

E/AndroidRuntime: FATAL EXCEPTION: GLThread 196
    Process: io.edenxwhistle.fingerchallenge, PID: 4665
    java.lang.AssertionError: Error creating pooled object org.jbox2d.dynamics.contacts.PolygonContact
        at org.jbox2d.pooling.normal.MutableStack.extendStack(MutableStack.java:90)
        at org.jbox2d.pooling.normal.MutableStack.<init>(MutableStack.java:57)
        at org.jbox2d.pooling.normal.DefaultWorldPool.<init>(DefaultWorldPool.java:66)
        at org.jbox2d.dynamics.World.<init>(World.java:122)
        at com.igalata.bubblepicker.physics.Engine.<clinit>(Engine.kt:29)
        at com.igalata.bubblepicker.rendering.PickerRenderer.clear(PickerRenderer.kt:196)
        at com.igalata.bubblepicker.rendering.PickerRenderer.initialize(PickerRenderer.kt:81)
        at com.igalata.bubblepicker.rendering.PickerRenderer.onSurfaceChanged(PickerRenderer.kt:70)
        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1557)
        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)

Do you have any idea with this issue? I am looking forward to hearing from you soon.

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