Skip to content
This repository was 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

@thaiquoctoanvn

Description

@thaiquoctoanvn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions