You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just playing around with the Vector2[] array for PhysicsFactory.createPolygonBody() when, for some configuration, the following Exception occurred:
Fatal Exception java.lang.NegativeArraySizeException
-1087563695
RenderOfPolyFixture.java line 22
org.andengine.extension.debugdraw.RenderOfPolyFixture.<init>
DebugRenderer.java line 232
org.andengine.extension.debugdraw.DebugRenderer$RenderOfBody.<init>
DebugRenderer.java line 77
org.andengine.extension.debugdraw.DebugRenderer.onManagedUpdate
Entity.java line 1405
org.andengine.entity.Entity.onUpdate
Entity.java line 1656
org.andengine.entity.Entity.onManagedUpdate
Scene.java line 283
org.andengine.entity.scene.Scene.onManagedUpdate
Entity.java line 1405
org.andengine.entity.Entity.onUpdate
Engine.java line 611
org.andengine.engine.Engine.onUpdateScene
Engine.java line 606
org.andengine.engine.Engine.onUpdate
LimitedFPSEngine.java line 57
org.andengine.engine.LimitedFPSEngine.onUpdate
Engine.java line 568
org.andengine.engine.Engine.onTickUpdate
Engine.java line 858
org.andengine.engine.Engine$UpdateThread.run
Could this have been an overflow? The size of my array was not negative, obviously. I was just testing arrays with 6 to 12 elements.
The text was updated successfully, but these errors were encountered:
As strange as it seems... I assume that this is an issue with DebugDraw. Are you aware of any (relatively simple) way to reproduce this issue, so I can try it on my end?
I was just playing around with the Vector2[] array for PhysicsFactory.createPolygonBody() when, for some configuration, the following Exception occurred:
Could this have been an overflow? The size of my array was not negative, obviously. I was just testing arrays with 6 to 12 elements.
The text was updated successfully, but these errors were encountered: