Narendrabrsoft / cocos2d-android-1

Automatically exported from code.google.com/p/cocos2d-android-1
0 stars 0 forks source link

Particlesystem broken? #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ParticleSystem throws fatal exception

What is the expected output? What do you see instead?
Beatiful Particle
Black screen and program crash

What version of the product are you using? On what operating system?
Latest version I loaded today from git.

Please provide any additional information below.
Today I loaded the latest cocos2d-android version from git. After that my app 
crashed everytime a particlesystem is initialised. With the older version (a 
few weeks old) the particlesystem worked:

LogCat:

06-16 16:51:17.054: WARN/dalvikvm(11147): threadid=9: thread exiting with 
uncaught exception (group=0x40015578)
06-16 16:51:17.054: ERROR/AndroidRuntime(11147): FATAL EXCEPTION: GLThread 10
06-16 16:51:17.054: ERROR/AndroidRuntime(11147): java.lang.NullPointerException
06-16 16:51:17.054: ERROR/AndroidRuntime(11147):     at 
org.cocos2d.particlesystem.CCQuadParticleSystem.postStep(CCQuadParticleSystem.ja
va:286)
06-16 16:51:17.054: ERROR/AndroidRuntime(11147):     at 
org.cocos2d.particlesystem.CCParticleSystem.update(CCParticleSystem.java:1155)
06-16 16:51:17.054: ERROR/AndroidRuntime(11147):     at 
org.cocos2d.actions.CCScheduler.tick(CCScheduler.java:221)
06-16 16:51:17.054: ERROR/AndroidRuntime(11147):     at 
org.cocos2d.nodes.CCDirector.drawCCScene(CCDirector.java:679)
06-16 16:51:17.054: ERROR/AndroidRuntime(11147):     at 
org.cocos2d.nodes.CCDirector.onDrawFrame(CCDirector.java:649)
06-16 16:51:17.054: ERROR/AndroidRuntime(11147):     at 
android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1388)
06-16 16:51:17.054: ERROR/AndroidRuntime(11147):     at 
android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1138)

Original issue reported on code.google.com by erdenkri...@googlemail.com on 16 Jun 2011 at 3:01

GoogleCodeExporter commented 8 years ago
Only particlesystem that started at the beginning of the programm throws an 
error.

Seems to me the same error as in issue 29.

Original comment by erdenkri...@googlemail.com on 17 Jun 2011 at 6:06