Sudhir007 / andengine

Automatically exported from code.google.com/p/andengine
0 stars 0 forks source link

IndexOutOfBoundsException when using particle engine #43

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Simply using a particle engine, nothing fancy. The only thing that may be 
out of the ordinary is that I'm calling particleSystem.reset() on touch.

What version of the product are you using? On what operating system?
Latest as of July 18th.

Please provide any additional information below.
Full stacktrace, as shown in error report in android market:

java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257)
at java.util.ArrayList.get(ArrayList.java:311)
at 
org.anddev.andengine.entity.particle.ParticleSystem.onManagedUpdate(ParticleSyst
em.java:156)
at org.anddev.andengine.entity.Entity.onUpdate(Entity.java:882)
at org.anddev.andengine.entity.Entity.onManagedUpdate(Entity.java:1024)
at org.anddev.andengine.entity.scene.Scene.onManagedUpdate(Scene.java:250)
at org.anddev.andengine.entity.Entity.onUpdate(Entity.java:882)
at org.anddev.andengine.engine.Engine.onUpdateScene(Engine.java:488)
at org.anddev.andengine.engine.Engine.onUpdate(Engine.java:483)
at org.anddev.andengine.engine.Engine.onTickUpdate(Engine.java:459)
at org.anddev.andengine.engine.Engine$UpdateThread.run(Engine.java:685)

Original issue reported on code.google.com by cave...@gmail.com on 26 Jul 2011 at 4:06

GoogleCodeExporter commented 8 years ago
May be a duplicate of issue #41.

Original comment by cave...@gmail.com on 26 Jul 2011 at 4:07