When removing items on Bubble-Picker, The following errors occur

Viewed 215
  1. Introduction ( What is Bubble-Picker?)

1.1 Bubble-Picker with removing feature :

1.2 Bubble-Picker: An easy-to-use animation which can be used for content picking for Android Original source = https://github.com/igalata/Bubble-Picker

  1. Bug

If you build and run 1.1 Bubble-Picker(with removing feature), then you can see the bugs in android studio.

  1. More Detail.

In JBox2d, world.destroyBody() doesn't work normally. That is to say, I don't know how to remove circle-items from the world in jbox2d.

E/AndroidRuntime: FATAL EXCEPTION: GLThread 2044
Process: com.touchizen.bubblepicker, PID: 26298
java.lang.AssertionError
at org.jbox2d.collision.broadphase.DynamicTree.destroyProxy(DynamicTree.java:115)
at org.jbox2d.collision.broadphase.BroadPhase.destroyProxy(BroadPhase.java:104)
at org.jbox2d.dynamics.Fixture.destroyProxy(Fixture.java:314)
at org.jbox2d.dynamics.World.destroyBody(World.java:344)
at com.igalata.bubblepicker.physics.Engine.move(Engine.kt:66)
at com.igalata.bubblepicker.rendering.PickerRenderer.onDrawFrame(PickerRenderer.kt:74)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1571)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
I/Process: Sending signal. PID: 26298 SIG: 9

Does anyone know how to resolve this issue?

0 Answers
Related